Openclaw
CVE-2026-40045
MEDIUM
Severity by source
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
4Blast Radius
ecosystem impact- 5 npm packages depend on openclaw (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.4.2.
DescriptionCVE.org
OpenClaw before 2026.4.2 accepts non-loopback cleartext ws:// gateway endpoints and transmits stored gateway credentials over unencrypted connections. Attackers can forge discovery results or craft setup codes to redirect clients to malicious endpoints, disclosing plaintext gateway credentials.
AnalysisAI
OpenClaw before version 2026.4.2 transmits stored gateway credentials over unencrypted WebSocket (ws://) connections when accepting non-loopback endpoints, allowing adjacent network attackers with user interaction to forge discovery results or craft malicious setup codes that redirect clients to attacker-controlled endpoints and exfiltrate plaintext credentials. No public exploit code has been identified, but the vulnerability requires proximity to the target network and user interaction to trigger the credential disclosure.
Technical ContextAI
OpenClaw uses WebSocket connections to communicate with gateway endpoints for discovery and credential exchange. The vulnerability stems from CWE-319 (Cleartext Transmission of Sensitive Information), where the application fails to enforce encrypted WebSocket (wss://) connections or restrict endpoints to loopback-only addresses. Attackers on the same network segment (AV:A) can intercept or redirect WebSocket traffic by forging service discovery results or crafting setup codes. The application transmits gateway credentials-sensitive authentication material-in plaintext over these unencrypted channels, making them recoverable by passive network monitoring or active man-in-the-middle attacks. The AT:P flag (passive threat) indicates the attack requires network positioning but not active traffic manipulation to be discovered; UI:P (passive user interaction) means the victim must perform normal workflow actions like initiating gateway discovery or setup without recognizing the malicious endpoint.
RemediationAI
Upgrade OpenClaw to version 2026.4.2 or later, which enforces encrypted WebSocket (wss://) connections and restricts non-loopback gateway endpoints. Administrators should update immediately via the standard release channel. Until patching is complete, limit access to gateway discovery and setup interfaces to trusted network zones only-disable guest network access to systems running OpenClaw clients, enforce VLAN segmentation to isolate OpenClaw deployments from untrusted networks, and implement network monitoring for unencrypted WebSocket traffic (ws://) as a compensating control to detect active exploitation. These mitigations have operational trade-offs: network isolation may complicate legitimate remote administration workflows, and traffic monitoring adds overhead to network infrastructure but provides early warning of compromise attempts. The patch is the definitive fix and should be prioritized; network-level controls are interim measures.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today