CWE-1385Weakness · CWE-1385

CVE-2025-52882

HIGH · 8.8 CVSS v4.0 Published 2025-06-24
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges

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 · unedited
Claude 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 confidence

Claude 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.

MitigationUpdate 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Claude Code extension for VSCode
    Open 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 details
    Affected if The installed version is below 1.0.24
  2. Identify installed Claude Code [Beta] extension for JetBrains
    Open JetBrains IDE (IntelliJ, WebStorm, etc.), go to Settings > Plugins, search for 'Claude Code' or 'Claude Code Beta', and note the installed version number
    Affected if The installed version is below 0.1.9
  3. Confirm extension is active and running
    Check 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 running
    Affected if The extension is installed and active with a vulnerable version (below 1.0.24 for VSCode or below 0.1.9 for JetBrains)
  4. Inspect websocket/listening ports on localhost
    Run 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update 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.

Recommended fix High confidence

VSCode extensions: 1.0.24 or later; JetBrains plugins: 0.1.9 or later

  1. For VSCode, Cursor, Windsurf, VSCodium, and other VSCode forks: Open the Extensions view (View -> Extensions)
  2. Locate 'Claude Code for VSCode' in the list of installed extensions
  3. If the version is prior to 1.0.24, click 'Update' to upgrade to version 1.0.24 or later
  4. Restart the IDE to complete the update
  5. For JetBrains IDEs (IntelliJ, PyCharm, Android Studio): Open the Plugins settings
  6. Locate 'Claude Code [Beta]' in the installed plugins list
  7. If the version is prior to 0.1.9, click 'Update' to upgrade to version 0.1.9 or later
  8. Restart the IDE to complete the update

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation0.5 h
  • Implementation0.5 h
  • Testing0.5 h
  • Review / QA0.3 h
1.8 hours of engineering $750
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-52882 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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