Miggo Logo

CVE-2025-52882: Claude Code Improper Authorization via websocket connections from arbitrary origins

8.8

CVSS Score
4.0

Basic Information

EPSS Score
0.11739%
Published
6/23/2025
Updated
6/27/2025
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
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
Package NameEcosystemVulnerable VersionsFirst Patched Version
@anthropic-ai/claude-codenpm>= 0.2.116, < 1.0.241.0.24

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

I was unable to identify the vulnerable functions for this vulnerability. My attempts to retrieve commit information using repository tags and version comparison were unsuccessful, as the repository does not appear to use standard versioning tags that are accessible through the available tools. Without access to the specific commits that patched the vulnerability, I cannot analyze the code changes to pinpoint the exact functions responsible for the improper websocket authorization. The vulnerability lies in the lack of origin validation for websocket connections, but without the code, I cannot determine the function names or file paths. Further investigation would require manual review of the repository's commit history to find the security patch, which is beyond the scope of my current capabilities.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*l*u** *o** *xt*nsions in VS*o** *n* *orks (*.*., *ursor, Win*sur*, *n* VS*o*ium) *n* J*t*r*ins I**s (*.*., Int*lliJ, Py***rm, *n* *n*roi* Stu*io) *r* vuln*r**l* to un*ut*oriz** w**so*k*t *onn**tions *rom *n *tt**k*r w**n visitin* *tt**k*r-*ontroll**

Reasoning

I w*s un**l* to i**nti*y t** vuln*r**l* *un*tions *or t*is vuln*r**ility. My *tt*mpts to r*tri*v* *ommit in*orm*tion usin* r*pository t**s *n* v*rsion *omp*rison w*r* unsu***ss*ul, *s t** r*pository *o*s not *pp**r to us* st*n**r* v*rsionin* t**s t**