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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| yt-project | yt | <= 4.4.4 |
References
- https://github.com/yt-project/yt/blob/yt-4.4.4/yt/frontends/ytdata/data_structures.py#L52-L56
- https://github.com/yt-project/yt/commit/ce997aebb89423a6f5d86c3bda24094e908d3c2d
- https://github.com/yt-project/yt/commit/ce997aebb89423a6f5d86c3bda24094e908d3c2d
- https://github.com/yt-project/yt/commit/ce997aebb89423a6f5d86c3bda24094e908d3c2d
- https://github.com/yt-project/yt/commit/ce997aebb89423a6f5d86c3bda24094e908d3c2d
- https://github.com/yt-project/yt/issues/5641
- https://www.vulncheck.com/advisories/yt-through-4.4.4-code-injection-via-con-args-eval-in-ytdata-hdf5
- https://github.com/yt-project/yt/issues/5641
Timeline
- Published
- Nov 19, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Awaiting Analysis