CVE-2024-5986 PUBLISHED

Remote Arbitrary File Write with Arbitrary Data in h2oai/h2o-3

Assigner: @huntr_ai
Reserved: 13.06.2024 Published: 02.02.2026 Updated: 02.02.2026

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.

Metrics

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS Score: 9.1

Product Status

Vendor h2oai
Product h2oai/h2o-3
Versions
  • affected from unspecified to latest (incl.)

References

Problem Types

  • CWE-73 External Control of File Name or Path CWE