{"id":"CVE-2024-6854","aliases":["CVE-2024-6854","GHSA-47f6-5p7h-5f3h","PYSEC-2026-1436"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Overwrite in h2oai/h2o-3","summary":"In h2oai/h2o-3 version 3.46.0, the endpoint for exporting models does not restrict the export location, allowing an attacker to export a model to any file in the server's file structure, thereby overwriting it. This vulnerability can be exploited to overwrite any file on the target server with a trained model file, although the content of the overwrite is not controllable by the attacker.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In h2oai/h2o-3 version 3.46.0, the endpoint for exporting models does not restrict the export location, allowing an attacker to export a model to any file in the server's file structure, thereby overwriting it. This vulnerability can be exploited to overwrite any file on the target server with a trained model file, although the content of the overwrite is not controllable by the attacker.","source":"cvelist"},{"lang":"es","text":"En la versión 3.46.0 de h2oai/h2o-3, el endpoint para exportar modelos no restringe la ubicación de exportación, lo que permite a un atacante exportar un modelo a cualquier archivo de la estructura de archivos del servidor y, por lo tanto, sobrescribirlo. Esta vulnerabilidad puede explotarse para sobrescribir cualquier archivo del servidor objetivo con un archivo de modelo entrenado, aunque el contenido de la sobrescritura no esté bajo el control del atacante.","source":"nvd"}],"published":"2025-03-20T10:09:57.301Z","modified":"2026-07-07T17:57:08.535Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-36"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"h2oai","product":"h2oai/h2o-3","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.32.1.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.32.1.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"Maven","package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.46.0"}],"vendor":"h2o","product":"h2o","cpe":"cpe:2.3:a:h2o:h2o:3.46.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.32.1.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6854","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/h2o","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-47f6-5p7h-5f3h","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-20T17:49:46.711Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6854","url":"https://www.cve.org/CVERecord?id=CVE-2024-6854","licence":"CVE Terms of Use","modified":"2025-03-20T18:32:31.810Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-47f6-5p7h-5f3h","url":"https://github.com/advisories/GHSA-47f6-5p7h-5f3h","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:08.535Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6854","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6854","licence":"Public domain","modified":"2026-06-17T08:18:50.693Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1436","url":"https://osv.dev/vulnerability/PYSEC-2026-1436","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:39.215Z"}],"updatedAt":"2026-11-25T22:58:52.375Z","epss":{"score":0.00824,"percentile":0.54535,"date":"2026-11-30T12:00:22.000Z"}}