uproot dynamically generates Python class source code from ROOT TStreamerInfo records in a file...
Summary
Code injection reported (CVE-2026-9147). Successful exploitation can lead to full system takeover.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
uproot 5.7.4以前では、細工されたROOTファイルのTStreamerInfoメタデータを処理する際に、Pythonのコードが注入され実行される可能性があります。攻撃者が用意したROOTファイルを開いたり処理したりするアプリケーションが影響を受けます。修正版の有無については、最新の情報を確認してください。
uprootは、Pythonコードを動的に生成し、任意のコード実行を招く脆弱性がある。
uprootのROOTファイルのTStreamerInfoレコード処理中。
攻撃者が任意のPythonコードを注入し実行可能なため、高リスク。
ストリーマメタデータを安全に取り扱うためにrepr()や!rフォーマット指定子を使用して対策。
パッチが出るまでは、信頼できるソース以外のROOTファイルを開かないこと。
影響を受けるコードを含んでいるか、パッケージのバージョンを確認。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| scikit-hepuproot |
< 5.7.5→ 5.7.5 |
5.7.5 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com