CVE-2026-32028: OpenClaw: Discord DM reaction ingress missed dmPolicy/allowFrom checks in restricted setups
In OpenClaw 2026.2.24 and earlier, a Discord user not on the DM allowlist could still queue a system event by reacting to a bot-authored DM message. The reaction path skipped the dmPolicy and allowFrom checks that normal DMs get. Impact is low and depends on downstream automation. Fixed in 2026.2.25.
Published Mar 3, 2026 · Updated Mar 20, 2026 · Analysis Nov 15, 2026
What an attacker can do
OpenClaw checks dmPolicy and allowFrom when a Discord direct message arrives. The reaction-notification path did not apply the same gate. In a restrictive setup, a non-allowlisted user who can react to a bot-authored DM message could still enqueue a reaction-derived system event in the session.
The advisory calls this a reaction-only ingress inconsistency. By itself it does not run commands. The real impact depends on what your automation and tool policy do with such events. If an agent session treats a reaction as input, an outsider gets a way to nudge it. That is a small integrity issue rather than a data leak, and the CVSS 3.1 score is 3.7.
The attacker needs to be able to react to a bot DM message, so the exposure is limited to users who can see such messages. The advisory also notes a matching DM reaction hardening for Slack, so both channels behaved the same way after the fix.
Who is affected
The openclaw npm package, versions up to and including 2026.2.24. Check your install:
npm ls openclawThe flaw matters mainly if you use the Discord integration with a restrictive dmPolicy or allowFrom, since an open policy would allow the user anyway.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.24
- Fixed in
- 2026.2.25
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.25:
npm install -g [email protected]The fix is commit aedf62ac. Discord reactions now go through the same authorization as normal messages before they become system events. Reactions in DMs and group DMs are dropped when those surfaces are disabled. DM reactions from senders who fail dmPolicy or allowFrom are logged and dropped. Group DM and guild reactions follow the group DM channel allowlist and groupPolicy. The commit also hardens Slack reaction ingress.
The sources give no workaround.
How to tell if you were hit
Review session logs for system events derived from Discord reactions on DM messages, and compare the reacting user ids with your allowFrom list. After the fix, dropped reactions from unauthorized senders are logged, so look for those entries to see attempts. If an AI agent runs under Beam, it records agent shell commands and tool calls, which would show anything an injected event led it to do.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
In OpenClaw <= 2026.2.24, Discord direct-message reaction notifications did not consistently apply the same DM authorization checks (dmPolicy / allowFrom) that are enforced for normal DM message ingress.
In restrictive DM setups, a non-allowlisted Discord user who can react to a bot-authored DM message could still enqueue a reaction-derived system event in the session.
This is a reaction-only ingress inconsistency. By itself it does not directly execute commands; practical impact depends on downstream automation/tool policy.
Details
The DM message path already enforces dmPolicy/allowFrom authorization, but the DM reaction-notification path previously allowed event enqueue under reaction mode checks without that same authorization gate.
Fix in main aligns reaction ingress with normal message preflight for Discord DM/group-DM/guild policy boundaries and applies equivalent DM reaction authorization hardening for Slack to keep channel behavior consistent.
Affected Packages / Versions
npmpackage:openclaw- Affected:
<= 2026.2.24 - Patched:
>= 2026.2.25
Fix Commit(s)
aedf62ac7e669a89c7b299201bf6537dc6b12e0e
Release Process Note
patched_versions is pre-set to the release (2026.2.25) so after npm release the advisory is published.
Thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Can a reaction run commands in OpenClaw?
Not by itself. The advisory says the flaw only lets a reaction enqueue a system event. What happens next depends on your downstream automation and tool policy.
- Which versions fix CVE-2026-32028?
2026.2.25. Versions up to and including 2026.2.24 are affected.
- Is Slack affected too?
The advisory describes the Discord flaw. The fix commit also applies equivalent DM reaction authorization hardening for Slack, to keep both channels consistent.
- Is it exploited in the wild?
No source reports exploitation, and the entry has no CISA KEV data.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
