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

- Severity: High 7.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/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.82%, higher than 55% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:57.301Z
- Modified: 2026-07-07T17:57:08.535Z
- Also known as: GHSA-47f6-5p7h-5f3h, PYSEC-2026-1436
- Weaknesses: CWE-36
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6854> (advisory)
- <https://github.com/h2oai/h2o-3> (package)
- <https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366> (web)
- <https://pypi.org/project/h2o> (package)
- <https://github.com/advisories/GHSA-47f6-5p7h-5f3h> (advisory)

## Sources

- CVE List: [CVE-2024-6854](https://www.cve.org/CVERecord?id=CVE-2024-6854), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-47f6-5p7h-5f3h](https://github.com/advisories/GHSA-47f6-5p7h-5f3h), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-6854](https://nvd.nist.gov/vuln/detail/CVE-2024-6854), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1436](https://osv.dev/vulnerability/PYSEC-2026-1436), CC-BY-4.0, modified 2026-07-07

---

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