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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-25723— Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions

EPSS 0.14% · P34
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-25723

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
Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
Source: NVD (National Vulnerability Database)
Vulnerability Description
Claude Code is an agentic coding tool. Prior to version 2.0.55, Claude Code failed to properly validate commands using piped sed operations with the echo command, allowing attackers to bypass file write restrictions. This vulnerability enabled writing to sensitive directories like the .claude folder and paths outside the project scope. Exploiting this required the ability to execute commands through Claude Code with the "accept edits" feature enabled. This issue has been patched in version 2.0.55.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
输入验证不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
Claude Code 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Claude Code是Anthropic开源的一个终端原生AI编程工具。 Claude Code 2.0.55之前版本存在操作系统命令注入漏洞,该漏洞源于未能正确验证使用带echo命令的管道sed操作的命令,可能导致绕过文件写入限制。
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

VendorProductAffected VersionsCPESubscribe
anthropicsclaude-code < 2.0.55 -

II. Public POCs for CVE-2026-25723

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25723

登录查看更多情报信息。

Same Patch Batch · anthropics · 2026-02-06 · 4 CVEs total

CVE-2026-25722Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection
CVE-2026-25725Claude Code Has Sandbox Escape via Persistent Configuration Injection in settings.json
CVE-2026-25724Claude Code Has Permission Deny Bypass Through Symbolic Links

IV. Related Vulnerabilities

V. Comments for CVE-2026-25723

No comments yet


Leave a comment