Skip to main content
Report · Check Point ResearchAbout CVE-2025-59536Published

Caught in the Hook: RCE and API Token Exfiltration Through Claude Code Project Files | CVE-2025-59536 | CVE-2026-21852

Source Check Point Research

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-59536· High 8.7

Not known to be exploited · CVSS 8.7 High.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

AI-suggested

To mitigate these vulnerabilities, organizations should immediately audit and restrict the use of project configuration files in Claude Code environments. Implement strict validation and sanitization of Hooks, MCP server settings, and environment variables to prevent injection of malicious commands. Employ least privilege principles for API tokens and rotate credentials regularly to limit exposure. Isolate Claude Code execution environments using containerization or sandboxing to contain potential exploits. Monitor logs and network traffic for unusual activity related to project file loading or API token usage. Coordinate with Anthropic for official patches or updates addressing these vulnerabilities and apply them promptly once available. Additionally, establish secure development lifecycle practices including code reviews and supply chain verification to prevent introduction of malicious configurations. Educate developers and administrators about the risks associated with project file handling and enforce policies restricting untrusted file usage.

Description

By Aviv Donenfeld and Oded Vanunu Executive Summary Check Point Research has discovered critical vulnerabilities in Anthropic&#8217;s Claude Code that allow attackers to achieve remote code execution and steal API credentials through malicious project configurations. The vulnerabilities exploit various configuration mechanisms including Hooks, Model Context Protocol (MCP) servers, and environment variables -executing arbitrary shell commands [&#8230;] The post Caught in the Hook: RCE and API Token Exfiltration Through Claude Code Project Files | CVE-2025-59536 | CVE-2026-21852<other cve="" id="" tbd=""></other> appeared first on Check Point Research .

References

Community reviews

Loading reviews…