Loading...
Skip to main content

CVE-2024-5986 — Vulnerability in h2o — CVE Details

CRITICAL

H2O has an External Control of File Name or Path vulnerability

Published February 2, 2026Updated June 29, 2026Source: osv

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 (252 days ago).
  • Last revised June 29, 2026 — 147 days after initial publication.

Affected Packages (2)

Affects 2 ecosystems: maven (1), pypi (1).

PackageEcosystemAffectedFixed In
h2o
pypi
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
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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-5986 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-wj3h-wx8g-x699
PYSEC-2026-353

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies