CVE-2026-65700

published 23 Jul 2026 · updated 27 Jul 2026

h2oGPT 0.2.1 Path Traversal via OpenAI-compatible Files API

10.0CriticalCVSS 9.8EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

h2oGPT through 0.2.1 contains a path traversal vulnerability in the OpenAI-compatible files API that allows unauthenticated remote attackers to read, write, and delete arbitrary files accessible to the server process by supplying traversal sequences in the bearer token. The get_user_dir function in openai_server/backend_utils.py uses the bearer token string unsanitized as a path component via os.path.join, and because the default API key is EMPTY authentication is bypassed, enabling attackers to traverse outside the intended user directory through the file content, delete, and upload endpoints to achieve remote code execution by writing to startup hooks or application-loaded files.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
h2oai<=0.2.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65700 severity on Zeptric[![CVE-2026-65700](https://zeptric.io/badge/cve/CVE-2026-65700.svg)](https://zeptric.io/cve/CVE-2026-65700)