gcdRadar
archive/Patch now/AIR-2026-0465
closedclosed 6 Feb 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-25723: Claude Code Command Injection Bypass

Claude Code

Claude Code failed to validate commands using piped sed operations, allowing attackers to bypass file write restrictions. A patch was automatically applied for users on standard auto-update.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
7.7
EPSS
<0.01 · top 67% · 2026-11-13
fix status
Fix status unknown
first report
6 Feb 2026
last update
6 Feb 2026

Timeline · 2

  1. 6 Feb 2026CVE-2026-25723: Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
  2. 6 Feb 2026CVE-2026-25723: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2026-02-06
  2. 2026-02-06
    CVE-2026-25723: Claude Code is an agentic coding tool.
    NVD · nvd.nist.gov/vuln/detail/CVE-2026-25723

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Anthropic, Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 6 Feb 2026 · first reported 6 Feb 2026
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2026-25723: Claude Code Command Injection Bypass

https://gcdradar.vercel.app/incidents/cve-2026-25723-claude-code-command-injection-bypass · AIR-2026-0465 · closed 2026-02-06

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-02-06
- AI role: Attack on AI
- Products: Claude Code
- CVE ids: CVE-2026-25723
- CVSS: 7.7

## Summary

Claude Code failed to validate commands using piped sed operations, allowing attackers to bypass file write restrictions. A patch was automatically applied for users on standard auto-update.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-02-06: CVE-2026-25723: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2026-25723)
- 2026-02-06: CVE-2026-25723: Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions (https://github.com/advisories/GHSA-mhg7-666j-cqg4)

## Sources

- 2026-02-06 GitHub Advisory Database: CVE-2026-25723: Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions https://github.com/advisories/GHSA-mhg7-666j-cqg4
- 2026-02-06 NVD: CVE-2026-25723: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2026-25723

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed7.7
    Claude Code + SDKs CVE-2026-25722: Claude Code Directory Change Write Protection Bypass

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25722

    AI
  2. closed7.7
    Claude Code + SDKs CVE-2026-25725: Claude Code Sandbox Escape via Settings Injection

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25725

    AI
  3. closed2.3
    Claude Code + SDKs CVE-2026-25724: Claude Code Permission Deny Bypass

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-25724

    AI
  4. closed5.3
    Claude Code + SDKs CVE-2026-21852: Claude Code Data Leak via Malicious Config

    Patch now · Disclosed · since 21 Jan 2026 · CVE-2026-21852

    AI
  5. closed7.7
    Claude Code + SDKs CVE-2026-55607: Claude Code sandbox escape via git worktree path confusion

    Patch now · Disclosed · since 24 Jul 2026 · updated 24 Jul 2026 · CVE-2026-55607

    AI
  6. closed4.4
    Claude Code + SDKs CVE-2026-46406: Anthropic Claude Code Insecure Temporary File Handling in Copy Command

    Patch now · Disclosed · since 25 Jun 2026 · updated 29 Jun 2026 · CVE-2026-46406

    AI