Theregister Claude Code Vulnerability Allows Bypass of Safety Rules via Subcommand Injection
Article Content
- •Claude Code's security rules can be bypassed with over 50 subcommands.
- •The vulnerability allows for prompt injection attacks, posing risks in automated environments.
- •Anthropic has an internal fix available but has not released it publicly.
A vulnerability in Claude Code allows the AI to bypass its deny rules when presented with a chain of over 50 subcommands. Discovered by Adversa, a Tel Aviv-based security firm, this flaw exposes the AI to prompt injection attacks, potentially enabling unauthorized actions like executing network requests via curl. The issue arises from a hard cap of 50 security subcommands, beyond which Claude Code defaults to asking for user permission. This oversight was not anticipated for AI-generated commands, leading to a proof-of-concept attack where a malicious command was constructed to exploit this limitation. The risk is particularly high in automated environments, such as CI/CD pipelines, where human oversight may be lacking. Anthropic has developed an internal fix but has not yet released it publicly. The vulnerability raises significant regulatory and compliance concerns if left unaddressed.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (9)
Continue Reading
CVE-2026-123890: Auth bypass in VMware vCenter exploited by Armory Castle before patch CVE-2026-123890, a flaw in VMware vCenter Server rated CVSS 9.8, allows an unauthenticated remote attacker to obtain an administrator session on the platform. According to the Google Threat Intelligence Group, the flaw was exploited by the espionage group Armory Castle (formerly UNC5221), which has suspected China…