Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious HDF5 file with pickled attribute
-
ExploitDeliver file into victim data pipeline or notebook
-
ExecutionVictim opens file and reads metadata attribute
-
Impactpickle.loads() executes attacker payload in process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must open an attacker-controlled HDF5 (.h5) file with PyTables (or via pandas.read_hdf()/HDFStore, which build on PyTables) AND read an affected metadata attribute through AttributeSet.__getattr__ or __getitem__. The specific trigger is PyTables' auto-unpickling heuristic: any numpy.bytes_ attribute whose value ends in b'.' is treated as a pickle and passed to pickle.loads() with no allowlist and no safe unpickler. Required condition: automatic unpickling must be enabled - it is ON by default in all versions through 3.12. LIMITING FACTORS: the attacker needs their file to reach a consumer that opens it (social delivery or an automated pipeline), and exploitation is prevented if the consumer opens files with allow_pickle=False, sets tables.parameters.ALLOW_PICKLE = False, or (for ptdump) omits --allow-pickle. There is no complete fixed release; these per-file/global opt-outs are the only mitigations the vendor documents. |
| Impact | This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk item, and multiple signals agree. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) describes trivially simple, no-privilege exploitation yielding full confidentiality, integrity and availability loss, and the vuln.today Decision label is act_now. The GHSA advisory supplies a complete, verified proof-of-concept (crafted on tables==3.11.1 / Python 3.12) whose stored pickle references os.system, so publicly available exploit code exists. The core aggravating factor is deployment reality: HDF5 is widely perceived as an inert, code-free data format, and pandas.read_hdf() sits on top of PyTables, so unpickling can be reached without the consumer ever calling PyTables directly. Two caveats temper raw CVSS: (1) no CISA KEV listing is present in the input and no EPSS score was provided, so there is no evidence of active in-the-wild exploitation yet - the PoC proves exploitability, not mass exploitation; and (2) the AV:N/UI:N rating assumes untrusted .h5 files are ingested automatically (data pipelines, ML services, notebooks) - in a purely interactive 'user opens a file they were sent' scenario this behaves closer to UI:R/AV:L, which would lower the real-world score. Net: treat as urgent because there is no fixed version and a working PoC exists, while recognizing exploitation requires the victim to open/read an attacker-supplied HDF5 file. |
| Exploit ScenarioDerived | An attacker crafts a malicious .h5 file whose metadata attribute is a pickle payload (e.g. os.system via __reduce__) and gets it into a data pipeline, ML service, shared dataset, or notebook that opens untrusted HDF5 files - directly or via pandas.read_hdf(). When the consumer opens the file and reads that one attribute, PyTables' auto-unpickling heuristic calls pickle.loads() and the payload executes in the consumer's process. A verified proof-of-concept (attacker/victim scripts) is published in the GHSA advisory and confirmed working on tables 3.11.1. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Arbitrary code execution in PyTables (the 'tables' package) affects every release through 3.12 when a consumer opens an attacker-supplied HDF5 file and reads a metadata attribute: the library's auto-unpickling heuristic treats any NumPy bytes scalar ending in b'.' as a pickle and passes it to pickle.loads() with no allowlist and no safe unpickler, so a single attribute read from a stock open_file() call executes attacker code in the reader's process. Because pandas.read_hdf() and pandas.HDFStore build on PyTables and read node attributes, the exposure extends into routine data-science, ML and notebook workflows that treat .h5 as a code-free format akin to .npy or Parquet. The vendor advisory ships a proof-of-concept verified against tables 3.11.1, automatic unpickling remains ON by default in 3.12 (only opt-in opt-outs were added), and no vendor-released patch fixes the default behavior as of this review.
RemediationAI
No vendor-released patch identified at time of analysis: the issue is unfixed by default in 3.12 and the project states a fix is only expected in PyTables 3.13. Upgrade to 3.12 or later to gain the vendor-documented opt-outs (commit 8ae7154191676c2ab12ba36450972d0be77efde3, advisory https://github.com/PyTables/PyTables/security/advisories/GHSA-3r7g-mq96-7hhc) and then explicitly disable automatic unpickling, since it is still ON by default in that release: pass allow_pickle=False to tables.open_file() for every untrusted file, or set tables.parameters.ALLOW_PICKLE = False so new file handles default to refusing unpickling, and use pandas.read_hdf(..., allow_pickle=False) or pandas.HDFStore(..., allow_pickle=False) for pandas-based pipelines. For ptdump, do not pass --allow-pickle on untrusted inputs, since the utility keeps unpickling disabled by default. Trade-offs: with unpickling disabled, reading any pickled attribute - including ObjectAtom/VLArray payloads that PyTables itself wrote - raises PickleNotAllowedError, so pipelines that legitimately round-trip Python objects through attributes will break and must migrate those values to primitive or explicitly typed storage; writing pickle data remains possible but emits PickleSecurityWarning. On 3.11.1 and earlier there is no in-library opt-out at all, so the only effective control there is to avoid opening untrusted .h5 files with PyTables or pandas in production - pre-screen or re-serialize them in a disposable, sandboxed converter process before the data reaches an application that reads attributes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-502 deserialization flaw rooted in how PyTables persists non-primitive Python objects as HDF5 attributes. In tables/attributeset.py a 'maybe_pickled' heuristic (roughly lines 326-330) assumes that any np.bytes_ attribute value ending in b'.' is a pickle stream, and the value is then handed to pickle.loads() at several sites (roughly lines 345, 358, 361, 374 and 377) reached from AttributeSet.__getattr__ (~line 308) and AttributeSet.__getitem__ (~line 592). There is no allowlist of types and no restricted unpickler, so the stored pickle can reference any callable importable on the victim (the advisory's payload uses os.system, requiring none of the attacker's classes on the victim side). HDF5 attributes are ubiquitous metadata, which makes the trigger surface broad, and the perception of HDF5 as a data-only container means consumers do not expect metadata reads to run code - the same pattern that led NumPy to switch allow_pickle to False after CVE-2019-6446. The trigger is not opening the file alone: the affected attribute must actually be read through AttributeSet.__getattr__ or __getitem__, and unpickling must still be enabled, which it is by default through 3.12. Version 3.12 adds the opt-out plumbing rather than a fix: a per-file allow_pickle argument on open_file(), a global parameters.ALLOW_PICKLE switch, a ContextVar-based _object_unpickling_allowed guard in tables/atom.py with a ptpickle wrapper module, new PickleNotAllowedError and PickleSecurityWarning exceptions, disable-by-default behavior in the ptdump utility unless --allow-pickle is given, and a warning when pickle data is written. The upstream release notes state the default is expected to become disabled in PyTables 3.13.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Untrusted-file ingestion (pipelines, pandas.read_hdf) justifies AV:N/UI:N; unauthenticated, default-enabled auto-unpickle gives AC:L/PR:N and arbitrary code execution gives C/I/A:H; in purely interactive open-the-file use UI:R/AV:L would be more honest.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
PyTables is a Python package to manage extremely large amounts of data. In 3.11.1 and earlier, tables/attributeset.py treats a NumPy bytes scalar ending in a period as a pickled Python object and calls pickle.loads() when the attribute is accessed through AttributeSet.__getattr__ or AttributeSet.__getitem__. Opening an attacker-controlled HDF5 file and reading an affected metadata attribute can execute attacker-controlled code in the consumer’s process. No fixed version is available as of this review.
Blast Radius
ecosystem impact- 1,526 pypi packages depend on tables (864 direct, 699 indirect)
Ecosystem-wide dependent count for version 3.11.1.
Articles & Coverage 1
Technical POC Analysis
CWE-502: Deserialization of Untrusted Data in tables/attributeset.py.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-134019 is a critical vulnerability in PyTables (tables) through version 3.12 that allows arbitrary code execution when a user opens a malicious HDF5 file, affecting any team that analyzes .h5 data, including data science, ML, and notebook users. Leadership should care because this turns a common, seemingly safe file format into an attack vector for remote code execution on analyst workstations and servers.
No vendor-released patch identified at time of analysis. Disable automatic unpickling (opt-out) in PyTables, restrict processing of HDF5 files to trusted sources, and sandbox HDF5 parsing where feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-134175
GHSA-3r7g-mq96-7hhc
NVD
CVE.org
EPSS
VulDB
Exploit-DB