H2O has an External Control of File Name or Path vulnerability
CVE-2024-5986 · GHSA-wj3h-wx8g-x699 · PYSEC-2026-353 · published 2 Feb 2026
How serious is it
- Severity: critical, CVSS score 9.1 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2024-5986?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
ai.h2o:h2o-core(Maven) <= 3.46.0.1h2o(PyPI) <= 3.46.0.1
How to check
- Look for
ai.h2o:h2o-corein your lockfile and compare its version with the range above. - Run
pip show h2oin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- No fixed version of
ai.h2o:h2o-coreyet. Replace or remove it, or apply the workaround in the advisory below. - No fixed version of
h2oyet. Replace or remove it, or apply the workaround in the advisory below. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- nvd.nist.gov/vuln/detail/CVE-2024-5986
- huntr.com/bounties/64ff5319-6ac3-4447-87f7-b53495d4d5a3
- github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-353.yaml
- pypi.org/project/h2o
- github.com/advisories/GHSA-wj3h-wx8g-x699
- github.com/h2oai/h2o-3
Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON