目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-40068— Claude Code 输入验证错误漏洞

AI 预测 5.9 利用难度: 中等 EPSS 0.28% · P20

影响版本矩阵 1

厂商产品版本范围状态
anthropicsclaude-code>= 2.1.63, < 2.1.84affected
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-40068 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Claude Code arbitrary code execution via git worktree commondir trust dialog bypass
来源: CVE Program / CVE List V5
Vulnerability Description
In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
来源: CVE Program / CVE List V5
Vulnerability Title
Claude Code 输入验证错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Claude Code是Anthropic开源的一个终端原生AI编程工具。 Claude Code 2.1.63版本至2.1.83版本存在输入验证错误漏洞,该漏洞源于文件夹信任确定逻辑未验证git worktree commondir文件内容,可能导致绕过信任确认对话框并立即执行钩子。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
anthropicsclaude-code >= 2.1.63, < 2.1.84 -

二、漏洞 CVE-2026-40068 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-40068 的情报信息

登录查看更多情报信息。

CVE-2026-40068 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-40068

暂无评论


发表评论