CVE-2026-9147

published 18 Jul 2026 · updated 20 Nov 2026

uproot before 5.7.5 Code Injection via TStreamerInfo Metadata

8.8HighCVSS 7.8EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.7.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
scikit-hep<5.7.55.7.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-9147 severity on Zeptric[![CVE-2026-9147](https://zeptric.io/badge/cve/CVE-2026-9147.svg)](https://zeptric.io/cve/CVE-2026-9147)