MediumNewsLLM-specific
Claude Code Flaws Allow Remote Code Execution and API Key Exfiltration
- Published
- Record updated
Summary
Check Point Research disclosed multiple flaws in Anthropic's Claude Code that let a malicious repository run arbitrary shell commands and exfiltrate Anthropic API keys when a user opens it. The flaws span hooks, MCP server configuration and environment variables, and CVE-2026-21852 involves a settings file that redirects API requests via ANTHROPIC_BASE_URL before the trust prompt appears.
Mitigation
Fixed in version 1.0.87 (September 2025) for the untrusted project hooks issue, fixed in version 1.0.111 (October 2025) for CVE-2025-59536, and fixed in version 2.0.65 (January 2026) for CVE-2026-21852.
Topics
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog