CVE-2026-132751: yt through 4.4.4 Code Injection via con_args eval() in ytdata HDF5
yt through 4.4.4 contains a code injection vulnerability that allows attackers to execute Python code by supplying a crafted conargs attribute in a ytdata HDF5 file. SavedDataset.parseparameterfile() passes conargs to eval() unrestricted, so loading a malicious .h5 file with yt.load() runs attacker code as the user.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of yt through version 4.4.4 are exposed when they load a crafted ytdata HDF5 (.h5) file. Code executes with the permissions of the user running yt.
What must an attacker do to exploit it?
An attacker must provide a ytdata HDF5 file containing a malicious con_args attribute and induce a user to load it with yt.load(). No existing privileges are required, but user interaction is required to open the file.
What can be done if an update is not immediately available?
Do not load ytdata HDF5 files from untrusted or unverifiable sources. Treat externally supplied .h5 files as potentially capable of executing Python code when loaded by yt.