GHSA-3r7g-mq96-7hhc: PyTables: Remote code execution via auto-unpickled HDF5 attributes
- Identifiers
- CVE-2026-134019GHSA-3r7g-mq96-7hhc
- Published
- Record updated
- Affected
- tables <= 3.11.1
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%
Summary
PyTables auto-unpickles HDF5 attributes that look like pickles, using a heuristic that treats any numpy.bytes_ value ending in b'.' as a pickle, with no allowlist or safe unpickler. Affected versions are tables (PyTables) <= 3.12, and pandas.read_hdf() inherits the exposure. Opening an untrusted .h5 file and reading one attribute runs attacker-controlled code, as shown by a proof of concept on tables==3.11.1 that creates a sentinel file.
Mitigation
v3.12 adds an opt-out via allow_pickle=False per file (tables.open_file) or tables.parameters.ALLOW_PICKLE = False globally, and pandas.read_hdf(..., allow_pickle=False) or pandas.HDFStore(..., allow_pickle=False) for pandas. Automatic unpickling remains enabled by default in v3.12 and is expected to be disabled by default in v3.13.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- tablesPyPINo LLM dependency detected · 2 tracked dependents
Related items
- MediumCVE-2026-136998: Docker Sandboxes vulnerability lets malicious AI agent kits steal developers' API keys | Endor LabsSimilar attack · Endor Labs Blog
- HighCVE-2026-139989: Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to…Similar attack · NVD/CVE Database
- HighCVE-2026-138444: CHGNet insecure deserialization in from_file() via crafted model fileSimilar attack · NVD/CVE Database
- HighCVE-2026-138118: HyperSpy insecure deserialization via crafted .hspy or .zspy filesSimilar attack · NVD/CVE Database
- HighCVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows…Similar attack · NVD/CVE Database