Skip to main content

OpenClaw CVE-2026-42421

| EUVDEUVD-2026-26124 LOW
Insufficient Session Expiration (CWE-613)
2026-04-28 VulnCheck
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 shared gateway token
  2. Delivery
    Establish WebSocket session before rotation
  3. Exploit
    Admin or user rotates gateway token
  4. Execution
    Server fails to invalidate existing session
  5. Impact
    Attacker maintains persistent unauthorized WebSocket access

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 the attacker to first obtain a valid shared gateway token and establish an active WebSocket connection to the OpenClaw instance before token rotation occurs. The vulnerability is only exploitable in the window where the token has been rotated but the application process has not been restarted - the attacker's session must be live at the exact moment of rotation. Exploitation is further scoped to OpenClaw's single-tenant trust model; the advisory explicitly states the analysis does not assume a multi-tenant service boundary, meaning the attacker is within the same trust context as the user. CVSS PR:L confirms low-privilege authenticated access is required; AT:P (attack requirements present in CVSS 4.0) confirms specific conditions - concurrent live session and rotation event - must align simultaneously. SSVC confirms exploitation is not automatable.

Impact

All available signals converge on low real-world risk. CVSS 4.0 scores 2.3, the lowest severity band. EPSS is 0.03% (7th percentile), indicating virtually no observed exploitation activity. CISA SSVC classifies exploitation as none and technical impact as partial, with automatable: no, meaning mass exploitation is not mechanically feasible. No public exploit code has been identified at time of analysis. The vulnerability is further constrained by OpenClaw's own trust model: as a user-controlled local assistant rather than a shared multi-tenant service, the realistic attacker population is limited to someone who has already obtained a shared gateway token and established an active WebSocket session before rotation occurs. CVSS PR:L confirms authenticated access is required and AT:P confirms additional prerequisites must align. Security teams should patch at the next maintenance cycle but need not treat this as an emergency response.

Exploit ScenarioDerived

An attacker who previously obtained a shared gateway token establishes a WebSocket connection to an OpenClaw instance. When the legitimate user or administrator rotates the gateway token intending to revoke that access, the attacker's WebSocket session continues operating without interruption, maintaining low-level read and write access to the session until the connection is closed by other means. No public exploit code exists for this scenario.

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, an npm-distributed local AI assistant, fails to terminate existing WebSocket sessions when the shared gateway token is rotated, allowing a party who previously obtained a shared token to maintain persistent WebSocket access even after that token has been revoked through rotation. All releases prior to 2026.4.8 are affected. The CVSS 4.0 score of 2.3 with AT:P reflects specific conditions required - a pre-existing authenticated session plus a concurrent rotation event - and no public exploit code exists; CISA SSVC classifies exploitation status as none, consistent with the 0.03% EPSS score.

RemediationAI

Upgrade the openclaw npm package to version 2026.4.8, which is the vendor-confirmed patched release, verified by the maintainers with targeted regression tests before publication. The upstream fix commit is d7c3210cd6f5fdfdc1beff4c9541673e814354d5 (https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5). If an immediate upgrade is not possible, operators can mitigate by restarting the OpenClaw process after each token rotation, which forces all existing WebSocket sessions to close and re-authenticate against the new token; the trade-off is a brief service interruption for active connections. See the vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-5h3f-885m-v22w for full details.

Affected VersionsENISA

OpenClaw 0 <2026.4.8

Affected Packages

npm openclaw fix: 2026.4.8

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 (npm package identifier: openclaw) is a user-controlled local AI assistant. The vulnerability stems from CWE-613 (Insufficient Session Expiration): the session invalidation logic triggered by shared gateway token rotation does not walk and terminate existing WebSocket connections established under the old token. WebSocket connections are long-lived by design and do not re-authenticate on each message, so unless the server explicitly closes them on credential change, they remain open indefinitely. CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:* covers all versions; the vendor advisory GHSA-5h3f-885m-v22w narrows the confirmed vulnerable range to npm/openclaw <= 2026.4.1. The trust model is explicitly user-controlled and single-tenant - the advisory states it does not assume a multi-tenant service boundary, which materially constrains the attack surface.

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

AC:H because exploitation requires a pre-existing authenticated session aligned with a concurrent token rotation event; PR:L for the required shared-token credential; no availability impact.

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 28, 2026 - 19:52 NVD
MEDIUM LOW
CVSS changed
Apr 28, 2026 - 19:52 NVD
5.4 (MEDIUM) 2.3 (LOW)
Patch released
Apr 28, 2026 - 19:30 nvd
Patch available
CVE Published
Apr 28, 2026 - 18:10 nvd
LOW 2.3

DescriptionCVE.org

OpenClaw before 2026.4.8 contains a session management vulnerability where existing WebSocket sessions survive shared gateway token rotation. Attackers can maintain unauthorized access to WebSocket connections after token rotation by exploiting the failure to disconnect existing shared-token sessions.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
niche npm local AI assistant, limited 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