Skip to content
HighVulnerabilityLLM-specific

CVE-2025-52882: Claude Code IDE extensions allow unauthorized websocket connections

Identifier
CVE-2025-52882
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code >= 0.2.116, < 1.0.24
Fixed in
1.0.24
  • released June 13, 2025, 10 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2025-52882 affects Claude Code extensions for VSCode and its forks, such as Cursor, Windsurf, and VSCodium, as well as the JetBrains plugin Claude Code [Beta]. Visiting attacker-controlled webpages lets an attacker make unauthorized websocket connections to the IDE. Exploitation can read arbitrary files, list open files, and obtain selection and diagnostics events, and in VSCode it can also execute code in limited cases involving an open Jupyter Notebook and an accepted malicious prompt.

Mitigation

Claude released a patch on June 13, 2025. For VSCode and forks, update or uninstall Claude Code for VSCode versions prior to 1.0.24, then restart the IDE. For JetBrains IDEs, update or uninstall Claude Code [Beta] versions prior to 0.1.9, then restart the IDE.