yt through 4.4.4 Code Injection via con_args eval() in ytdata HDF5
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 18, 2026
Description
yt through 4.4.4 contains a code injection vulnerability that allows attackers to execute Python code by supplying a crafted con_args attribute in a ytdata HDF5 file. SavedDataset._parse_parameter_file() passes con_args to eval() unrestricted, so loading a malicious .h5 file with yt.load() runs attacker code as the user.
| Product | Versions |
|---|---|
| yt yt-project | 4.4.4 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- https://github.com/yt-project/yt/issues/5641Issue Tracker
- https://github.com/yt-project/yt/commit/ce997aebb89423a6f5d86c3bda24094e908d3c2dIssue TrackerPatch
- https://github.com/yt-project/yt/blob/yt-4.4.4/yt/frontends/ytdata/data_structures.py#L52-L56Technical Details
- VulnCheck Advisory: yt through 4.4.4 Code Injection via con_args eval() in ytdata HDF5Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.