← Voltar à pesquisa de CVEs

CVE-2026-65700

h2oGPT

Descrição

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.

CVSS 9.8EPSS 1.269%Risco 1.09
Ver fonte
Publicação
2026-07-23 18:17:01
Versões afetadas
<=0.2.1
Tipo
Software crítico
Última alteração
2026-07-27 17:16:40
Vetor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H