Description
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.
Problem types
CWE-351 Insufficient Type Distinction
Product status
Any version before 2026.3.31
2026.3.31 (semver)
Credits
Nathan (@nexrin)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-6336-qqw9-v6x6 (GitHub Security Advisory (GHSA-6336-qqw9-v6x6))
github.com/...ommit/8c83128fc38d5a3642b8ccbea58550755fdbbbaf (Patch Commit)
www.vulncheck.com/...-misclassification-in-discord-extension (VulnCheck Advisory: OpenClaw < 2026.3.31 - Component Interaction Misclassification in Discord Extension)