Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious HDF5 file with 'timezone' node
-
DeliveryDeliver .h5 to victim (or via MNE-Python dataset)
-
ExploitVictim calls read_hdf5 with default arguments
-
Executioneval() runs embedded payload with builtins
-
ImpactArbitrary code execution as the user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim read an attacker-controlled HDF5 file using h5io.read_hdf5 (or a downstream MNE-Python reader such as mne.read_bem_solution, read_beamformer, read_tfrs, read_source_estimate, or open_report) on h5io <= 0.2.5. On those vulnerable versions the primary path - a node with TITLE 'timezone' passed to eval() with builtins reachable (CWE-95) - fires with default arguments, so no special configuration is needed beyond opening the file. The class/use_state and pandas (pd_dataframe/pd_series) deserialization paths (CWE-502) likewise execute with defaults on <= 0.2.5; in the 0.2.6 fix these are gated behind the new allow_pickle=True, and the vendor explicitly states code execution requiring allow_pickle=True is not considered a vulnerability. The limiting factor is user interaction: the attacker must get the victim to open a crafted file; there is no remote/network trigger. Mitigation per the vendor is to upgrade to 0.2.6 (or, on <= 0.2.5, do not call read_hdf5 on untrusted files). |
| Impact | The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.5) describes a local, low-complexity, unauthenticated flaw whose only gating factor is passive user interaction (UI:P) - i.e., the victim opening an attacker-supplied file. This is not a remotely reachable service bug; it is a malicious-file deserialization/code-injection chain, so AV:L is correct and a 'network worm' reading of the 8.5 would overstate it. Signals are mixed in quality: a working proof-of-concept is published in the GHSA advisory and was tested by the reporter (CPython 3.12, h5py 3.16.0, h5io 0.2.5), and the vuln.today decision label is 'this_week', which raises priority above a routine patch but is not 'act_now'/'emergency'. There is no CISA KEV entry and no EPSS score in the provided data, so active in-the-wild exploitation is not established and the probabilistic exploitation signal is simply missing rather than low. Net: this is a genuine, high-impact (full code execution) issue for anyone who parses untrusted HDF5 with h5io or downstream libraries like MNE-Python, but its real-world reach is bounded by the need to trick a user into opening a crafted file and by the product's niche footprint - a real priority to patch this week, not an internet-facing emergency. |
| Exploit ScenarioDerived | An attacker crafts an HDF5 (.h5) file containing a node whose TITLE attribute is 'timezone' with Python source (e.g. __import__('os').system(...)) in its bytes, then delivers it to a researcher who opens it with h5io.read_hdf5 or an MNE-Python reader such as mne.read_bem_solution. On h5io <= 0.2.5 the bytes are passed to eval() with full builtins reachable, executing the attacker's code with the victim's privileges. A benign but functional proof-of-concept is published in the GHSA advisory and was reported as tested. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Arbitrary Python code execution in h5io 0.2.5 and earlier is triggered when a victim opens a crafted HDF5 file with read_hdf5(), or with a library built on it such as MNE-Python's read_bem_solution, read_beamformer, read_tfrs, read_source_estimate or open_report, because nodes titled 'timezone' are rebuilt with eval() while class, use_state and pandas nodes import attacker-named modules or unpickle data. The supplied CVSS 4.0 vector (AV:L/AC:L/PR:N/UI:P, base 8.5) and the independent CVSS 3.1 assessment (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) agree that no credentials are required and the only gate is user interaction with a malicious file, with no remote or network trigger. No CISA KEV entry or confirmed active exploitation is recorded, but the vendor advisory publishes a working proof-of-concept payload tested against h5io 0.2.5 (a public PoC reference exists; it is a benign marker-file demonstration rather than a weaponized exploit), and the issue carries a 'this_week' remediation priority.
RemediationAI
Upgrade h5io to 0.2.6 or later, which replaces the eval()-based timezone reconstruction with a strict AST parser and adds a keyword-only allow_pickle=False parameter that blocks class, use_state and pandas nodes before any module import happens; details and the fix commit are at https://github.com/h5io/h5io/security/advisories/GHSA-vwvw-f6v4-w737, https://github.com/h5io/h5io/releases/tag/h5io-0.2.6 and https://github.com/h5io/h5io/commit/afff1d61b31790f8c27e6c577bb7703eb1883ddd. Be aware this is a breaking change: files containing classes, use_state objects or pandas objects will now raise unless read_hdf5(..., allow_pickle=True) is passed explicitly, and doing so reintroduces the code-execution risk because those nodes import modules and unpickle data named by the file, so reserve it for trusted sources only. Operators who cannot immediately upgrade to 0.2.6 should, on 0.2.5 and earlier, avoid calling read_hdf5 (or MNE-Python readers that use it) on files from untrusted sources, which is the only mitigation the vendor offers. The vendor explicitly states that code execution requiring allow_pickle=True is not considered a vulnerability in h5io, so post-upgrade exposure is limited to trusted-file workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
h5io serializes Python objects into HDF5 containers and records each node's intended Python type in the node's TITLE attribute; _triage_read() dispatches on that attribute, and in 0.2.5 and earlier both the TITLE and the node's stored bytes are fully controlled by whoever wrote the file. Three sinks are reachable at any depth through the public read_hdf5() with default arguments: (1) a 'timezone' node's bytes are passed to eval() with globals {"datetime": datetime}; because that dict lacks a __builtins__ key, CPython inserts the real builtins and __import__, open and file-system access become reachable - the CWE-95 code-injection class, and the advisory notes that setting __builtins__ to {} would still be escapable via attribute-traversal gadgets; (2) 'class' nodes and custom-object groups let _import_class() call importlib.import_module() on a module name read from the file, running that module's import-time code, after which __new__/__setstate__ are invoked with attacker-chosen state; (3) 'pd_dataframe'/'pd_series' nodes are handed to pandas.read_hdf, which unpickles object columns through PyTables - both (2) and (3) being CWE-502 deserialization of untrusted data. The 0.2.6 fix replaces the eval branch with a strict AST-based timezone parser that accepts only datetime.timezone.utc and datetime.timezone(datetime.timedelta(<int literals>)[, '<str>']), so timezones written by older versions still load, and adds a keyword-only allow_pickle=False argument that refuses class, use_state and pandas nodes before any import occurs.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Code executes only when a victim opens an attacker-supplied file, so AV:L and UI:R; no privileges needed (PR:N) and full code execution yields C/I/A:H with no scope change.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
h5io before 0.2.6 contains a code injection vulnerability in read_hdf5() that allows attackers to execute arbitrary code by supplying a crafted HDF5 file. Attackers can store Python code in a node titled timezone, which _triage_read() passes to eval() with builtins reachable, name an arbitrary module in class or custom-object nodes that _import_class() imports, or place pickled objects in pd_dataframe or pd_series nodes that pandas deserializes on read.
Articles & Coverage 1
Technical POC Analysis
Advisory: GHSA-vwvw-f6v4-w737 (h5io, published 2026-11-05, credits r3vpwnx and tritsystem).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in the h5io Python library (versions 0.2.5 and earlier) allows arbitrary code execution when a user opens a malicious HDF5 file, affecting any application built on it-including widely used neuroscience tools like MNE-Python. This poses a significant risk to research and data science teams who routinely exchange HDF5 files, as a single opened file could compromise a workstation and potentially lead to data theft or further network intrusion.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting HDF5 file ingestion to trusted sources, running affected applications in isolated environments (e.g., containers or virtual machines with minimal privileges), and disabling or avoiding the use of read_hdf5 and related MNE-Python functions until a patch is available.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-117602
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB