Skip to main content

OpenClaw EUVDEUVD-2026-25324

| CVE-2026-41340 MEDIUM
Incomplete Internal State Distinction (CWE-372)
2026-04-23 VulnCheck GHSA-q85g-cf2c-5gq6
6.3
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker holds trust in legacy default-account allowFrom store
  2. Delivery
    Administrator runs doctor migration on OpenClaw <=2026.3.28 with multiple named Telegram accounts
  3. Exploit
    Migration fans allowFrom to all named accounts indiscriminately
  4. Execution
    Attacker sends Telegram commands to named accounts
  5. Impact
    Unauthorized named-account access achieved

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Three specific conditions must all be present: (1) the OpenClaw instance must have executed the doctor state migration on a version at or below 2026.3.28 - systems that have not yet run migration or that were freshly installed on 2026.3.31+ are not affected; (2) the configuration must define at least one named Telegram account beyond the default - single-account deployments have no additional trust boundary to violate; and (3) the attacker must already be listed in the legacy pairingAllowFrom trust store for the default account, meaning they were previously an authorized Telegram principal on that default account. Exploitation is limited to Telegram channel interactions and does not grant OS-level access, affect other channels, or impact availability. No user interaction is required once the migration has run.

Impact

Real-world risk is low despite a network-accessible attack vector. EPSS exploitation probability is 0.06% (19th percentile), CISA SSVC records exploitation as none, and the vulnerability is absent from CISA KEV. No public exploit or POC has been identified. The CVSS 4.0 score of 6.3 with AT:P (Attack Target: Presence required) correctly signals non-trivial pre-conditions: the doctor migration must have been executed, the deployment must have multiple named Telegram accounts, and the attacker must already be listed in the legacy pairingAllowFrom trust store. SSVC rates the vulnerability as Automatable: yes - once conditions are met, no further attacker interaction is needed - but Technical Impact is only partial, confined to the Telegram channel with no availability or scope-change implications. The combination of low EPSS, no active exploitation, a niche npm package footprint, and specific pre-conditions makes this a low operational priority for most organizations, though teams running OpenClaw with multiple Telegram accounts should patch promptly.

Exploit ScenarioDerived

A Telegram user previously granted trust on the OpenClaw default account (by appearing in the legacy pairingAllowFrom store) waits for an administrator to run the doctor migration on a vulnerable OpenClaw instance (version <= 2026.3.28) that has multiple named Telegram accounts configured. After migration completes, the attacker's trust is silently propagated to all named accounts, and they can send authenticated Telegram commands to bot integrations they were never authorized to access. No public exploit code exists; exploitation is passive once the migration runs.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% 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 Telegram legacy allowFrom migration incorrectly propagates default-account trust to all configured named Telegram accounts in npm package versions through 2026.3.28, enabling Telegram users previously trusted only on the default account to bypass authentication controls and interact with named accounts they were never explicitly authorized to access. The vendor-confirmed fix is present in version 2026.3.31, released 2026-03-31. No public exploit exists; EPSS is 0.06% and CISA SSVC records exploitation as none at time of analysis.

RemediationAI

Upgrade the openclaw npm package to version 2026.3.31 or later; this is a confirmed released version containing fix commit d8c68c8d4265ea6fa5e8c5e056534c351bddef37. Run npm install openclaw@2026.3.31 (or the equivalent lockfile update) and re-run the doctor migration after upgrading so the corrected migration logic executes. Details are available in the GitHub Security Advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-f693-58pc-2gfr. If immediate upgrade is not possible, avoid executing the doctor migration command until the package is updated; this prevents the trust fan-out from occurring but leaves the system in a legacy state and may block other state-dependent features. A secondary compensating control is to minimize the principals in the legacy pairingAllowFrom trust list for the default account, reducing the set of users who could benefit from the erroneous propagation - though this requires manual list curation and does not eliminate the boundary bug itself.

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 package (CPE: cpe:2.3:a:openclaw:openclaw) providing Telegram bot channel integration with multi-account support. The doctor command runs detectLegacyStateMigrations() in src/infra/state-migrations.ts to upgrade stored state when deploying new configurations. In the vulnerable code path, the migration used listTelegramAccountIds() to enumerate every configured named Telegram account and copied the legacy pairingAllowFrom trust store to each one. The pairingAllowFrom store controls which Telegram principals are authorized to interact with an account. CWE-372 (Incomplete Internal State Distinguished) applies precisely: the migration logic conflated the trust boundary of the default account with those of all named accounts, treating every account as an equivalent trust recipient. The fix in commit d8c68c8d replaces the fan-out call with resolveDefaultTelegramAccountId(), scoping trust migration only to the designated default account.

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

NVD PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

AC:H reflects required migration pre-conditions and multi-account configuration; PR:L reflects attacker's required prior trust in the default-account allowFrom store; C:L/I:L bound to Telegram channel scope with 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:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
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

3
CVSS changed
Apr 23, 2026 - 22:28 NVD
6.5 (MEDIUM) 6.3 (MEDIUM)
Patch released
Apr 23, 2026 - 22:15 nvd
Patch available
CVE Published
Apr 23, 2026 - 21:57 nvd
MEDIUM 6.3

DescriptionCVE.org

OpenClaw before 2026.3.31 contains an authentication boundary vulnerability where Telegram legacy allowFrom migration incorrectly fans default-account trust into all named accounts. Attackers can exploit this trust propagation to bypass authentication controls and gain unauthorized access to named accounts.

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.1%
Top 81% exploitable
Prevalence
Rare
niche npm bot-integration package, 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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-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

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

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