CVE-2026-28392: OpenClaw Slack: dmPolicy=open allowed any DM sender to run privileged slash commands
With Slack DMs set to `channels.slack.dm.policy: open`, OpenClaw's Slack slash-command handler treated every DM sender as authorized. Any Slack user who could message the bot could run privileged slash commands. Versions up to 2026.2.13 are affected. Upgrade to 2026.2.14.
Published Feb 18, 2026 · Updated Mar 10, 2026 · Analysis Oct 31, 2026
What an attacker can do
In registerSlackMonitorSlashCommands (src/slack/monitor/slash.ts), the code set commandAuthorized to true for DMs once the DM policy checks passed. With dmPolicy=open those checks let everyone through, so the allowlist and access-group rules that gate other inbound paths never applied to slash commands (CWE-285, CWE-863).
The attacker needs to be a user in the Slack workspace who can DM the bot. No other privileges are needed. They then send privileged slash commands in the DM and the bot runs them as if an authorized owner had sent them. The advisory does not list which commands are privileged, so the damage depends on what your OpenClaw agent exposes. For an agent with tools, the commands can change its behavior or settings.
The CVSS 4.0 vector rates integrity impact high and confidentiality none. Deployments that keep DMs on an allowlist or pairing policy are not in the affected configuration.
Who is affected
The npm package openclaw at 2026.2.13 or earlier, with Slack DMs enabled and channels.slack.dm.policy set to open. Check both:
npm ls -g openclaw
grep -n -A3 'slack' ~/.openclaw/openclaw.jsonThe config path may differ in your setup. Look for policy: "open" under the Slack DM settings.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.14, the patched version (fix commit f19eabe):
npm install -g [email protected]commandAuthorized now starts as false. For DMs it is computed by resolveCommandAuthorizedFromAuthorizers, using the same allowlist and access-group logic as other inbound paths. The advisory lists no workaround. Setting the DM policy to something stricter than open removes the affected configuration until you upgrade.
How to tell if you were hit
Review Slack workspace and bot logs for slash commands arriving in DMs from users who are not on your allowFrom list or in your access groups. Check for configuration or behavior changes in the agent made through slash commands. Beam's record of agent shell commands and tool calls can help show what the agent did after an unauthorized command.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
When Slack DMs are configured with dmPolicy=open, the Slack slash-command handler incorrectly treated any DM sender as command-authorized. This allowed any Slack user who could DM the bot to execute privileged slash commands via DM, bypassing intended allowlist/access-group restrictions.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.13 - Affected configuration: Slack DMs enabled with
channels.slack.dm.policy: open(akadmPolicy=open)
Impact
Any Slack user in the workspace who can DM the bot could invoke privileged slash commands via DM.
Fix
The slash-command path now computes CommandAuthorized for DMs using the same allowlist/access-group gating logic as other inbound paths.
Fix commit(s):
- f19eabee54c49e9a2e264b4965edf28a2f92e657
Release Process Note
patched_versions is set to the planned next release (2026.2.14). Once that npm release is published, this advisory should be published.
Thanks @christos-eth for reporting.
Credited to christos-eth.
Questions
- Am I affected if Slack DMs use an allowlist?
The advisory names
dmPolicy=openas the affected configuration. Setups with allowlist gating are not described as affected.- Who can exploit CVE-2026-28392?
Any Slack user in the workspace who can DM the bot. No further privileges are needed.
- Which version fixes it?
2026.2.14. Versions up to and including 2026.2.13 are affected.
- Is it exploited in the wild?
The sources I read do not report exploitation and it is not in CISA's KEV catalog.
References
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
