CVE-2026-66420

MeshCentral Cross-Site WebSocket Hijacking via Origin Validation Bypass on Self-Signed Certificate Deployments

Published Jul 30, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
MeshCentral 1.1.21 contains a cross-site WebSocket hijacking protection bypass vulnerability that allows unauthenticated remote attackers to hijack authenticated administrator sessions by exploiting an unconditional early return in the CheckWebServerOriginName() function within webserver.js when self-signed certificates are in use. Attackers can open cross-origin WebSocket connections to any of the twelve WebSocket endpoints, send crafted action commands to exfiltrate the server sessionKey used to sign session cookies, forge session tokens as arbitrary users, and gain full remote control of all managed devices governed by the MeshCentral instance.

Analysis

AI-generated

Technical impact

MeshCentral 1.1.21 contains an unconditional early return in CheckWebServerOriginName() that bypasses the origin validation for WebSocket requests when the server is using a self‑signed certificate. An unauthenticated attacker can open a cross‑origin WebSocket connection to any of the twelve exposed endpoints, send specially crafted action commands, capture the sessionKey that signs the session cookie, forge session tokens of arbitrary users, and consequently gain full administrative control over every device managed by the MeshCentral instance. CWE‑346 indicates this flaw is an authentication bypass via missing or incorrect verification of the origin header.

Affected Systems

The vulnerability is present in MeshCentral version 1.1.21; all instances deployed with that version and a self‑signed certificate are affected.

Risk and Exploitability

The CVSS score of 8.6 classifies this flaw as High. The EPSS score of <1% indicates a very low but nonzero probability of exploitation, and it is not listed in the CISA KEV catalog. Attackers can exploit the flaw without valid credentials by simply hosting a malicious page that initiates a WebSocket connection to the target server, making the exploitation vector web‑based and easy to automate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch from commit f04c9f4 to address the origin check logic
  • Upgrade MeshCentral to a version released after 1.1.21 or a version that removes the self‑signed certificate handling for WebSocket origins
  • Configure the deployment to use a trusted certificate authority for HTTPS instead of a self‑signed certificate, or block cross‑origin WebSocket access via firewall or reverse proxy rules

Generated by OpenCVE AI on August 2, 2026 at 04:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Meshcentral
Meshcentral meshcentral
CPEs cpe:2.3:a:meshcentral:meshcentral:1.1.21:*:*:*:*:*:*:*
Vendors & Products Meshcentral
Meshcentral meshcentral
Type Values Removed Values Added
First Time appeared Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard
Vendors & Products Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description MeshCentral 1.1.21 contains a cross-site WebSocket hijacking protection bypass vulnerability that allows unauthenticated remote attackers to hijack authenticated administrator sessions by exploiting an unconditional early return in the CheckWebServerOriginName() function within webserver.js when self-signed certificates are in use. Attackers can open cross-origin WebSocket connections to any of the twelve WebSocket endpoints, send crafted action commands to exfiltrate the server sessionKey used to sign session cookies, forge session tokens as arbitrary users, and gain full remote control of all managed devices governed by the MeshCentral instance.
Title MeshCentral Cross-Site WebSocket Hijacking via Origin Validation Bypass on Self-Signed Certificate Deployments
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:18 PM
Reserved
Jul 27, 2026, 5:16 AM
Status
Awaiting Analysis
Published
Jul 30, 2026, 11:16 PM
Modified
Sep 9, 2026, 8:26 PM