Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged device token
-
DeliveryCall device.token.rotate
-
ExploitBypass pairing approval, mint unapproved roles
-
ExecutionUse elevated token
-
ImpactAccess role-restricted functions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 | Exploitation requires the attacker to already possess low-privileged authenticated access to an OpenClaw instance (CVSS PR:L) and to invoke the device.token.rotate function; the specific precondition (reflected by AT:P) is that the device token rotation path can preserve or mint roles/scopes without re-running the device role-upgrade pairing approval. Limiting factors: the attacker must have a valid low-level device token to rotate (not fully unauthenticated), and the impact is bounded to OpenClaw's single-user, user-controlled local-assistant trust model - the advisory explicitly does not assume a multi-tenant service boundary, so this does not cross into other tenants or systems (SC/SI/SA:N). No user interaction is needed (UI:N). |
| Impact | The signals are consistent and point to a genuine but non-urgent issue. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H) shows network reach with low attacker privileges already required (PR:L, i.e. authenticated) and an attack requirement (AT:P) reflecting the pairing/rotation precondition, yielding high impact to confidentiality, integrity and availability but with subsequent-system impact at none (SC/SI/SA:N - no scope change to other systems). Real-world exploitation pressure is low: EPSS is 0.04% (11th percentile), the vulnerability is not on CISA KEV, and SSVC records Exploitation: none and Automatable: no. Technical Impact is rated total, which is why the base score stays High (7.7) despite low exploitation likelihood - this is a high-severity-but-low-immediate-threat item. One notable data caveat: the commit diff supplied in the intelligence (commit d7c3210) modifies SSRF/DNS-pinning logic in src/infra/net/fetch-guard.ts, which does not obviously correspond to a role/token-rotation fix; the advisory nonetheless names that commit as the verified fixed tree, so the exact code change for this specific issue should be confirmed against the vendor advisory before drawing code-level conclusions. |
| Exploit ScenarioDerived | An actor who already holds a low-privileged device token invokes device.token.rotate and obtains a rotated token that carries elevated roles or scopes which were never granted through the device role-upgrade pairing approval, then uses that token to perform actions reserved for approved roles. Because CVSS shows AV:N with low complexity but an attack requirement (AT:P) and PR:L, the attacker needs existing low-level access and the right rotation/pairing conditions rather than pure unauthenticated remote access. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Improper authorization in OpenClaw's device.token.rotate function (versions before 2026.4.8) lets a low-privileged actor mint or preserve device tokens carrying roles and scopes that never passed the intended role-upgrade pairing approval, effectively escalating privilege within the assistant's trust model. The flaw was reported by VulnCheck and Tencent Zhuque Lab and carries a CVSS 4.0 base score of 7.7 (High), but there is no public exploit identified at time of analysis and EPSS is negligible (0.04%, 11th percentile). SSVC rates exploitation as none and automatable as no, while technical impact is total.
RemediationAI
Vendor-released patch: 2026.4.8 - upgrade the openclaw npm package to 2026.4.8 or later, which is the version the maintainers verified fixes the device.token.rotate role handling (verified fixed tree commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5). This is the primary and only fully reliable remediation; the advisory provides no official workaround. As interim compensating controls until upgrade, restrict who can invoke device token rotation and treat existing device tokens as suspect by forcing re-pairing/re-issuance so any previously carried-forward unapproved roles are revoked; also review current tokens for roles/scopes that were never approved through the pairing flow and revoke them. The trade-off is operational friction: forcing re-pairing invalidates working device sessions and requires users to re-approve devices. See the GHSA advisory (https://github.com/openclaw/openclaw/security/advisories/GHSA-whf9-3hcx-gq54) and the VulnCheck advisory (https://www.vulncheck.com/advisories/openclaw-role-bypass-in-device-token-rotate-function) for authoritative guidance.
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 a user-controlled local AI assistant distributed as the npm package 'openclaw' (cpe:2.3:a:openclaw:openclaw). The vulnerability class is CWE-863 (Incorrect Authorization): the device.token.rotate routine, whose legitimate purpose is to refresh device credentials, fails to re-validate that the roles/scopes being written into the rotated token were actually approved through the device role-upgrade pairing workflow. Instead of dropping or re-verifying unapproved roles at rotation time, it carries them forward or mints new ones, so token rotation becomes a path around the pairing gate. The GHSA advisory explicitly scopes this to OpenClaw's single-user trust model and states it does not assume a multi-tenant service boundary, meaning the security boundary being broken is role/scope separation within one user's assistant rather than tenant isolation.
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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable but needs an existing low-priv token and specific rotation/pairing conditions, so PR:L and AC:H; role/token compromise gives high C/I/A within the single app, so scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
OpenClaw before 2026.4.8 contains a role bypass vulnerability in the device.token.rotate function that allows minting tokens for unapproved roles. Attackers can bypass device role-upgrade pairing to preserve or mint roles and scopes that had not undergone intended approval.
Executive ViewAI
OpenClaw versions before 2026.4.8 contain a privilege escalation vulnerability (CVE-2026-42422, CVSS 7.7) in device token rotation that allows authenticated low-privileged users to bypass approval controls and escalate access within OpenClaw-managed systems. No public exploit has been identified, but the technical impact is total if exploited. A patch is available and should be deployed to close this access control gap.
Apply vendor patch.
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.
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
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
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
EUVD-2026-26125
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB