Arbitrary Code Injection Affecting uproot package, versions [,5.7.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-UPROOT-18508056
  • published2 Aug 2026
  • disclosed18 Jul 2026
  • creditUnknown

Introduced: 18 Jul 2026

CVE-2026-9147  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade uproot to version 5.7.5 or higher.

Overview

uproot is a ROOT I/O in pure Python and NumPy.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the TStreamerInfo metadata processing. An attacker can execute arbitrary Python code by supplying a crafted ROOT file containing malicious streamer metadata fields, which are interpolated into dynamically generated Python source code without proper sanitization.

CVSS Base Scores

version 4.0
version 3.1