critical · 9.1 No patch yet

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.1
  • h2o (PyPI) <= 3.46.0.1

How to check

  1. Look for ai.h2o:h2o-core in your lockfile and compare its version with the range above.
  2. Run pip show h2o in your project to see the installed version, including copies pulled in by other packages.
  3. Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
  4. Or run npx shippable-dev scan localhost:3000 in 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.
  1. No fixed version of ai.h2o:h2o-core yet. Replace or remove it, or apply the workaround in the advisory below.
  2. No fixed version of h2o yet. Replace or remove it, or apply the workaround in the advisory below.
  3. 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

Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON