H2O Vulnerable to Arbitrary File Overwrite via File Export
Published 20 Mar 2025 · Updated 7 Jul 2026
Is your project on an affected h2o?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=3.32.1.1 <=3.46.0
- Fixed in
- No fix released
- Affected
- >=3.32.1.1 <=3.46.0
- Fixed in
- No fix released
Details
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.
Is GHSA-47f6-5p7h-5f3h in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected h2o, and gives you the command that fixes it.
More advisories for h2o
- LowCVE-2026-3960No summary published · 23 Apr 2026
- CriticalCVE-2024-5986H2O has an External Control of File Name or Path vulnerability · 2 Feb 2026
- CriticalCVE-2025-6544H2O affected by a deserialization vulnerability · 22 Sept 2025
- HighCVE-2024-8616H2O Vulnerable to Arbitrary File Overwrite · 20 Mar 2025
- HighCVE-2024-8062H2O Vulnerable to Denial of Service (DoS) via `HEAD` Request · 20 Mar 2025
- HighCVE-2024-7765H2O Vulnerable to Denial of Service (DoS) via Large GZIP Parsing · 20 Mar 2025
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.