Skip to main content

OpenClaw CVE-2026-41341

| EUVDEUVD-2026-25325 LOW
Insufficient Type Distinction (CWE-351)
2026-04-23 VulnCheck GHSA-pr66-whqj-rq5p
2.3
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Discord user in Group DM with OpenClaw bot
  2. Delivery
    Trigger component interaction (button or dropdown)
  3. Exploit
    Group DM misclassified as Direct Message in routing logic
  4. Execution
    Group DM policy checks (groupEnabled, allowlist) silently bypassed
  5. Impact
    Unauthorized agent component access granted

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires the attacker to be an authenticated Discord user (PR:L) who is already a participant in a Group DM channel where a vulnerable OpenClaw bot (version <= 2026.3.28) is present and actively handling component interactions. The misclassification only triggers on ChannelType.GroupDM interactions - deployments that never add the bot to Group DM channels are entirely unaffected. The discordConfig.dm.groupEnabled flag defaults to false; in the pre-patch code, Group DMs routed as DMs would still be subject to DM-level checks, limiting the bypass to the specific Group DM allowlist enforcement layer. Exploitation is not automatable per SSVC, and no network-level conditions (firewall rules, port exposure) are relevant since interaction is mediated through Discord's API.

Impact

All available signals converge on low real-world risk. The CVSS 4.0 score of 2.3 reflects limited impact (VC:L/VI:L, no availability impact), authenticated low-privilege access (PR:L), and specific attack requirements (AT:P - Group DM context with a deployed bot required). EPSS at 0.01% (2nd percentile) confirms negligible exploitation interest from the threat research community. SSVC categorizes exploitation as 'none,' automatable as 'no,' and technical impact as 'partial.' The vulnerability is absent from the CISA KEV catalog and no POC is publicly known. The vendor's own triage characterizes it as 'narrow' and 'low' severity - impact is bounded to Group DM policy enforcement bypass or incorrect session labeling within a specific bot deployment. Deployments that do not use OpenClaw in Group DM contexts are wholly unaffected. No signal conflicts exist in this dataset, though the CVSS 4.0 AC:L combined with AT:P is slightly inconsistent in framing - the attack requirements effectively impose complexity more analogous to CVSS 3.1 AC:H.

Exploit ScenarioDerived

An authenticated Discord user who is a participant in a Group DM channel containing an OpenClaw bot (running version <= 2026.3.28) triggers a component interaction such as clicking a button or selecting a dropdown option. The bot's routing code misidentifies the interaction as coming from a private Direct Message, skipping the Group DM enable-check and channel allowlist, and processes the interaction as if the user were authorized. No public exploit code exists; the attacker must already be a member of the relevant Group DM.

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

Incorrect channel type routing in OpenClaw's Discord extension (versions up to 2026.3.28) allows authenticated Group DM participants to bypass Group DM policy enforcement by exploiting a logic error that treats Group DMs as regular Direct Messages. The flaw in extensions/discord/src/monitor/agent-components-helpers.ts causes the isDirectMessage flag to be set based solely on the absence of a guild ID, which is also true for Group DM channels, causing all Group DM-specific authorization checks (the groupEnabled toggle and channel allowlist) to be silently skipped. No public exploit exists, this vulnerability is not in the CISA KEV catalog, and EPSS at 0.01% (2nd percentile) reflects negligible exploitation interest.

RemediationAI

Upgrade the openclaw npm package to version 2026.3.31 or later, which contains the fix from commit 8c83128fc38d5a3642b8ccbea58550755fdbbbaf (merged 2026-03-30) as confirmed by the vendor GHSA advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-6336-qqw9-v6x6. If immediate upgrade is not possible, set the discordConfig.dm.groupEnabled configuration option to false (which is already the default), which causes even the pre-patch code to block Group DM interactions via the DM code path's own checks; this eliminates Group DM access entirely as a trade-off for mitigating the bypass. Environments that do not expose the bot in Group DM contexts are not exposed to this vulnerability and require no immediate action beyond planning an upgrade.

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 AI agent framework that integrates with Discord bots, exposing interactive components (buttons, dropdowns) through Discord's component interaction API. The root cause is CWE-351 (Insufficient Type Distinction): the original resolveComponentInteractionContext function computed isDirectMessage = !rawGuildId, which evaluates to true for both ChannelType.DM and ChannelType.GroupDM channels because neither carries a guild ID in Discord's API. Group DMs were consequently routed through the direct-message code path, bypassing the dedicated ensureGroupDmComponentAuthorized authorization logic that checks discordConfig.dm.groupEnabled and validates against the configured channel allowlist. The patch (commit 8c83128fc38d5a3642b8ccbea58550755fdbbbaf) explicitly detects ChannelType.GroupDM via Discord's channel type API, introduces a separate isGroupDm routing flag, and adds the ensureGroupDmComponentAuthorized function that enforces Group DM policy before allowing interaction dispatch. Affected CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*, versions <= 2026.3.28.

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 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 specific Group DM deployment context with the bot present; PR:L for authenticated Discord participant; 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 NVD.

CVSS VectorNVD

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 contains a logic error in Discord component interaction routing that misclassifies group direct messages as direct messages in extensions/discord/src/monitor/agent-components-helpers.ts. Attackers can exploit this misclassification to bypass group DM policy enforcement or trigger incorrect session handling.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
Rare
niche npm Discord AI agent framework, 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-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