H2O Vulnerable to Arbitrary File Overwrite
In h2oai/h2o-3 version 3.46.0, the /99/Models/{name}/json endpoint allows for arbitrary file overwrite on the target server. The vulnerability arises from the exportModelDetails function in ModelsHandler.java, where the user-controllable mexport.dir parameter is used to specify the file path for writing model details. This can lead to overwriting files at arbitrary locations on the host system.
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.10.4.1, <= 3.46.0 | no fix |
| Python (PyPI) | h2o | >= 3.10.4.1, <= 3.46.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8616
- https://github.com/h2oai/h2o-3
- https://github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java#L310
- https://huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a
- https://pypi.org/project/h2o
- https://github.com/advisories/GHSA-g48v-3p35-88jr
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Weakness (CWE)
CWE-73- 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-g48v-3p35-88jr - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1441 - 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 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.