CVEBrief

Home / anthropics / claude-code / CVE-2025-52882

CVE-2025-52882: is it exploited, and which versions of anthropics claude-code are affected and fixed?

CVE-2025-52882 is a missing Origin Validation in WebSockets vulnerability in anthropics claude-code. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: @anthropic-ai/claude-code from 0.2.116 before 1.0.24 (GitHub advisory GHSA-9f65-56v6-gxw7). Fixed in 1.0.24 (GitHub advisory GHSA-9f65-56v6-gxw7). Severity: High (8.8, CVSS 4.0, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:08 UTC
Affected
@anthropic-ai/claude-code from 0.2.116 before 1.0.24
GitHub advisory GHSA-9f65-56v6-gxw7
Fixed in
1.0.24
GitHub advisory GHSA-9f65-56v6-gxw7
Severity
High 8.8
CVSS 4.0 from GitHub_M
Exploit odds (EPSS)
0.38% in 30 days
higher than 34% of CVEs; FIRST, December 2, 2026

What is CVE-2025-52882?

Claude Code IDE extensions allow websocket connections from arbitrary origins

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.

From the CVE record by GitHub_M, last updated June 24, 2025, 20:43 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
anthropicsclaude-code>= 0.2.116 < 1.0.24

As the CVE record by GitHub_M states it, last updated June 24, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npm@anthropic-ai/claude-code>= 0.2.116, < 1.0.241.0.24GHSA-9f65-56v6-gxw7

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 27, 2025. Summary: Claude Code Improper Authorization via websocket connections from arbitrary origins.

How severe is CVE-2025-52882?

ScoreVersionVectorSource
High 8.8CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-52882 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 24, 2025)
EPSS
0.38% probability of exploitation activity in the next 30 days, percentile 34.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 20, 2025
Published
June 24, 2025, 20:01 UTC
CVE record updated
June 24, 2025, 20:43 UTC by GitHub_M
NVD
Deferred, last modified June 17, 2026, 09:37 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect claude-code?

Every CVE in claude-code

Questions about CVE-2025-52882

Is CVE-2025-52882 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of anthropics claude-code are affected by CVE-2025-52882?

@anthropic-ai/claude-code from 0.2.116 before 1.0.24, per the GitHub advisory GHSA-9f65-56v6-gxw7. The tables above give every range the sources list.

Which version fixes CVE-2025-52882?

1.0.24, per the GitHub advisory GHSA-9f65-56v6-gxw7. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-52882?

High (8.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2025-52882?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.