← News

Yt: Code injection allows execution of Python code

HighAI-generated2026-11-21

CVE
CVE-2026-132751
Severity
High (CVSS 7.8)
Attack conditions
With local access to the device · No account needed · A user must take some action
Exploitation probability (EPSS)
0.2% (within 30 days; FIRST EPSS, 23 November 2026)

Summary

The yt library up to version 4.4.4 has a code injection flaw. An attacker can run arbitrary Python code by providing a specially crafted HDF5 file.

Details

According to the NVD record, the yt library (versions through 4.4.4) contains a code injection vulnerability. The flaw occurs when the SavedDataset._parse_parameter_file() function passes a con_args attribute from a .h5 file directly to eval() without restriction.

An attacker who can supply a malicious HDF5 file to the yt.load() function can cause the library to execute arbitrary Python code with the privileges of the user running the program.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 19 November 2026 NVD record published
  • 21 November 2026 This article was written