{"id":"CVE-2024-6854","aliases":["EUVD-2025-6978","GHSA-47f6-5p7h-5f3h","PYSEC-2026-1436"],"status":"published","title":"Arbitrary File Overwrite in h2oai/h2o-3","description":"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.","severity":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00776,"percentile":0.56102,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-36"],"published":"2025-03-20T10:09:57Z","modified":"2026-07-07T17:57:08Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.1.1"},{"last_affected":"3.46.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"ai.h2o:h2o-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.1.1"},{"last_affected":"3.46.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.1.1"},{"last_affected":"3.46.0"}]}],"versions":["3.32.1.1","3.32.1.2","3.32.1.3","3.32.1.4","3.32.1.5","3.32.1.6","3.32.1.7","3.34.0.3","3.34.0.7","3.34.0.8","3.36.0.2","3.36.0.3","3.36.0.4","3.36.1.1","3.36.1.2","3.36.1.3","3.36.1.4","3.36.1.5","3.38.0.1","3.38.0.2","3.38.0.3","3.38.0.4","3.40.0.1","3.40.0.2","3.40.0.3","3.40.0.4","3.42.0.1","3.42.0.2","3.42.0.3","3.42.0.4","3.44.0.1","3.44.0.2","3.44.0.3"]},{"source":"osv","ecosystem":"Maven","package":"ai.h2o:h2o-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.1.1"},{"last_affected":"3.46.0"}]}],"versions":["3.32.1.1","3.32.1.2","3.32.1.3","3.32.1.4","3.32.1.5","3.32.1.6","3.32.1.7","3.34.0.1","3.34.0.3","3.34.0.4","3.34.0.5","3.34.0.6","3.34.0.7","3.34.0.8","3.35.0.2","3.36.0.1","3.36.0.2","3.36.0.3","3.36.0.4","3.36.1.1","3.36.1.2","3.36.1.3","3.36.1.4","3.36.1.5","3.38.0.1","3.38.0.2","3.38.0.3","3.38.0.4","3.40.0.1","3.40.0.2","3.40.0.3","3.40.0.4","3.42.0.1","3.42.0.2","3.42.0.3","3.42.0.4","3.44.0.1","3.44.0.2","3.44.0.3"]},{"source":"osv","ecosystem":"PyPI","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.32.1.1"},{"last_affected":"3.46.0"}]}],"versions":["3.32.1.1","3.32.1.2","3.32.1.3","3.32.1.4","3.32.1.5","3.32.1.6","3.32.1.7","3.34.0.3","3.34.0.7","3.34.0.8","3.36.0.2","3.36.0.3","3.36.0.4","3.36.1.1","3.36.1.2","3.36.1.3","3.36.1.4","3.36.1.5","3.38.0.1","3.38.0.2","3.38.0.3","3.38.0.4","3.40.0.1","3.40.0.2","3.40.0.3","3.40.0.4","3.42.0.1","3.42.0.2","3.42.0.3","3.42.0.4","3.44.0.1","3.44.0.2","3.44.0.3"]}],"products":[{"vendor":"h2o","product":"h2o"},{"vendor":"h2oai","product":"h2oai/h2o-3"}],"references":[{"url":"https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6854","tags":["advisory"]},{"url":"https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366","tags":["web"]},{"url":"https://github.com/advisories/GHSA-47f6-5p7h-5f3h","tags":["advisory"]},{"url":"https://github.com/h2oai/h2o-3","tags":["package"]},{"url":"https://pypi.org/project/h2o","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-6854","title":"Arbitrary File Overwrite in h2oai/h2o-3","description":"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.","status":"published","published":"2025-03-20T10:09:57.301Z","modified":"2025-03-20T18:32:31.81Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-36"],"updated_at":"2026-11-02T14:34:11.305983Z"}],"euvd":[{"id":"EUVD-2025-6978","description":"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.","status":"published","published":"2025-03-20T10:09:57Z","modified":"2025-03-20T18:32:31Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:57.377828Z"}],"ghsa":[{"id":"GHSA-47f6-5p7h-5f3h","title":"H2O Vulnerable to Arbitrary File Overwrite via File Export","description":"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.","status":"published","published":"2025-03-20T12:32:45Z","modified":"2025-03-20T19:53:20Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-36"],"updated_at":"2026-11-02T14:38:35.74197Z"}],"nvd":[{"id":"CVE-2024-6854","description":"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.","status":"published","published":"2025-03-20T10:15:34.377Z","modified":"2026-06-17T08:18:50.693Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-36"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"GHSA-47f6-5p7h-5f3h","title":"H2O Vulnerable to Arbitrary File Overwrite via File Export","description":"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.","status":"published","published":"2025-03-20T12:32:45Z","modified":"2026-07-07T17:57:08.535500605Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-36"],"updated_at":"2026-11-02T15:46:36.782754Z"},{"id":"PYSEC-2026-1436","title":"H2O Vulnerable to Arbitrary File Overwrite via File Export","description":"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.","status":"published","published":"2026-07-07T14:34:54.751354Z","modified":"2026-07-07T17:47:39.215166447Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.622769Z"}]}}
