Skip to main content

PyTables EUVDEUVD-2026-134175

| CVE-2026-134019 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-11-24 security-advisories@github.com GHSA-3r7g-mq96-7hhc
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious HDF5 file with pickled attribute
  2. Exploit
    Deliver file into victim data pipeline or notebook
  3. Execution
    Victim opens file and reads metadata attribute
  4. Impact
    pickle.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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PyTables ≤ 3.11.1

Affected Packages

pypi tables no fix
euvd pytables no fix

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

Vendor (github) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1,526 pypi packages depend on tables (864 direct, 699 indirect)

Ecosystem-wide dependent count for version 3.11.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.9%
Top 44% exploitable
Prevalence
Medium
popular scientific Python HDF5 library, reach widened by pandas.read_hdf
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy