Incident report

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 record

Reported
Severity
High
Vector
Tool/MCP Abuse
Affected system type
Terminal Agentic Coding CLIs
Reference
CVE-2026-25723
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-25723

Inspect in Interactive Incidents Hub

Defensive lesson

Enforce workspace write boundaries at the OS sandbox layer (Seatbelt/Landlock/container mounts) instead of relying solely on pre-execution shell parsing.

Referenced techniques