Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65700— h2oGPT 0.2.1 Path Traversal via OpenAI-compatible Files API

Quick assessment

Affected
h2oai h2ogpt
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

H2O.ai h2oGPT是H2O.ai公司开源的一款基于大语言模型的对话式AI工具。 H2O.ai h2oGPT 0.2.1及之前版本存在路径遍历漏洞,该漏洞源于OpenAI兼容文件API中的路径遍历问题,get_user_dir函数在openai_server/backend_utils.py中未对bearer token进行清理,并且默认API密钥为空导致身份验证被绕过,可能允许未经身份验证的远程攻击者通过提供遍历序列读取、写入和删除任意文件,并通过写入启动钩子或应用程序加载文件实现远程代码执行。

CVSS 9.8 · Critical EPSS 1.52% · P74

Affected Version Matrix 1

VendorProduct Version RangeStatus
h2oai h2ogpt ≤ 0.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65700

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
h2oGPT 0.2.1 Path Traversal via OpenAI-compatible Files API
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
H2O.ai h2oGPT 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
H2O.ai h2oGPT是H2O.ai公司开源的一款基于大语言模型的对话式AI工具。 H2O.ai h2oGPT 0.2.1及之前版本存在路径遍历漏洞,该漏洞源于OpenAI兼容文件API中的路径遍历问题,get_user_dir函数在openai_server/backend_utils.py中未对bearer token进行清理,并且默认API密钥为空导致身份验证被绕过,可能允许未经身份验证的远程攻击者通过提供遍历序列读取、写入和删除任意文件,并通过写入启动钩子或应用程序加载文件实现远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
h2oai h2ogpt 0 ~ 0.2.1 -

II. Public POCs for CVE-2026-65700

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7751 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-65700

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-65700 (1)

Other References for CVE-2026-65700 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-65700

No comments yet


Leave a comment