H2O-3GHSA-g48v-3p35-88jr
H2O Vulnerable to Arbitrary File Overwrite
High8.2CVE-2024-8616 · Published Mar 20, 2025 · updated Jul 7, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| h2o PyPI | >= 3.10.4.1, <= 3.46.0 | No fix yet |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-73
- Also known as
- CVE-2024-8616, PYSEC-2026-1441
More H2O-3 advisories
All H2O-3| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 202025 | H2O Vulnerable to Denial of Service (DoS) via `HEAD` Request | High7.5 | No fix yet |
| Mar 202025 | H2O Vulnerable to Denial of Service (DoS) via Large GZIP Parsing | High7.5 | No fix yet |
| Mar 202025 | H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint | High7.5 | No fix yet |
| Mar 202025 | H2O Vulnerable to Arbitrary File Overwrite via File Export | High7.1 | No fix yet |
| Mar 202025 | H2O Vulnerable to Execution of Arbitrary Files | Medium6.5 | No fix yet |
| Mar 202025 | H2O Vulnerable to Denial of Service (DoS) via `/3/ParseSetup` Endpoint | High7.5 | No fix yet |