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

Inspect INC-2026-25723 in Interactive Incidents & Cases Hub

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

Mapped defensive controls

Source citation records