Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck
CVE-2026-9147uproot 5.7.4 and prior Code Injection via TStreamerInfo Metadata
High 7.8
In plain English
A high-severity code injection in uproot from scikit-hep. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
uproot 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| scikit-hep | uproot | 0 – through 5.7.4 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Researcher Disclosure technical-description, exploit
- GitHub Security Advisory (GHSA-6946-mq52-g438) vendor-advisory
- Patch Commit patch
- Product product
- https://www.vulncheck.com/advisories/uproot-and-before-code-injection-via-tstreamerinfo-metadata third-party-advisory