CVE-2026-59723: Cross-Origin WebSocket Hijacking in Cline Hub Dashboard Server
Vulnerability ID: CVE-2026-59723
CVSS Score: 8.8
Published: 2026-09-24
A critical Cross-Origin WebSocket Hijacking (CSWSH) vulnerability exists in the Cline Hub dashboard server (@cline/cline-hub) prior to version 3.0.30. By exploiting a complete lack of Origin header validation and an insecure default configuration where ROOM_SECRET is unset, an attacker can hijack the local WebSocket connection via a malicious website. This enables unauthorized arbitrary command execution through desktopCommand frames, leading to remote code execution on the host machine.
TL;DR
Unauthenticated Cross-Origin WebSocket Hijacking in local @cline/cline-hub servers allows remote websites to execute arbitrary system commands on a developer's workstation via crafted WebSocket frames.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-346
- Attack Vector: Adjacent (delivered via browser client)
- CVSS Score: 8.8
- EPSS Score: 0.00249
- Exploit Status: poc
- KEV Status: Not Listed
Affected Systems
Code Analysis
Commit: d092709
Strict route and WebSocket upgrade validation to prevent Cross-Origin WebSocket Hijacking
Mitigation Strategies
- Upgrade @cline/cline-hub to 3.0.30 or newer
- Set a high-entropy ROOM_SECRET environment variable
- Restrict localhost port access using firewall configurations
Remediation Steps:
- Verify currently installed version of cline using
cline --version - Run
npm update -g @cline/cline-hubor the equivalent package manager command to upgrade to version 3.0.30 or higher - Configure the ROOM_SECRET environment variable to secure local setups
- Re-launch the dashboard with the updated package
References
- GHSA-3cj3-hqcr-g934: Cross-Origin WebSocket Hijacking in @cline/cline-hub
- GitHub Pull Request #11724
- GitHub Commit d09270940f5746f288cfc4a5039b46a2f4d5d01e
- Official Patch Diff File
- Cline v3.0.30 Release Notes
- National Vulnerability Database Entry
- MITRE CVE Record
Read the full report for CVE-2026-59723 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)