CVEvulnerability
CVE-2026-9147
8.5 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-07-18
- Last modified
- 2026-10-24
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.5 HIGH — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
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.
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/SaiTeja-Erukude/CVE-2026-9147-uproot-rce github.com
- https://github.com/scikit-hep/uproot5 github.com
- https://github.com/scikit-hep/uproot5/commit/c045c2824295d907d2e705f31110c742928e50e7 github.com
- https://github.com/scikit-hep/uproot5/security/advisories/GHSA-6946-mq52-g438 github.com
- https://www.vulncheck.com/advisories/uproot-and-before-code-injection-via-tstreamerinfo-metadata www.vulncheck.com