External risk intelligence

PyTables Arbitrary Code Execution via Unsafe Pickle Deserialization

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-134019

PyTables is a Python library used for data management and analysis. The vulnerability requires the application to open and process an attacker-controlled HDF5 file. This is a file-parsing/data-processing function typically performed locally or within internal application logic, rather than an internet-facing network service, gateway, or public-facing endpoint.

Deserialization

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability exists in the PyTables Python package, which is used for managing large datasets. This issue could allow an attacker to execute arbitrary code if a user opens a specially crafted data file. The primary concern is confirming if PyTables is in use and if it processes external data files.

  • Arbitrary code execution via malicious data files.
  • Potential for remote code execution in data processing.
  • Confirm relevance and assess potential exposure.

Attack Path

How an attacker could exploit the issue

An attacker could craft a malicious HDF5 file containing specially formatted metadata. When a user or application opens this file with a vulnerable version of PyTables, accessing specific attributes in the file triggers the vulnerability. This can lead to the execution of arbitrary code within the context of the application processing the file.

  • Attacker controls HDF5 file.
  • Accessing file metadata triggers vulnerability.
  • Arbitrary code execution is possible.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could impact applications that process HDF5 files using the PyTables package. When processing a specially crafted HDF5 file, an attacker could execute arbitrary code within the application's process, potentially affecting the integrity and availability of the application and its data. This is supported when the application opens an attacker-controlled HDF5 file and reads a specific metadata attribute.

  • Application process and data.
  • Processing malicious HDF5 file attributes.
  • Arbitrary code execution.

Operational Fix

Recommended remediation, mitigation, and detection steps

Application owners and platform teams are primarily responsible for addressing this vulnerability, as it affects the PyTables Python package used for data management. The immediate first step is to identify all instances of PyTables within your environment, confirm their reachability and criticality, and then coordinate with accountable owners to plan a remediation strategy, given that no fixed version is currently available.

  • Confirm PyTables deployment and reachability.
  • Identify accountable application/platform owners.
  • Plan risk-based remediation actions.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is PyTables?

PyTables is a Python library designed to manage and organize massive datasets. It is frequently used in scientific research, data analysis, and engineering applications to store and retrieve information efficiently in the HDF5 file format, which acts as a structured container for large amounts of complex data.

What is the vulnerability in CVE-2026-134019?

This vulnerability is classified as Deserialization of Untrusted Data (CWE-502). It occurs because the library uses the pickle module to interpret specific metadata attributes within an HDF5 file. If a file is maliciously crafted, the software may inadvertently execute hidden instructions contained within those attributes instead of just reading the data.

How is this vulnerability triggered?

An attacker must provide a specially crafted HDF5 file that your application then opens and processes. The flaw is triggered specifically when the library attempts to read certain metadata attributes from that file. Simply having the library installed is not enough; the bug does not trigger unless the software actively parses a malicious file provided by an untrusted source.

How relevant is this CVE for my environment?

Halo Surface Signal indicates this is unlikely to affect public-facing services. Because PyTables is a data-processing library, it usually runs as part of internal application logic rather than acting as an internet-exposed network service. Relevance depends on whether your internal systems process files originating from external or untrusted users.

What should I do to secure my applications?

Start by auditing your environment to identify every application that uses PyTables to parse external data. Since no patched version is currently available, you must restrict the ability of your applications to process HDF5 files from unknown or untrusted sources. Work with your development teams to implement strict input validation or isolate data processing tasks until an update is released.

References