CVE-2024-5986
CRITICAL 9.1CVSS 3.0H2O has an External Control of File Name or Path vulnerability
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.
- Published
- 2 Feb 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-73
- Also known as
- GHSA-wj3h-wx8g-x699PYSEC-2026-353
- Sources
- NVDJSONOSV GHSA-wj3h-wx8g-x699JSONOSV PYSEC-2026-353JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | ai.h2o:h2o-core | <= 3.46.0.1 | |
| OSV | PyPI | h2o | <= 3.46.0.1 |
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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-wj3h-wx8g-x699 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Feb 2026)