Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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
Network-reachable /hooks/agent endpoint, low complexity, requires a valid hook token (PR:L), no user interaction; owner-scope MCP access yields high C/I and limited availability impact via cron-state changes.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.5.20.
DescriptionCVE.org
OpenClaw before 2026.5.20 contains a privilege escalation vulnerability where hook-triggered agent runs incorrectly receive owner-scoped MCP loopback authority instead of hook-appropriate scope. Attackers with a valid hook token can exploit the /hooks/agent endpoint to cause spawned CLI runtimes to access or invoke owner-only MCP tools, potentially executing privileged actions like persistent cron state modifications.
AnalysisAI
Privilege escalation in OpenClaw before 2026.5.20 allows attackers holding a valid hook token to invoke owner-only MCP tools through the /hooks/agent endpoint, because hook-triggered agent runs are incorrectly granted owner-scoped MCP loopback authority. Successful exploitation lets a low-privileged hook caller execute privileged actions such as modifying persistent cron state, with no public exploit identified at time of analysis.
Technical ContextAI
OpenClaw exposes a hook-driven agent execution surface (/hooks/agent) that spawns CLI runtimes connected to MCP (Model Context Protocol) tools over a loopback channel. The defect is a CWE-266 (Incorrect Privilege Assignment): when a run is initiated via a hook token rather than by the owner, the spawned CLI runtime still inherits the owner's MCP loopback scope instead of a narrower hook-appropriate scope, so the privilege boundary between hook callers and the workspace owner collapses at the MCP authorization layer. The CPE 'cpe:2.3:a:openclaw:openclaw:*' indicates all versions prior to the fix release 2026.5.20 are in scope.
RemediationAI
Vendor-released patch: upgrade OpenClaw to 2026.5.20 or later, per the GHSA-6fvr-66p3-3qj4 advisory (https://github.com/openclaw/openclaw/security/advisories/GHSA-6fvr-66p3-3qj4). Until upgrade is possible, treat hook tokens as owner-equivalent: revoke or rotate any hook tokens issued to less-trusted principals, restrict network access to the /hooks/agent endpoint (for example via a reverse-proxy ACL or firewall rule limiting it to trusted automation sources), and where feasible disable hook-triggered agent runs entirely - accepting that this will break any automation that depends on hook-driven CLI execution. Monitor MCP tool invocations originating from hook-spawned runtimes (notably cron-state mutations) for anomalies as a detective control while the patch is rolled out.
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 weakness CWE-266 – Incorrect Privilege Assignment
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36320
GHSA-6fvr-66p3-3qj4