AAK-MCP-CLINE-CVE-2026-59723-001: Cline below 3.0.30 (Hub dashboard WebSocket origin bypass → RCE)
- Severity
- HIGH
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
ClineHubDashboardOriginBypass
What it detects
The Cline (cline) Hub dashboard server before 3.0.30 accepts WebSocket connections on /browser without validating the Origin header, and when ROOM_SECRET is unset on a local 127.0.0.1 bind, isAuthorizedBrowserRequest() lets an attacker-controlled website send desktopCommand frames that read workspace state, mutate MCP and provider settings, and trigger command execution once a provider/model is configured (CVE-2026-59723, CVSS 8.8). Fixed in 3.0.30.
How to fix
Upgrade cline to >= 3.0.30 and pin it. Do not run the Hub dashboard on an untrusted network; set ROOM_SECRET and require Origin validation on the dashboard WebSocket.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-CLINE-CVE-2026-59723-001
Limitations
Reads cline in requirements*.txt at any depth and, at the project root only, in pyproject.toml, Pipfile, package.json, .mcp.json, mcp.json, claude_desktop_config.json and the Pipfile.lock, poetry.lock, uv.lock, package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles, taking the lowest version a range allows and reporting a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (packages/app/package.json) or in a lockfile format the reader does not parse (a Yarn 2+ yarn.lock). A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.
References
- CVE: CVE-2026-59723
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP07:2025 (Insufficient Authentication & Authorization)
- OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-AUTH-01 (Missing Authentication)
- CSA AI Controls Matrix (AICM): IAM-01, STA-08
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-CLINE-CVE-2026-59723-001.md: the page then shows that text, with the registry reference appended under it.