CVE-2026-9147 HIGH

CVE-2026-9147: uproot 5.7.4 and prior Code Injection via TStreamerInfo Metadata

Vendor Scikit-Hep
Product uproot
Weakness CWE-94 · Code injection
Published July 18, 2026
Last update July 21, 2026

CVSS base score

8.5/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 18, 2026 CVE published
July 21, 2026 Record updated

Related vulnerabilities

04Related CVE