CVE-2025-52882
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedClaude Code is an agentic coding tool. Claude Code extensions in VSCode and forks (e.g., Cursor, Windsurf, and VSCodium) and JetBrains IDEs (e.g., IntelliJ, Pycharm, and Android Studio) are vulnerable to unauthorized websocket connections from an attacker when visiting attacker-controlled webpages. Claude Code for VSCode IDE extensions versions 0.2.116 through 1.0.23 are vulnerable. For Jetbrains IDE plugins, Claude Code [beta] versions 0.1.1 through 0.1.8 are vulnerable. In VSCode (and forks), exploitation would allow an attacker to read arbitrary files, see the list of files open in the IDE, get selection and diagnostics events from the IDE, or execute code in limited situations where a user has an open Jupyter Notebook and accepts a malicious prompt. In JetBrains IDEs, an attacker could get selection events, a list of open files, and a list of syntax errors. Claude released a patch for this issue on June 13th, 2025. Although Claude Code auto-updates when a user launch it and auto-updates the extensions, users should take the following steps, though the exact steps depend on one's integrated development environment (IDE). For VSCode, Cursor, Windsurf, VSCodium, and other VSCode forks, check the extension Claude Code for VSCode. Open the list of Extensions (View->Extensions), look for Claude Code for VSCode among installed extensions, update or uninstall any version prior to 1.0.24, and restart the IDE. For JetBrains IDEs including IntelliJ, PyCharm, and Android Studio, check the plugin Claude Code [Beta]. Open the Plugins list, look for Claude Code [Beta] among installed extensions, update or uninstall any version prior to 0.1.9, and restart the IDE.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceClaude Code IDE extensions are vulnerable to unauthorized websocket connections from attacker-controlled webpages due to improper validation of incoming websocket connections. Malicious webpages can connect to the extension's local server and exfiltrate sensitive IDE data including file contents, open file lists, user selections, and diagnostics information.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- P
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Claude Code extension for VSCodeOpen VSCode, go to Extensions view (Ctrl+Shift+X or Cmd+Shift+X), search for 'Claude Code' and note the installed version number displayed in the extension detailsAffected if The installed version is below 1.0.24
-
Identify installed Claude Code [Beta] extension for JetBrainsOpen JetBrains IDE (IntelliJ, WebStorm, etc.), go to Settings > Plugins, search for 'Claude Code' or 'Claude Code Beta', and note the installed version numberAffected if The installed version is below 0.1.9
-
Confirm extension is active and runningCheck if the Claude Code extension is enabled and showing as active in the IDE's extension panel. The vulnerability requires the extension's local server to be runningAffected if The extension is installed and active with a vulnerable version (below 1.0.24 for VSCode or below 0.1.9 for JetBrains)
-
Inspect websocket/listening ports on localhostRun command 'netstat -an | grep localhost' or 'ss -tlnp | grep localhost' to list local ports. Look for any ports associated with the Claude Code extension (typically high-numbered ports in the 5000-9000 range)Affected if The extension's local server websocket is listening and accepts connections from any webpage
You are affected if you have Claude Code for VSCode below version 1.0.24 or Claude Code [Beta] for JetBrains below version 0.1.9 installed and the extension is active in your IDE.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate Claude Code for VSCode to version 1.0.24 or later, and Claude Code [Beta] for JetBrains to version 0.1.9 or later, then restart the IDE. Uninstall vulnerable versions if auto-update is unavailable.
VSCode extensions: 1.0.24 or later; JetBrains plugins: 0.1.9 or later
- For VSCode, Cursor, Windsurf, VSCodium, and other VSCode forks: Open the Extensions view (View -> Extensions)
- Locate 'Claude Code for VSCode' in the list of installed extensions
- If the version is prior to 1.0.24, click 'Update' to upgrade to version 1.0.24 or later
- Restart the IDE to complete the update
- For JetBrains IDEs (IntelliJ, PyCharm, Android Studio): Open the Plugins settings
- Locate 'Claude Code [Beta]' in the installed plugins list
- If the version is prior to 0.1.9, click 'Update' to upgrade to version 0.1.9 or later
- Restart the IDE to complete the update
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation0.5 h
- Implementation0.5 h
- Testing0.5 h
- Review / QA0.3 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,200.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-52882 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-52882 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data