@anthropic-ai/claude-code is vulnerable to Authorization Bypass
65
CVE Score
Medium
Authorization Bypass
The Bash and PowerShell permission checkers fail to treat certain crafted inputs as requiring approval. A zsh command hidden inside a [[ ]] regex conditional can run without ever showing the approval prompt, and a Windows PowerShell path that contains quote characters can similarly slip past the check. When those forms are issued through the CLI tools, the expected confirmation in manual or auto permission modes is skipped. The fix makes those Bash/zsh regex-conditional forms and quoted Windows PowerShell paths prompt for permission instead of auto-running.
Upgrade the @anthropic-ai/claude-code library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and rely on Claude Code permission prompts for Bash/zsh commands that use [[ ]] regex conditionals, or for PowerShell tool commands with quoted Windows paths (the PowerShell tool is only present in later releases).
0.2.9 - 2.1.220
Fixed in 2.1.221@anthropic-ai/claude-code is vulnerable to Authorization Bypass in versions 0.2.9 - 2.1.220.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.