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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-103435— Claude Code 通过写时符号链接跟踪实现任意文件写入漏洞

一分钟漏洞结论

影响对象
Anthropic @anthropic-ai/claude-code
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Claude Code 在权限检查阶段确认了目标文件路径位于项目工作目录内,但在执行写入操作时再次解析了路径,且未重复进行该权限验证。这种检查时间与使用时间的间隙(TOCTOU)漏洞使得能够在工作区中写入文件的攻击者能够原子地将项目文件替换为符号链接,从而导致 Claude Code 跟随符号链接,将输出写入到项目沙箱之外的任意文件。利用该漏洞需要能够与写入操作竞争获胜,并拥有对共享工作区的写入权限,从而使低权限攻击者能够将无害的编辑重定向到高权限会话中的敏感文件(例如 Shell 配置文件)。 已启用自动更新的

CVSS 7.7 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code
来源: CVE Program / CVE List V5
Vulnerability Description
Claude Code validated that a target file path resided within the project working directory at permission-check time, but re-resolved the path at write time without repeating that validation. This time-of-check to time-of-use (TOCTOU) gap allowed an attacker who could write to the workspace to atomically replace a project file with a symlink, causing Claude Code to follow the symlink and write its output to an arbitrary file outside the project sandbox. Exploitation required the ability to win a race condition against the write operation and write access to the shared workspace, enabling a lower-privileged attacker to redirect benign edits to sensitive files (e.g., shell configuration) in a higher-privileged session. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version. Thank you to hackerone.com/c_h4ck_0 for reporting this issue.
来源: 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

受影响产品

厂商 产品 影响版本 CPE 订阅
Anthropic @anthropic-ai/claude-code 0 ~ 2.1.129 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-103435 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-103435

暂无评论


发表评论