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.
Published: 2026-07-30
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

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

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard
Vendors & Products Tugcantopaloglu
Tugcantopaloglu openclaw-dashboard

Fri, 31 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 30 Jul 2026 22:30:00 +0000

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'}


Subscriptions

Meshcentral Meshcentral
Tugcantopaloglu Openclaw-dashboard
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:50:43.307Z

Reserved: 2026-07-27T05:16:45.792Z

Link: CVE-2026-66420

cve-icon Vulnrichment

Updated: 2026-07-31T15:54:37.134Z

cve-icon NVD

Status : Received

Published: 2026-07-30T23:16:53.527

Modified: 2026-07-31T16:17:10.740

Link: CVE-2026-66420

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T20:34:22Z

Weaknesses