CVE-2024-6854
HIGH 7.1CVSS 3.0H2O Vulnerable to Arbitrary File Overwrite via File Export
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.
- Published
- 20 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-36
- Also known as
- GHSA-47f6-5p7h-5f3hPYSEC-2026-1436
- Sources
- NVDJSONOSV GHSA-47f6-5p7h-5f3hJSONOSV PYSEC-2026-1436JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.1 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | h2o | h2ocpe:2.3:a:h2o:h2o:3.46.0:*:*:*:*:*:*:* |
= 3.46.0 | |
| OSV | PyPI | h2o | >= 3.32.1.1, <= 3.46.0 | |
| OSV | Maven | ai.h2o:h2o-core | >= 3.32.1.1, <= 3.46.0 |
References
- https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6854 · ADVISORY
- https://github.com/h2oai/h2o-3 · PACKAGE
- https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366 · WEB
- https://pypi.org/project/h2o · PACKAGE
- https://github.com/advisories/GHSA-47f6-5p7h-5f3h · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)