RCE in Scikit-Hep Uproot
CVE-2026-9147
- CVSS v3
- 7.8 High
- Public exploits
- 1 repository
- EPSS
- 0.002 · 13.1th percentile
- Published
- 2026-07-18
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 13.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Scikit-Hep Uproot — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- SaiTeja-Erukude/CVE-2026-9147-uproot-rce (last pushed 2026-10-11): uproot <= 5.7.4 code injection via unsafe Python source generation from ROOT TStreamerInfo metadata.
References
- github.com/scikit-hep/uproot5/security/advisories/GHSA-6946-mq52-g438 (issue-tracking, vendor-advisory)
- github.com/scikit-hep/uproot5/commit/c045c2824295d907d2e705f31110c742928e50e7 (issue-tracking, patch)
- github.com/scikit-hep/uproot5 (product)
- www.vulncheck.com/advisories/uproot-and-before-code-injection-via-tstreamerinfo… (third-party-advisory)
- github.com/SaiTeja-Erukude/CVE-2026-9147-uproot-rce (technical-description, exploit)