uproot 5.7.4 and prior Code Injection via TStreamerInfo Metadata
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-9147
Publisheduproot dynamically generates Python class source code from ROOT TStreamerInfo records in a file and compiles it at runtime. Some file-controlled streamer metadata fields (for example, streamer element names) are interpolated into the generated Python source without safe quoting via repr() or the !r format specifier. An attacker who can supply a crafted ROOT file can place Python expression-breaking content into a streamer metadata field. When uproot generates and invokes the corresponding reader method, the injected Python expression is evaluated in the context of the process opening the file, resulting in arbitrary Python code execution in applications that open or process attacker-controlled ROOT files with affected uproot code paths.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-9147 · CVE overview and exploitation status
cve-program · CVE-2026-9147
- https://github.com/SaiTeja-Erukude/CVE-2026-9147-uproot-rce
- https://github.com/scikit-hep/uproot5/security/advisories/GHSA-6946-mq52-g438
- https://github.com/scikit-hep/uproot5/commit/c045c2824295d907d2e705f31110c742928e50e7
- https://github.com/scikit-hep/uproot5
- https://www.vulncheck.com/advisories/uproot-and-before-code-injection-via-tstreamerinfo-metadata
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.