Skip to content
High 8.5 Other

uproot dynamically generates Python class source code from ROOT TStreamerInfo records in a file...

CVE-2026-9147 First seen on SecPulse

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ファイルを開いたり処理したりするアプリケーションが影響を受けます。修正版の有無については、最新の情報を確認してください。

What is the problem

uprootは、Pythonコードを動的に生成し、任意のコード実行を招く脆弱性がある。

Affected scope

uprootのROOTファイルのTStreamerInfoレコード処理中。

Severity

攻撃者が任意のPythonコードを注入し実行可能なため、高リスク。

How to fix

ストリーマメタデータを安全に取り扱うためにrepr()や!rフォーマット指定子を使用して対策。

Workaround

パッチが出るまでは、信頼できるソース以外のROOTファイルを開かないこと。

Detection

影響を受けるコードを含んでいるか、パッケージのバージョンを確認。

Affected packages

PackageAffected → Fixed
scikit-hepuproot
< 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details