# CVE-2024-8616: Arbitrary File Overwrite in h2oai/h2o-3

- Severity: High 8.2 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:20.480Z
- Modified: 2026-07-07T17:56:21.858Z
- Also known as: GHSA-g48v-3p35-88jr, PYSEC-2026-1441
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- h2oai h2oai/h2o-3: from unspecified up to latest
- h2o (PyPI): from 3.10.4.1 up to 3.46.0
- ai.h2o:h2o-core (Maven): from 3.10.4.1 up to 3.46.0
- h2o h2o: 3.46.0

## Every score

- @huntr_ai: CVSS:3.0 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.0 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- PyPA Advisory Database: CVSS:3.0 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## 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)

## Sources

- CVE List: [CVE-2024-8616](https://www.cve.org/CVERecord?id=CVE-2024-8616), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-g48v-3p35-88jr](https://github.com/advisories/GHSA-g48v-3p35-88jr), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-8616](https://nvd.nist.gov/vuln/detail/CVE-2024-8616), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1441](https://osv.dev/vulnerability/PYSEC-2026-1441), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-8616 · Whole record: https://cve.day/CVE-2024-8616.json · Rebuilt by cve.day 2026-11-25T22:58:52.399Z
