CVE-2024-5986: H2O has an External Control of File Name or Path vulnerability
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.
Published Feb 2, 2026
Affected packages
ai.h2o:h2o-core
- Ecosystem
- Maven
- Affected
- <= 3.46.0.1
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=ai.h2o:h2o-core
h2o
- Ecosystem
- PyPI
- Affected
- <= 3.46.0.1
- Fixed in
- No patched version yet
- Check
pip show h2o
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
