Skip to main content

h5io CVE-2026-120499

| EUVDEUVD-2026-117602 HIGH
Eval Injection (CWE-95)
2026-11-05 disclosure@vulncheck.com
8.5
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious HDF5 file with 'timezone' node
  2. Delivery
    Deliver .h5 to victim (or via MNE-Python dataset)
  3. Exploit
    Victim calls read_hdf5 with default arguments
  4. Execution
    eval() runs embedded payload with builtins
  5. Impact
    Arbitrary 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

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

h5io 0.1.0 <0.2.6

Affected Packages

euvd h5io fix: 0.2.6

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

Vendor (vulncheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 18:17 EUVD
CVE Published
Nov 05, 2026 - 17:18 cve.org
HIGH 8.5

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche scientific Python HDF5 I/O library, reached mainly via MNE-Python
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

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.

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