CanonicalSecurity
Claude Code 2.1.309–2.1.319 (2026-10-22 → 2026-11-06): permission-bypass and sandbox fixes, auto mode and env-var behavior changes
Claude Code 2.1.319 is `latest` (`stable` is 2.1.311). Releases since 2026-10-22 fix Bash permission-check bypasses (crafted env prefix, `sed`, failed redirects), sandbox escapes through worktrees and `--mcp-config`, and Windows hooks that failed open without Git Bash. 2.1.319 changes auto mode when telemetry or feature flags are off; 2.1.316 deprecates Opus 4.8 fast mode.
claude-codesecuritybreaking-change
CanonicalSecurity
Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
High severity. Affects @anthropic-ai/claude-code < 2.1.179. Upgrade to 2.1.179 or later.
securitycveghsa
CanonicalSecurity
Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution
High severity. Affects @anthropic-ai/claude-code >= 2.1.38, < 2.1.163. Upgrade to 2.1.163 or later.
securitycveghsa
CanonicalSecurity
@anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write
Medium severity. Affects @anthropic-ai/claude-code >= 2.1.59, < 2.1.128. Upgrade to 2.1.128 or later.
securitycveghsa
CanonicalSecurity
Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch
Medium severity. Affects @anthropic-ai/claude-code >= 0.2.54, < 2.1.163. Upgrade to 2.1.163 or later.
securitycveghsa
CanonicalSecurity
Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution
High severity. Affects @anthropic-ai/claude-code >= 2.1.63, < 2.1.84. Upgrade to 2.1.84 or later.
securitycveghsa
CanonicalSecurity
Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace
High severity. Affects @anthropic-ai/claude-code < 2.1.64. Upgrade to 2.1.64 or later.
securitycveghsa
CanonicalSecurity
Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows
Medium severity. Affects @anthropic-ai/claude-code < 2.1.75. Upgrade to 2.1.75 or later.
securitycveghsa
CanonicalSecurity
Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File
High severity. Affects @anthropic-ai/claude-code < 2.1.53. Upgrade to 2.1.53 or later.
securitycveghsa
CanonicalSecurity
Claude Code has Sandbox Escape via Persistent Configuration Injection in settings.json
High severity. Affects @anthropic-ai/claude-code < 2.1.2. Upgrade to 2.1.2 or later.
securitycveghsa
CanonicalSecurity
Claude Code has Permission Deny Bypass Through Symbolic Links
Low severity. Affects @anthropic-ai/claude-code < 2.1.7. Upgrade to 2.1.7 or later.
securitycveghsa
CanonicalSecurity
Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
High severity. Affects @anthropic-ai/claude-code < 2.0.55. Upgrade to 2.0.55 or later.
securitycveghsa
CanonicalSecurity
Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection
High severity. Affects @anthropic-ai/claude-code < 2.0.57. Upgrade to 2.0.57 or later.
securitycveghsa
CanonicalSecurity
Claude Code has a Command Injection in find Command Bypasses User Approval Prompt
High severity. Affects @anthropic-ai/claude-code < 2.0.72. Upgrade to 2.0.72 or later.
securitycveghsa
CanonicalSecurity
Claude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes
High severity. Affects @anthropic-ai/claude-code < 2.0.74. Upgrade to 2.0.74 or later.
securitycveghsa
CanonicalSecurity
Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains
High severity. Affects @anthropic-ai/claude-code < 1.0.111. Upgrade to 1.0.111 or later.
securitycveghsa
CanonicalSecurity
Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation
Medium severity. Affects @anthropic-ai/claude-code < 2.0.65. Upgrade to 2.0.65 or later.
securitycveghsa
CanonicalSecurity
Claude Code Command Validation Bypass Allows Arbitrary Code Execution
High severity. Affects @anthropic-ai/claude-code < 1.0.93. Upgrade to 1.0.93 or later.
securitycveghsa