CVE-2026-9147CWE-94code-injection

CVE-2026-9147

High · published July 18, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
12.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00224 · 12.3th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-07-18T17:17Z
References (5)
EPSS history
Timeline
  • 18 JUL 12:46Z
    uproot 5.7.4 and prior Code Injection via TStreamerInfo Metadata
    cvelistv5