๐Ÿ” CVE Alert

CVE-2026-65700

CRITICAL 9.8

h2oGPT 0.2.1 Path Traversal via OpenAI-compatible Files API

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor h2oai
Product h2ogpt
Published Jul 23, 2026
Last Updated Jul 23, 2026
Stay Ahead of the Next One

Get instant alerts for h2oai h2ogpt

Be the first to know when new critical vulnerabilities affecting h2oai h2ogpt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

h2oai / h2ogpt
0 โ‰ค 0.2.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/geo-chen/oss/blob/main/h2ogpt.md vulncheck.com: https://www.vulncheck.com/advisories/h2ogpt-path-traversal-via-openai-compatible-files-api

Credits

George Chen