Skip to main content

OpenClaw CVE-2026-41356

| EUVDEUVD-2026-25340 LOW
Insufficient Session Expiration (CWE-613)
2026-04-23 VulnCheck GHSA-wwc3-c577-533m
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain compromised device operator token
  2. Delivery
    Establish authenticated WebSocket session to gateway
  3. Exploit
    Victim operator calls device.token.rotate
  4. Execution
    Old session persists despite credential rotation
  5. Impact
    Maintain unauthorized gateway access until connection drops

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires two concrete prerequisites: (1) the attacker must already possess valid device credentials (prior credential compromise - reflected in PR:L), and (2) the attacker must have an established, active WebSocket session to the OpenClaw gateway at the moment the victim operator calls device.token.rotate. The vulnerability is inert without both conditions being simultaneously true - it cannot provide initial access and is not exploitable by unauthenticated parties. The attack requirement AT:P in the CVSS 4.0 vector captures the timing dependency: the attacker's session must be live during the rotation event. What limits exploitation: (a) prior credential theft is required as a prerequisite; (b) the exposure window closes when the WebSocket connection terminates naturally or the gateway restarts; (c) the attack is not automatable per SSVC; (d) exploitation only makes sense if the operator is actively attempting revocation - a scenario where the attacker is already partially detected.

Impact

The CVSS 4.0 score of 2.3 with vector AV:N/AC:L/AT:P/PR:L/UI:N is materially aligned with the actual threat: exploitation demands prior credential compromise (PR:L) and requires an active WebSocket session to be in flight at the moment of token rotation (AT:P - specific attack requirement present), making the attack conditional and non-automatable. SSVC corroborates: exploitation=none, not automatable, technical impact=partial. EPSS at 0.03% (7th percentile) signals near-zero probability of opportunistic exploitation. This is not a CVSS-high-but-low-real-risk discrepancy - the raw score is already low and accurately reflects a narrow post-compromise revocation control weakness. The real-world risk window closes whenever the WebSocket connection drops naturally or the gateway process restarts, further limiting exposure duration. No KEV listing, no public exploit, and no evidence of in-the-wild abuse. The primary risk is to operators who rely on token rotation as an active revocation mechanism to evict a known-compromised session; for all other threat models this vulnerability has negligible impact.

Exploit ScenarioDerived

An attacker who has previously stolen a device operator token establishes a WebSocket connection to the OpenClaw gateway. The operator, detecting the compromise, calls device.token.rotate intending to evict the attacker. On versions before 2026.3.31, the rotation succeeds in the data store but the attacker's live socket - already authenticated - continues to receive and send messages unchallenged until the connection drops naturally or the gateway is restarted. No public exploit code is identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

OpenClaw's gateway device.token.rotate method rotates device credentials without disconnecting live WebSocket sessions authenticated under the old token, leaving a post-compromise revocation gap in all npm openclaw releases up to and including 2026.3.28. An attacker who has already obtained valid device credentials and established an active WebSocket connection can maintain unauthorized gateway access indefinitely after an operator rotates the token - effectively nullifying the revocation action. No public exploit exists and CISA SSVC rates exploitation as none with partial technical impact; the low CVSS 4.0 score of 2.3 and EPSS of 0.03% (7th percentile) confirm this as a low-priority, post-compromise control gap rather than an initial access vector.

RemediationAI

Upgrade the openclaw npm package to version 2026.3.31 or later; this is the first stable release containing fix commit 91f7a6b0fd67b703897e6e307762d471ca09333d (https://github.com/openclaw/openclaw/commit/91f7a6b0fd67b703897e6e307762d471ca09333d), which adds active session disconnection after every token rotation. If an immediate upgrade is not feasible, operators can achieve equivalent revocation by restarting the gateway process after rotating a device token - this forces all existing WebSocket connections to close, eliminating any residual authenticated sessions; the trade-off is a brief service interruption and reconnection overhead for all connected devices. Refer to the full security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-rfqg-qgf8-xr9x for maintainer guidance.

Affected VersionsENISA

OpenClaw 0 <2026.3.31

Affected Packages

npm openclaw fix: 2026.3.31

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 gateway framework (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) that manages device pairing and token-based WebSocket authentication. The root cause is CWE-613 (Insufficient Session Expiration): the device.token.rotate server method updated the stored credential in the data store but did not invoke any session-layer teardown for existing connections authenticated with the old token. WebSocket sessions in Node.js persist until explicitly closed or the connection drops naturally, so without an explicit disconnectClientsForDevice() call the live socket remains authenticated. The fix commit (91f7a6b) adds a queueMicrotask() call immediately after rotation that invokes context.disconnectClientsForDevice(deviceId, { role }), ensuring active sessions are severed at the next event-loop tick rather than waiting for natural connection teardown. Test coverage in devices.test.ts was simultaneously added to assert that disconnectClientsForDevice is called with the correct device and role after every rotation.

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

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

Prior credential compromise required (PR:L) and exploitation depends on a live session existing at rotation time (AC:H); no availability impact and no scope change.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 23, 2026 - 22:28 NVD
MEDIUM LOW
CVSS changed
Apr 23, 2026 - 22:28 NVD
5.4 (MEDIUM) 2.3 (LOW)
Patch released
Apr 23, 2026 - 22:15 nvd
Patch available
CVE Published
Apr 23, 2026 - 21:58 nvd
LOW 2.3

DescriptionCVE.org

OpenClaw before 2026.3.31 fails to terminate active WebSocket sessions when rotating device tokens. Attackers with previously compromised credentials can maintain unauthorized access through existing WebSocket connections after token rotation.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on openclaw (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.31.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
niche npm gateway package, limited known enterprise footprint
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy