{"id":"CVE-2024-5986","aliases":["CVE-2024-5986","GHSA-wj3h-wx8g-x699","PYSEC-2026-353"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Arbitrary File Write with Arbitrary Data in h2oai/h2o-3","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en h2oai/h2o-3 versión 3.46.0.1 permite a atacantes remotos escribir datos arbitrarios en cualquier archivo del servidor. Esto se logra explotando el endpoint '/3/Parse' para inyectar datos controlados por el atacante como la cabecera de un archivo vacío, que luego se exporta usando el endpoint '/3/Frames/framename/export'. El impacto de esta vulnerabilidad incluye el potencial de ejecución remota de código y acceso completo al sistema que ejecuta h2o-3, ya que los atacantes pueden sobrescribir archivos críticos como claves SSH privadas o archivos de script.","source":"nvd"}],"published":"2026-02-02T10:36:24.550Z","modified":"2026-10-27T16:45:03.593Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"h2oai","product":"h2oai/h2o-3","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.1"}],"ecosystem":"Maven","package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.1"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.1"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/64ff5319-6ac3-4447-87f7-b53495d4d5a3","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5986","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-353.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/h2o","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-02-02T12:52:10.722Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5986","url":"https://www.cve.org/CVERecord?id=CVE-2024-5986","licence":"CVE Terms of Use","modified":"2026-02-02T13:13:23.762Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wj3h-wx8g-x699","url":"https://github.com/advisories/GHSA-wj3h-wx8g-x699","licence":"CC-BY-4.0","modified":"2026-10-27T16:45:03.593Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5986","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5986","licence":"Public domain","modified":"2026-06-17T08:17:02.637Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-353","url":"https://osv.dev/vulnerability/PYSEC-2026-353","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:54.140Z"}],"updatedAt":"2026-11-25T22:58:52.967Z","epss":{"score":0.00705,"percentile":0.54571,"date":"2026-12-01T12:00:22.000Z"}}