H2O Vulnerable to Arbitrary File Overwrite via File Export
In h2oai/h2o-3 version 3.46.0, the endpoint for exporting models does not restrict the export location, allowing an attacker to export a model to any file in the server's file structure, thereby overwriting it. This vulnerability can be exploited to overwrite any file on the target server with a trained model file, although the content of the overwrite is not controllable by the attacker.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | ai.h2o:h2o-core | >= 3.32.1.1, <= 3.46.0 | no fix |
| Python (PyPI) | h2o | >= 3.32.1.1, <= 3.46.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6854
- https://github.com/h2oai/h2o-3
- https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366
- https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2
- https://pypi.org/project/h2o
- https://github.com/advisories/GHSA-47f6-5p7h-5f3h
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H- Weakness (CWE)
CWE-36- Platform
- Java / Kotlin (Maven), Python (PyPI)
- Package
ai.h2o:h2o-core, h2o- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-47f6-5p7h-5f3h - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1436 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: ai.h2o:h2o-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 11.2023 04.2026
- Without a fix
- 13
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 8
- Medium 1
Disclosures per year
- 2023: 1
- 2024: 2
- 2025: 10
- 2026: 2
-
H2O Vulnerable to Arbitrary File Overwrite via File Export this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.