Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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
Exploitable over Discord (AV:N) with trivial steps (AC:L); attacker needs a Discord account but no OpenClaw privileges (PR:L); impersonation yields high confidentiality and integrity but no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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
Lifecycle Timeline
2Blast Radius
ecosystem impact- 4 npm packages depend on openclaw (4 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.5.7.
DescriptionCVE.org
OpenClaw before 2026.5.7 contains a privilege escalation vulnerability where the allowFrom feature improperly validates Discord account identity using mutable display names instead of immutable user IDs. Attackers with Discord accounts can change their display name to match a policy entry and gain unauthorized agent access intended for another Discord identity.
AnalysisAI
Privilege escalation in OpenClaw before 2026.5.7 allows any user with a Discord account to assume the identity of a privileged Discord user authorized in the agent's allowFrom policy by simply renaming their account, because the access-control check matches on mutable display names rather than immutable Discord user IDs (snowflakes). No public exploit identified at time of analysis, and the issue is not listed in CISA KEV, but exploitation is trivial for anyone who can read the target policy.
Technical ContextAI
OpenClaw is an agent platform whose allowFrom mechanism is intended to restrict which Discord identities may invoke or interact with an agent. The flaw is a classic CWE-290 (Authentication Bypass by Spoofing): the comparator uses the user-controlled display/username string from the Discord profile rather than the immutable snowflake ID that Discord assigns at account creation. Because Discord permits users to change their display name at will, the identity assertion that allowFrom relies on is forgeable by any third party, collapsing the trust model from cryptographic identity to a text label.
RemediationAI
Vendor-released patch: upgrade OpenClaw to 2026.5.7 or later, in which allowFrom evaluates the immutable Discord user ID (snowflake) rather than the mutable display name; the fix and details are documented in advisory GHSA-cw4q-gqg5-g38h at https://github.com/openclaw/openclaw/security/advisories/GHSA-cw4q-gqg5-g38h. If patching cannot be performed immediately, the most effective compensating control is to rewrite allowFrom policy entries to use Discord user IDs (snowflakes) where the patched logic supports it, or to restrict the agent's exposed Discord channels/servers to closed environments where account creation is moderated; both reduce attack surface but the latter does not eliminate the spoofing window if an authorized member's display name is known. Avoid relying on Discord username uniqueness as an interim control, since legacy discriminator-free usernames and display names can still collide or be impersonated.
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-290 – Authentication Bypass by Spoofing
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37151
GHSA-cw4q-gqg5-g38h