Skip to content
H2O-3GHSA-g48v-3p35-88jr

H2O Vulnerable to Arbitrary File Overwrite

High8.2CVE-2024-8616 · Published Mar 20, 2025 · updated Jul 7, 2026

In h2oai/h2o-3 version 3.46.0, the `/99/Models/{name}/json` endpoint allows for arbitrary file overwrite on the target server. The vulnerability arises from the `exportModelDetails` function in `ModelsHandler.java`, where the user-controllable `mexport.dir` parameter is used to specify the file path for writing model details. This can lead to overwriting files at arbitrary locations on the host system.

GitHub advisory

Affected versions

PackageAffectedFixed in
h2o
PyPI
>= 3.10.4.1, <= 3.46.0No fix yet
Details and references

More H2O-3 advisories

All H2O-3
Advisory
H2O Vulnerable to Denial of Service (DoS) via `HEAD` Request
High7.5Mar 20, 2025
H2O Vulnerable to Denial of Service (DoS) via Large GZIP Parsing
High7.5Mar 20, 2025
H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint
High7.5Mar 20, 2025
H2O Vulnerable to Arbitrary File Overwrite via File Export
High7.1Mar 20, 2025
H2O Vulnerable to Execution of Arbitrary Files
Medium6.5Mar 20, 2025
H2O Vulnerable to Denial of Service (DoS) via `/3/ParseSetup` Endpoint
High7.5Mar 20, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.