GHSA-4m3v-q747-pc6h: OpenClaw: Mattermost slash token revocation could lag until monitor refresh
OpenClaw kept accepting a revoked Mattermost slash command token until its Mattermost monitor refreshed. Someone holding the old token could still trigger slash command behaviour briefly after rotation. Versions up to and including 2026.4.23 are affected. Update the openclaw package to 2026.4.24, or refresh the monitor after each rotation.
Published Jul 2, 2026 · Analysis Oct 25, 2026
What an attacker can do
OpenClaw validates Mattermost slash commands with a token. The monitor that holds the valid tokens only refreshed periodically. After an operator rotated or revoked a token, the monitor still accepted the old one until the next refresh. The advisory does not give the length of that window or name the code involved.
The attacker must hold the old token, for example a leaked or former one, and must reach the slash command endpoint over the network. The CVSS 4.0 vector shows no privileges, no user interaction, an attack requirement, and low integrity impact. They could invoke slash command behaviour for a short time after the operator thought access was cut. Anything the slash commands can do in your setup is in scope, and that depends on your configuration and tool allowlists.
The flaw is a revocation gap, not a way to obtain a token. An attacker without a previously valid token gains nothing from it.
Who is affected
Affected: npm openclaw up to and including 2026.4.23. Only deployments with the Mattermost slash feature enabled and reachable are exposed.
npm ls -g openclawDrop -g for a project install. Check your Gateway configuration for Mattermost slash commands.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.4.23
- Fixed in
- 2026.4.24
- Check
npm ls openclaw
How to fix it
Update to openclaw 2026.4.24, the first stable patched version.
npm install -g [email protected]Until you can update, restart or refresh the Mattermost monitor after every token rotation. The advisory also suggests narrow channel and tool allowlists, not sharing one Gateway between mutually untrusted users, and disabling the feature if you do not need it.
How to tell if you were hit
The advisory lists no log line. After a slash token rotation on an affected version, check Mattermost slash command requests that reached OpenClaw before the monitor refreshed or restarted. Look for commands authenticated with the old token or sent from unfamiliar users or IPs. Treat any token you rotated because of a leak as usable until you restart the monitor.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Mattermost slash token revocation could lag until monitor refresh. In affected versions, a caller with an old Mattermost slash token during the refresh window could continue accepting the old token until the monitor refreshed.
This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.
Impact
When the affected feature is enabled and reachable, this could invoke slash command behavior briefly after token revocation. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.
Patched Versions
The first stable patched version is 2026.4.24.
Mitigations
restart or refresh the Mattermost monitor after token rotation until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.
Credited to feynman-hou.
Questions
- Which OpenClaw version fixes the Mattermost slash token lag?
2026.4.24 is the first stable patched version. Versions up to and including 2026.4.23 are affected.
- How do I make rotation take effect on an affected version?
Restart or refresh the Mattermost monitor after you rotate the token. That is the advisory's interim mitigation.
- Is there a CVE for this?
The data for this entry has no CVE id. It is tracked as GHSA-4m3v-q747-pc6h.
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
