CriticalVulnerabilityLLM-specific
CVE-2026-65700: h2oGPT path traversal in OpenAI-compatible files API via bearer token
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-65700
- Published
- Record updated
- 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.
Related items
- MediumARTEX and beyond: AI-enabled penetration testing platformsSimilar attack · Cisco Talos Blog
- InfoHow AI is changing the nature of cyberattacksSimilar attack · CSO Online
- MediumInside the loop: Five AI attack frameworks that never ask permissionSimilar attack · Elastic Security Labs
- MediumARTEX: Attackers Adopted This AI Pentesting Tool in Three Months. Leaked Secrets Are Its Fastest Way In.Similar attack · StepSecurity Blog
- MediumFBI Says North Korean Hackers Stole Over $400 Million in Crypto Using Deepfake Video CallsSimilar attack · The Hacker News