CVE-2026-59723
Undergoing Analysis Undergoing Analysis - In Progress

Cline Hub Dashboard WebSocket Origin Validation Bypass

Vulnerability report for CVE-2026-59723, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-10

Assigner: GitHub, Inc.

Description

Cline is an autonomous coding agent as an SDK, IDE extension, or CLI assistant. Prior to 3.0.30, the Cline Hub dashboard server launched by the cline dashboard command accepts WebSocket connections on the /browser endpoint without validating the Origin header, and when ROOM_SECRET is unset for local 127.0.0.1 binds, isAuthorizedBrowserRequest() allows attacker-controlled websites to send desktopCommand frames that read workspace state, mutate MCP and provider settings, and trigger command execution when a provider or model is configured. This issue is fixed in version 3.0.30.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-10
Generated
2026-07-12
AI Q&A
2026-07-09
EPSS Evaluated
2026-07-10
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
cline cline to 3.0.30 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-346 The product does not properly verify that the source of data or communication is valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Detection Guidance

This vulnerability can be detected by monitoring WebSocket connections to the Cline Hub dashboard's /browser endpoint, especially those originating from unexpected or external origins. Since the issue involves acceptance of WebSocket connections without validating the Origin header, you can look for WebSocket upgrade requests to ws://127.0.0.1:8787/browser or similar local addresses that do not include proper Origin headers.

To detect potential exploitation attempts or presence of the vulnerable service, you can use network inspection tools or commands to observe WebSocket traffic and HTTP headers.

  • Use netstat or ss to check if the Cline dashboard server is listening on the expected port (default 8787): - netstat -an | grep 8787 - ss -tuln | grep 8787
  • Use curl or similar tools to attempt a WebSocket handshake and inspect headers: - curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Origin: http://malicious.example.com" http://127.0.0.1:8787/browser
  • Use browser developer tools or WebSocket inspection tools to monitor WebSocket connections to the /browser endpoint and check if Origin headers are missing or not validated.

If you observe WebSocket connections accepted from unexpected origins or without proper Origin validation, or if the ROOM_SECRET environment variable is unset on local binds, your system may be vulnerable.

Executive Summary

This vulnerability affects the Cline Hub dashboard server prior to version 3.0.30. The server accepts WebSocket connections on the /browser endpoint without validating the Origin header. When the ROOM_SECRET is unset for local 127.0.0.1 binds, the isAuthorizedBrowserRequest() function allows attacker-controlled websites to send desktopCommand frames. These frames can read the workspace state, change MCP and provider settings, and trigger command execution if a provider or model is configured.

Impact Analysis

This vulnerability can have a severe impact as it allows attackers to remotely execute commands, read sensitive workspace information, and modify critical settings within the Cline environment. This can lead to unauthorized access, data manipulation, and potentially full compromise of the affected system.

Mitigation Strategies

To mitigate this vulnerability, upgrade Cline to version 3.0.30 or later, where the issue is fixed.

Ensure that the ROOM_SECRET environment variable is set when binding the dashboard server to local 127.0.0.1 addresses to prevent unauthorized access.

Compliance Impact

The vulnerability allows attacker-controlled websites to send desktopCommand frames that can read workspace state, mutate settings, and trigger command execution. This can lead to unauthorized access and manipulation of sensitive data and system configurations.

Such unauthorized access and potential data exposure or alteration could negatively impact compliance with standards and regulations like GDPR and HIPAA, which require strict controls over data confidentiality, integrity, and access.

However, the provided information does not explicitly mention compliance impacts or specific regulatory considerations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59723. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart