{"schema":"threatline.record/2","record":{"id":"CVE-2024-5986","aliases":["GHSA-wj3h-wx8g-x699","PYSEC-2026-353"],"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.","categories":["Libraries & packages"],"product":"ai.h2o:h2o-core","vendor":"h2oai","ecosystem":"maven","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","source_modified_at":"2026-10-27T16:30:55Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"maven","name":"ai.h2o:h2o-core"},"range":"<= 3.46.0.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","source_modified_at":"2026-10-27T16:30:55Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"h2o"},"range":"<= 3.46.0.1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-5986","source_modified_at":"2026-02-02T13:13:23.762Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"h2oai/h2o-3","vendor":"h2oai","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wj3h-wx8g-x699","source_modified_at":"2026-10-27T16:45:03.593504579Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"ai.h2o:h2o-core","ecosystem":"Maven","purl":"pkg:maven/ai.h2o/h2o-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.46.0.1"}]}],"versions":["0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.19","0.1.20","0.1.21","0.1.22","0.1.23","0.1.24","0.1.25","0.1.3","0.1.3.1","0.1.4","0.1.5","0.1.6","0.1.8","0.1.9","0.2.3.5","0.2.3.6","0.3.0.2","3.0.0.12","3.0.0.16","3.0.0.18","3.0.0.19","3.0.0.22","3.0.0.25","3.0.0.26","3.0.0.30","3.0.0.5","3.0.0.8","3.0.1.2","3.0.1.3","3.0.1.4","3.10.0.1","3.10.0.10","3.10.0.2","3.10.0.3","3.10.0.4","3.10.0.5","3.10.0.6","3.10.0.7","3.10.0.8","3.10.0.9","3.10.1.1"]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wj3h-wx8g-x699","source_modified_at":"2026-10-27T16:45:03.593504579Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"h2o","ecosystem":"PyPI","purl":"pkg:pypi/h2o"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.46.0.1"}]}],"versions":["3.10.0.10","3.10.0.3","3.10.0.6","3.10.0.7","3.10.0.8","3.10.3.3","3.10.3.4","3.10.4.1","3.10.4.2","3.10.4.3","3.10.4.4","3.10.4.6","3.10.4.8","3.16.0.1","3.16.0.2","3.16.0.3","3.16.0.4","3.18.0.1","3.18.0.10","3.18.0.11","3.18.0.2","3.18.0.3","3.18.0.4","3.18.0.5","3.18.0.6","3.18.0.7","3.18.0.8","3.18.0.9","3.20.0.4","3.20.0.5","3.20.0.6","3.20.0.7","3.20.0.8","3.22.0.1","3.22.0.2","3.22.0.3","3.22.0.4","3.22.0.5","3.22.1.1","3.22.1.2","3.22.1.3","3.22.1.4","3.22.1.5","3.22.1.6","3.24.0.1","3.24.0.2","3.24.0.3","3.24.0.4","3.24.0.5","3.26.0.1"]}],"fixed_versions":[],"cvss":9.1,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00714,"percentile":0.53519,"score_date":"2026-10-27"},"published_at":"2026-02-02T10:36:24.550Z","modified_at":"2026-10-27T16:45:03.593504579Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:30:55Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5986","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-02-02T13:13:23.762Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-wj3h-wx8g-x699","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:45:03.593504579Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5986","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5986","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://huntr.com/bounties/64ff5319-6ac3-4447-87f7-b53495d4d5a3"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-353.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/h2o","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total","assessed_at":"2026-02-02T12:52:10.722874Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T16:45:03.593504579Z","content_hash":"a85a206db10ac6a4bd66a895bab20ff87884f9620f98dd4171be0781417896ee"}}
