Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-8616Arbitrary File Overwrite in h2oai/h2o-3
High 8.2
In plain English
A high-severity security flaw in h2oai/h2o-3 from h2oai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | ai.h2o:h2o-core | no fix listed | GHSA-g48v-3p35-88jr |
| PyPI | h2o | no fix listed | GHSA-g48v-3p35-88jr |
| PyPI | h2o | no fix listed | PYSEC-2026-1441 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| h2oai | h2oai/h2o-3 | unspecified – through latest |
Weakness: CWE-73 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H