Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
AC:H because exploitation requires a specific Group DM deployment context with the bot present; PR:L for authenticated Discord participant; no availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
7Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.31.
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
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
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same weakness CWE-351 – Insufficient Type Distinction
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25325
GHSA-pr66-whqj-rq5p