CyberSIXT Search
Original

The Hacker Newsinfo@thehackernews.com (The Hacker News)

Anthropic's Claude Code AI bugs let attackers run code and steal API keys

Part of the CVE-2025-59536 story · 6 articles · 4 outlets · since 25 Feb

Cybersecurity researchers have disclosed multiple security vulnerabilities in Anthropic's Claude Code, an AI-powered coding assistant, that could result in remote code execution and theft of API credentials. The findings, reported by Check Point Research, show flaws spanning configuration mechanisms such as Hooks, MCP servers and environment variables that could exfiltrate Anthropic API keys when users clone and open untrusted repositories.

The weaknesses fall into three categories: a No CVE issue (CVSS 8.7) related to code injection via untrusted project hooks defined in .claude/settings.json, CVE-2025-59536 (CVSS 8.7) allowing arbitrary shell commands during tool initialization in untrusted directories, and CVE-2026-21852 (CVSS 5.3) an information-disclosure flaw in Claude Code’s project-load flow enabling exfiltration of API keys.

Anthropic itself advised that if a user starts Claude Code in an attacker-controlled repository with a settings file setting ANTHROPIC_BASE_URL to a malicious endpoint, API keys could be leaked via API requests before trust prompts appear. Fixed versions are noted for each issue, including 1.0.87 in September 2025, 1.0.111 in October 2025, and 2.0.65 in January 2026.

What these flaws illustrate is that, in AI-driven development environments, configuration files can effectively become part of the execution layer, potentially broadening the threat model beyond running untrusted code to opening untrusted projects.

Story timeline CVE-2025-59536

Full timeline
Show as table
CVE-2025-59536 coverage
Published (UTC)OutletHeadline
Wed 25 Feb · 14:26 UTCCheck PointCheck Point finds API key leak in Anthropic's AI code assistant
Wed 25 Feb · 17:46 UTCThe Hacker NewsAnthropic's Claude Code AI bugs let attackers run code and steal API keys (this article)
Wed 25 Feb · 22:43 UTCSecurity AffairsAnthropic's Claude Code AI exploited by repos to steal API keys
Wed 25 Feb · 22:43 UTCDark ReadingAnthropic’s Claude Code flaws let repos seize PCs, steal keys
Tue 24 Mar · 21:58 UTCDark ReadingHow AI Coding Tools Crushed the Endpoint Security Fortress
Thu 7 May · 13:32 UTCDark ReadingOne‑click TrustFall exploit hijacks Claude Code via bad repo

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device