Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/scikit-hep/uproot5
- https://github.com/scikit-hep/uproot5/commit/c045c2824295d907d2e705f31110c742928
- https://github.com/scikit-hep/uproot5/security/advisories/GHSA-6946-mq52-g438
- https://www.vulncheck.com/advisories/uproot-and-before-code-injection-via-tstrea
FAQ
What is CVE-2026-9147?
CVE-2026-9147 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2026-9147?
CVE-2026-9147 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-9147?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.