Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-65700: h2oGPT path traversal in OpenAI-compatible files API via bearer token

Identifier
CVE-2026-65700
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.5%

Summary

CVE-2026-65700 affects h2oGPT through 0.2.1 in its OpenAI-compatible files API. Unauthenticated remote attackers can supply traversal sequences in the bearer token, which the get_user_dir function in openai_server/backend_utils.py uses unsanitized via os.path.join, reaching the file content, delete and upload endpoints. Because the default API key is EMPTY, authentication is bypassed, letting attackers read, write and delete arbitrary server-accessible files, including writing startup hooks or application-loaded files to achieve remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.