CVE-2026-134019 Security Alert: CRITICAL Vulnerability
Urgent: CVE-2026-134019 requires immediate attention.
· 7 min read
Executive Summary
CVE-2026-134019 is a critical remote code execution flaw in PyTables (tables) affecting versions <= 3.12. A malicious .h5 file can trigger code execution simply by being opened and having a metadata attribute read. This is especially dangerous for solo developers and small teams because HDF5 files are often treated as “safe data,” and the vulnerable behavior is on by default for compatibility.
Why this matters now: if your app, notebook, pipeline, or API ingests untrusted HDF5 files directly or via pandas.read_hdf(), an attacker can turn a routine read into arbitrary code execution.
Immediate Action
- Upgrade PyTables immediately to the first fixed release available in your environment. If you are on
tables<=3.12, treat it as vulnerable until you confirm the fix. - Disable pickle loading for untrusted files right away: use
allow_pickle=Falsewhen opening HDF5 files. - Block or quarantine untrusted
.h5uploads until patched. If you cannot patch today, isolate the service that reads them. - Rollback or pause ingestion jobs that process third-party HDF5 files, especially in notebooks, ML training jobs, and ETL workers.
- Review vendor guidance and release notes for PyTables and pandas: PyTables advisory / release notes, pandas advisory / release notes.
Affected Versions
tables<=3.12vulnerable; upgrade totables>=3.13(TODO: confirm fixed version in your environment).pandasis affected when usingread_hdf()orHDFStorebacked by vulnerable PyTables; upgrade pandas only after confirming the bundled/installed PyTables is fixed.tables==3.12includesallow_pickle=Falsesupport, but automatic unpickling remains enabled by default unless you explicitly disable it.- Safe usage on vulnerable releases: open untrusted files with
allow_pickle=False.
Resolution Guide
Python / pip
python -m pip install --upgrade tables
python -m pip show tables
Python / pipx (for CLI tools that bundle PyTables)
pipx upgrade <your-tool-name>
pipx runpip <your-tool-name> install --upgrade tables
Python code hardening
import tables
with tables.open_file("untrusted.h5", mode="r", allow_pickle=False) as h5file:
# read only trusted metadata / data
pass
pandas hardening
import pandas as pd
df = pd.read_hdf("untrusted.h5", key="data", allow_pickle=False)
Global hardening for new file opens
import tables
tables.parameters.ALLOW_PICKLE = False
Minimal defensive patch pattern
def safe_open_hdf(path):
import tables
return tables.open_file(path, mode="r", allow_pickle=False)
npm / yarn / pnpm
This issue is in Python, not JavaScript. If your app shells out to Python or ships a Python worker, update that Python environment; there is no direct npm fix.
Maven / Gradle
This issue is not in Java dependencies. If your Java service invokes Python or processes HDF5 through a Python sidecar, patch the Python runtime and container image.
apt / yum
If your OS packages PyTables, update the system package after the vendor ships a fixed build:
# Debian/Ubuntu
sudo apt update
sudo apt install --only-upgrade python3-tables
# RHEL/CentOS/Fedora
sudo yum update python3-tables
# or
sudo dnf upgrade python3-tables
Docker image tags
# Rebuild on a patched base image and pin a fixed tables version
FROM python:3.12-slim
RUN python -m pip install --no-cache-dir --upgrade "tables>=TODO_FIXED_VERSION"
Detection & Verification
Check installed version
python -m pip show tables
python -c "import tables; print(tables.__version__)"
python -c "import pandas as pd; print(pd.__version__)"
Find risky code paths
grep -RIn "read_hdf\|open_file(.*allow_pickle\|HDFStore\|_v_attrs" .
Audit dependencies
python -m pip install pip-audit
pip-audit
Verify the fix
python - <<'PY'
import tables
print("tables:", tables.__version__)
with tables.open_file("test.h5", mode="r", allow_pickle=False) as h5:
print("allow_pickle disabled OK")
PY
Behavioral check: after patching, opening a malicious file should no longer auto-unpickle metadata attributes. If your workflow depends on reading legacy pickled attributes, handle them only from trusted files and keep allow_pickle=False for everything else.
Risk and Impact
Exploitation can lead to arbitrary code execution the moment an attacker-controlled HDF5 file is opened and a metadata attribute is read. That means a single upload, notebook cell, ETL record, or model artifact can compromise the process running it.
The blast radius is broad because HDF5 is commonly treated as a passive data format. In small teams, the most likely impact is credential theft, data exfiltration, or lateral movement from a developer laptop, CI worker, or production data service.