Origin Validation Error Affecting cline package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-CLINE-20158397
  • published27 Sept 2026
  • disclosed24 Sept 2026
  • creditUnknown

Introduced: 24 Sep 2026

NewCVE-2026-59723  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

cline is an Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more

Affected versions of this package are vulnerable to Origin Validation Error via missing WebSocket host and origin validation in the cline-hub dashboard server (apps/cline-hub/src/server.ts). An attacker on the same network can connect a malicious browser page to the dashboard WebSocket endpoint without presenting a valid origin or host header, because the server does not validate the Origin or Host of incoming WebSocket upgrade requests before the fix. This allows a cross-site WebSocket hijacking attack where a victim's browser, navigated to an attacker-controlled page, establishes a WebSocket connection to the local dashboard and relays commands, achieving full confidentiality, integrity, and availability impact over the desktop agent.

Note: This is only exploitable in the default configuration where roomSecret is undefined (no secret is set), which is the case when the server binds to the default local host 127.0.0.1.

CVSS Base Scores

version 4.0
version 3.1