CVE-2026-132751
7.8HighPublished 19 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-95
What an attacker gets
Attackers can execute arbitrary Python code as the current user. This occurs when a user loads a malicious HDF5 file using yt.load().
Root cause
The SavedDataset._parse_parameter_file() function passes the con_args attribute from HDF5 files directly into an unrestricted eval() call.
Affected versions
yt through 4.4.4
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 4.4.4 that includes the patch. Until you can upgrade, do not load untrusted HDF5 files with yt.load().
$ pip install --upgrade ytAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
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/issues/5641
- https://www.vulncheck.com/advisories/yt-through-4.4.4-code-injection-via-con-args-eval-in-ytdata-hdf5