Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write-scoped gateway credentials
-
DeliveryAuthenticate to OpenClaw gateway
-
ExploitSend crafted /dreaming toggle request
-
ExecutionBypass admin scope check in vulnerable handler
-
PersistPersist admin-class configuration mutation
-
ImpactEscalate to administrative control of memory dreaming settings
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated network access with operator.write scope credentials to an OpenClaw gateway instance running vulnerable versions 2026.4.5 through 2026.4.9. Specifically, the attacker must possess valid gateway client credentials with write scope but not admin scope-environments using only admin-scoped accounts or unauthenticated access are not exploitable via this path. The /dreaming endpoint must be accessible to the authenticated session (not blocked by external firewall/proxy rules). Exploitation occurs against default configurations where write-scoped operators can reach the endpoint; no special feature enablement required beyond standard gateway operation. User interaction is not required (UI:N). Limiting factors: network accessibility to the gateway (typically requires internal network or VPN access in production deployments), credential theft or insider threat prerequisite, and deployment model (single-tenant instances with unified privilege levels face lower risk than multi-tenant or role-separated environments). |
| Impact | Real-world risk is moderate and context-dependent. CVSS 7.1 (High) reflects network accessibility, low complexity (AV:N/AC:L), and high integrity impact (VI:H), but exploitation requires authenticated credentials (PR:L). The attack cannot be automated against arbitrary targets-attackers must first obtain legitimate write-scoped gateway credentials, limiting opportunistic mass exploitation. EPSS data not provided, but the specificity of required context (authenticated gateway access to an npm-distributed AI platform) suggests low widespread exploitation probability. No CISA KEV listing confirms this is not yet exploited at scale. The GitHub Security Advisory (GHSA-5gjc-grvm-m88j) and commit 6af17b39 confirm both the vulnerability details and patch availability. Primary risk applies to multi-tenant OpenClaw deployments where write-scoped operators should not control admin-class settings-single-tenant or tightly controlled environments face lower practical risk. The 'Authentication Bypass' tag is somewhat misleading; this is privilege escalation within an authenticated session, not authentication bypass. Prioritize patching in environments where operator roles are segregated and untrusted users hold write credentials. |
| Exploit ScenarioDerived | An attacker with compromised or insider write-scoped gateway credentials (operator.write) authenticates to the OpenClaw gateway and sends a crafted request to the /dreaming endpoint with a toggle command (e.g., POST /dreaming with 'on' or 'off' parameter). The vulnerable handler in dreaming-command.ts processes the request without validating gatewayClientScopes, allowing the write-scoped session to persist admin-class configuration changes. The attacker escalates to admin-level control over memory dreaming settings, potentially enabling data persistence manipulation, configuration tampering, or further privilege escalation via modified dreaming behavior. No public exploit code identified at time of analysis, but the GitHub commit diff provides clear implementation details for proof-of-concept development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 05, 2026
OpenClaw npm package versions 2026.4.5 through 2026.4.9 allow privilege escalation from write-scoped operators to administrator-level configuration access. Authenticated attackers with 'operator.write' gateway credentials can modify persistent memory dreaming settings via the /dreaming endpoint, bypassing intended admin-only restrictions. Vendor-released patch available (v2026.4.10); no active exploitation confirmed at time of analysis.
Earlier versions of this analysis (1)
Privilege escalation in OpenClaw versions 2026.4.5 through 2026.4.9 allows write-scoped operators to escalate privileges by modifying persistent memory dreaming settings through the /dreaming endpoint. Attackers with write-scoped gateway access can toggle admin-class configuration mutations intended to be restricted to admin-scope operators only. Vendor-released patch version 2026.4.10 restricts /dreaming persistence to operator.admin scope and treats missing gateway client scopes as unprivileged.
RemediationAI
Upgrade to OpenClaw version 2026.4.10 or later via npm (npm update openclaw or npm install openclaw@2026.4.10). The latest stable release 2026.4.14 includes the fix from commit 6af17b39e11f5f35e23b7e5a5f71a7d0aa3c7310 and PR #63872. Installation instructions and release notes are available at the vendor advisory https://github.com/openclaw/openclaw/security/advisories/GHSA-5gjc-grvm-m88j. If immediate patching is not feasible, restrict /dreaming endpoint access at the gateway/reverse proxy layer to admin-scoped clients only, or disable the dreaming feature entirely via configuration until upgrade (verify disable method in OpenClaw documentation as this workaround may impact memory persistence functionality). Review audit logs for unauthorized /dreaming invocations by write-scoped accounts between deployment of versions 2026.4.5-2026.4.9 and patch application. Restricting endpoint access trades memory dreaming capabilities for write-scoped users but prevents privilege escalation; disabling dreaming system-wide may degrade AI memory features.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenClaw is an npm-distributed AI gateway platform with role-based access control for configuration management. The vulnerability stems from CWE-862 (Missing Authorization), where the /dreaming endpoint handler failed to validate caller scope before persisting configuration mutations. The dreaming subsystem controls memory persistence behavior-a privileged setting intended for operator.admin scope only. The flaw occurred in the dreaming-command.ts handler and chat.ts gateway dispatcher: write-scoped clients could invoke persistent config changes, and missing gatewayClientScopes were silently treated as privileged rather than unprivileged. The affected package (cpe:2.3:a:openclaw:openclaw) distributed via npm ecosystem allows granular scope assignment (operator.write, operator.admin) for gateway clients, but the authorization check was absent in the configuration persistence path.
Know when Openclaw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
OpenClaw versions 2026.4.5 before 2026.4.10 contain a privilege escalation vulnerability allowing write-scoped operators to modify persistent memory dreaming settings. Attackers with write-scoped gateway access can toggle admin-class configuration mutations through the /dreaming endpoint to escalate privileges.
Executive ViewAI
OpenClaw npm package versions 2026.4.5-2026.4.9 contain a privilege escalation vulnerability allowing write-scoped operators to gain administrative access to system configuration. Organizations using affected versions face unauthorized modification of critical gateway settings by internal users with limited permissions, requiring immediate remediation to prevent unauthorized system changes.
Apply vendor patch to v2026.4.10 or later. If immediate patching is not possible, restrict network access to the /dreaming endpoint at the gateway level and audit operator.write credential assignments to only trusted personnel.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
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
EUVD-2026-27287
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB