# CVE-2024-5986: Remote Arbitrary File Write with Arbitrary Data in h2oai/h2o-3

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-02-02T10:36:24.550Z
- Modified: 2026-10-27T16:45:03.593Z
- Also known as: GHSA-wj3h-wx8g-x699, PYSEC-2026-353
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A vulnerability in h2oai/h2o-3 version 3.46.0.1 allows remote attackers to write arbitrary data to any file on the server. This is achieved by exploiting the `/3/Parse` endpoint to inject attacker-controlled data as the header of an empty file, which is then exported using the `/3/Frames/framename/export` endpoint. The impact of this vulnerability includes the potential for remote code execution and complete access to the system running h2o-3, as attackers can overwrite critical files such as private SSH keys or script files.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://huntr.com/bounties/64ff5319-6ac3-4447-87f7-b53495d4d5a3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5986> (advisory)
- <https://github.com/h2oai/h2o-3> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-353.yaml> (web)
- <https://pypi.org/project/h2o> (package, web)
- <https://github.com/advisories/GHSA-wj3h-wx8g-x699> (advisory)

## Sources

- CVE List: [CVE-2024-5986](https://www.cve.org/CVERecord?id=CVE-2024-5986), CVE Terms of Use, modified 2026-02-02
- GitHub Advisory Database: [GHSA-wj3h-wx8g-x699](https://github.com/advisories/GHSA-wj3h-wx8g-x699), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-5986](https://nvd.nist.gov/vuln/detail/CVE-2024-5986), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-353](https://osv.dev/vulnerability/PYSEC-2026-353), CC-BY-4.0, modified 2026-07-01

---

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