{"id":"CVE-2024-5986","aliases":["PYSEC-2026-353"],"url":"https://o3.security/vulnerability/CVE-2024-5986","summary":"H2O has an External Control of File Name or Path vulnerability","details":"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":"2026-02-02T12:31:14Z","modified":"2026-06-29T12:26:47.290559833Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"ai.h2o:h2o-core","fixedVersion":null},{"ecosystem":"PyPI","name":"h2o","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5986"},{"type":"PACKAGE","url":"https://github.com/h2oai/h2o-3"},{"type":"WEB","url":"https://huntr.com/bounties/64ff5319-6ac3-4447-87f7-b53495d4d5a3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-29T12:26:47.290559833Z"}}