CVE-2024-5986 — Vulnerability in h2o — CVE Details
H2O has an External Control of File Name or Path vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.90%). Schedule for your next planned update.
Does your project use an affected h2o version?
Paste your requirements.txt to check it for CVE-2024-5986 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A vulnerability in h2oai/h2o-3 version 3.46.0.1 allows remote attackers to write arbitrary data to any file on the server. This is achieved by exploiting the /3/Parse endpoint to inject attacker-controlled data as the header of an empty file, which is then exported using the /3/Frames/framename/export endpoint. The impact of this vulnerability includes the potential for remote code execution and complete access to the system running h2o-3, as attackers can overwrite critical files such as private SSH keys or script files.
Advisory Timeline
- First published February 2, 2026 (297 days ago).
- Last revised October 27, 2026 — 267 days after initial publication.
Affected Packages (2)
Affects 2 ecosystems: Maven (1), PyPI (1).
| Package | Fixed In |
|---|---|
| h2o PyPI · Affected: 3.10.0.10, 3.10.0.3, 3.10.0.6, 3.10.0.7 (+108 more) | Range-based data available |
| ai.h2o:h2o-core Maven · Affected: 0.1.10, 0.1.11, 0.1.12, 0.1.13 (+243 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-73
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-5986?
- H2O has an External Control of File Name or Path vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-5986?
- CVE-2024-5986 affects h2o and ai.h2o:h2o-core. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-5986 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 57.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-6544CRITICAL
H2O affected by a deserialization vulnerability
- CVE-2023-6569CRITICAL
External Control of File Name or Path in h2oai/h2o-3
- CVE-2024-10553CRITICAL
H2O Deserialization of Untrusted Data Vulnerability
- CVE-2024-45758CRITICAL
H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL
- CVE-2026-3960CRITICAL
- CVE-2025-6544CRITICAL
H2O affected by a deserialization vulnerability
- CVE-2024-10553CRITICAL
H2O Deserialization of Untrusted Data Vulnerability
- CVE-2024-45758CRITICAL
H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL