CVE-2024-8616
HIGH 8.2CVSS 3.0H2O 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.
- Published
- 20 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-73
- Also known as
- GHSA-g48v-3p35-88jrPYSEC-2026-1441
- Sources
- NVDJSONOSV GHSA-g48v-3p35-88jrJSONOSV PYSEC-2026-1441JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 8.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | h2o | h2ocpe:2.3:a:h2o:h2o:3.46.0:*:*:*:*:*:*:* |
= 3.46.0 | |
| OSV | PyPI | h2o | >= 3.10.4.1, <= 3.46.0 | |
| OSV | Maven | ai.h2o:h2o-core | >= 3.10.4.1, <= 3.46.0 |
References
- https://huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8616 · ADVISORY
- https://github.com/h2oai/h2o-3 · PACKAGE
- https://github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java#L310 · WEB
- https://pypi.org/project/h2o · PACKAGE
- https://github.com/advisories/GHSA-g48v-3p35-88jr · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)