WaratekVRT Sign in

CVE-2024-6854 h2o

Affected softwareh2o
Severity7.1 High CVSS 3.0
WeaknessAbsolute path traversal (CWE-36)
Published20 Mar 2025
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.78% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-36: Absolute Path Traversal.

How to mitigate CVE-2024-6854

Apply the vendor's fix for h2o. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
ai.h2o:h2o-core 3.32.1.1 none 3.46.0

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv ai.h2o h2o-core generic ≥ 3.32.1.1 and ≤ 3.46.0
nvd h2o h2o generic 3.46.0

References

URLTags
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://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2 WEB

Timeline

Published2025-03-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.