Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cline
  4. ›
  5. CVE-2026-59723

CVE-2026-59723: Cline: Cross-Origin WebSocket Hijacking in Cline Hub Dashboard (`/browser` endpoint)

September 24, 2026

The Cline Hub dashboard server (@cline/cline-hub), launched via the cline dashboard CLI command, accepts WebSocket connections on the /browser endpoint without validating the HTTP Origin header. When ROOM_SECRET is not set—the default for local (127.0.0.1) binds—isAuthorizedBrowserRequest() returns true unconditionally, allowing any website a developer visits to open a cross-origin WebSocket to ws://127.0.0.1:8787/browser. An attacker-controlled page can then send desktopCommand frames to read workspace/session state, mutate MCP and provider settings, and—because dashboard sessions default to autoApprove: true for all tools—trigger arbitrary command execution when a provider/model is configured. Dynamically confirmed: an upsert_mcp_server frame injected a malicious stdio MCP server entry into the victim’s Cline settings file with ok: true response.

References

  • github.com/advisories/GHSA-3cj3-hqcr-g934
  • github.com/cline/cline/commit/d09270940f5746f288cfc4a5039b46a2f4d5d01e
  • github.com/cline/cline/pull/11724
  • github.com/cline/cline/releases/tag/cli-v3.0.30
  • github.com/cline/cline/security/advisories/GHSA-3cj3-hqcr-g934
  • nvd.nist.gov/vuln/detail/CVE-2026-59723

Code Behaviors & Features

Detect and mitigate CVE-2026-59723 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.30

Fixed versions

  • 3.0.30

Solution

Upgrade to version 3.0.30 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

npm/cline/CVE-2026-59723.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:23:39 +0000.