INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-5986

H2O has an External Control of File Name or Path vulnerability

CVE-2024-5986 ยท 2026-02-02 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Path traversal and file access
Affected
ai.h2o:h2o-core, h2o (Maven)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.7% chance of exploitation in 30 days

How it works, in short

Attacker-controlled data parsed as a file header is exported through the Frames API to arbitrary server paths, letting the attacker overwrite files such as SSH keys. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.