Documented Incident · INC-2026-25723 · High severity
Agentic Coding CLI File-Write Boundary Bypass via Malformed Command Parsing
CVE-2026-25723 (published February 6, 2026) disclosed a command-parsing bypass in Claude Code that allowed crafted file-manipulation commands to bypass workspace write restrictions. By structuring redirections or malformed shell command syntax that diverged between the validator's interpretation and the shell's runtime evaluation, untrusted agent prompts could overwrite files outside the approved project root. Maintainers updated shell command normalization and strengthened OS-level sandbox enforcement around agent command execution.
Incident dossier metadata
- Case ID
INC-2026-25723- Classification
- Incident
- Date
- Severity
- High
- Sector
- Software Development & AI Tooling
- Attack vector
- Tool/MCP Abuse
- System type
- Terminal Agentic Coding CLIs
- CVE / reference
CVE-2026-25723- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-25723
Defensive takeaway
Enforce workspace write boundaries at the OS sandbox layer (Seatbelt/Landlock/container mounts) instead of relying solely on pre-execution shell parsing.
Mapped AI security techniques
- Command and Scripting Interpreter AML.T0050
- AI Agent Tool Invocation AML.T0053
- Modify AI Agent Configuration AML.T0081
- Machine Compromise: Local AI Agent AML.T0112.000
Mapped defensive controls
Source citation records
- NVD Record CVE-2026-25723: Claude Code File-Write Restriction Bypass · NIST National Vulnerability Database (NVD) ·