gcdRadar
archive/Patch now/AIR-2025-0298
closedclosed 23 Jun 2025Patch now2 Disclosed vulnerabilityAI

CVE-2025-52882: Claude Code improper authorization via websocket connections

Claude Code

Claude Code extensions for IDEs suffer from an improper authorization vulnerability in websocket connections from arbitrary origins. An attacker can exploit this to read arbitrary files and inspect IDE state.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
8.8
EPSS
<0.01 · top 71% · 2026-11-13
fix status
Fix status unknown
first report
23 Jun 2025
last update
24 Jun 2025

Timeline · 2

  1. 23 Jun 2025CVE-2025-52882: Claude Code Improper Authorization via websocket connections from arbitrary origins
  2. 24 Jun 2025CVE-2025-52882: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2025-06-23
    CVE-2025-52882: Claude Code Improper Authorization via websocket connections from arbitrary origins
    GitHub Advisory Database · github.com/advisories/GHSA-9f65-56v6-gxw7
  2. 2025-06-24
    CVE-2025-52882: Claude Code is an agentic coding tool.
    NVD · nvd.nist.gov/vuln/detail/CVE-2025-52882

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerabilityAgent hijack
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Anthropic, Framework / tooling
dates
happened 23 Jun 2025 · first reported 23 Jun 2025
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2025-52882: Claude Code improper authorization via websocket connections

https://gcdradar.vercel.app/incidents/cve-2025-52882-claude-code-improper-authorization-via-websoc · AIR-2025-0298 · closed 2025-06-23

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2025-06-23
- AI role: Attack on AI
- Products: Claude Code
- CVE ids: CVE-2025-52882
- CVSS: 8.8

## Summary

Claude Code extensions for IDEs suffer from an improper authorization vulnerability in websocket connections from arbitrary origins. An attacker can exploit this to read arbitrary files and inspect IDE state.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2025-06-24: CVE-2025-52882: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2025-52882)
- 2025-06-23: CVE-2025-52882: Claude Code Improper Authorization via websocket connections from arbitrary origins (https://github.com/advisories/GHSA-9f65-56v6-gxw7)

## Sources

- 2025-06-23 GitHub Advisory Database: CVE-2025-52882: Claude Code Improper Authorization via websocket connections from arbitrary origins https://github.com/advisories/GHSA-9f65-56v6-gxw7
- 2025-06-24 NVD: CVE-2025-52882: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2025-52882

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed8.7
    Claude Code + SDKs CVE-2025-54795: Claude Code Command Prompt Execution Bypass

    Patch now · Disclosed · since 4 Aug 2025 · updated 5 Aug 2025 · CVE-2025-54795

    AI
  2. closed7.7
    Claude Code + SDKs CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability

    Patch now · Disclosed · since 4 Aug 2025 · updated 5 Aug 2025 · CVE-2025-54794

    AI
  3. closed9.1
    Claude Code + SDKs CVE-2026-54316: Claude Code Out-of-Band Data Exfiltration via WebFetch

    Patch now · Disclosed · since 17 Jun 2026 · updated 23 Jun 2026 · CVE-2026-54316

    AI
  4. closed9.3
    AI
  5. closed8.7
    Claude Code + SDKs CVE-2025-66032: Claude Code Command Validation Bypass

    Patch now · Disclosed · since 3 Dec 2025 · CVE-2025-66032

    AI
  6. closed8.7
    Claude Code + SDKs CVE-2025-64755: Anthropic Claude Code Sed Command Validation Bypass

    Patch now · Disclosed · since 20 Nov 2025 · updated 21 Nov 2025 · CVE-2025-64755

    AI