CVE-2026-53834: OpenClaw: QQBot pre-dispatch slash commands could skip allowFrom checks
In OpenClaw 2026.4.26 and earlier, QQBot slash commands that run before dispatch were handled before the configured `allowFrom` policy was applied. A sender who should have been blocked could still trigger command handling. Fixed in openclaw 2026.4.27.
Published Jul 2, 2026 · Updated Aug 28, 2026 · Analysis Oct 25, 2026
What an attacker can do
The QQBot channel handles some slash commands in a pre-dispatch step. In affected versions that step ran before the allowFrom check, so the allowlist never got a chance to reject the sender. A message from a user outside the list could still reach command handling.
The attacker needs to be able to message the bot over QQBot and send a slash command. No code is run on their side and no exploit chain is needed. What they get depends on which commands exist in your deployment and what they do. The CVSS vector scores integrity impact only: the sender can cause actions the policy forbids, but the vector shows no data disclosure or outage.
The advisory keeps the trusted-operator model unchanged and says practical impact depends on configuration and on whether lower-trust input can reach this path. The sources do not list the commands. Teams that expose a QQBot channel to groups or public contacts are the most exposed.
Who is affected
The npm package openclaw at 2026.4.26 and earlier, when the QQBot channel is enabled and slash commands are reachable by senders outside allowFrom.
npm ls openclawUse npm ls -g openclaw for a global install. Versions up to 2026.4.26 are affected.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.4.26
- Fixed in
- 2026.4.27
- Check
npm ls openclaw
How to fix it
Upgrade to [email protected], the first stable patched version:
npm install [email protected]Until then, the advisory says to restrict QQBot slash command exposure. General hardening it lists: keep channel and tool allowlists narrow, do not share one Gateway between mutually untrusted users, and disable the feature when you do not need it.
How to tell if you were hit
Review QQBot channel history and Gateway logs for slash commands sent by accounts that are not on your allowFrom list. Check for configuration or state changes that followed such messages. The sources give no log string. Note that earlier versions would have processed those commands before the policy check, so a missing deny line is not proof that nothing ran.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
QQBot pre-dispatch slash commands could skip allowFrom checks. In affected versions, a QQBot sender able to invoke slash commands could dispatch the command before applying the configured allowFrom policy.
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 trigger command handling from a sender that policy should have blocked. 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.27.
Mitigations
restrict QQBot slash command exposure 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 zsxsoft, KeenSecurityLab, qclawer.
Questions
- Which OpenClaw version fixes CVE-2026-53834?
2026.4.27 is the first stable patched version. Versions up to 2026.4.26 are affected.
- Does it give code execution?
The sources do not say so. They describe command handling triggered by a sender that policy should have blocked, and the CVSS vector scores integrity impact only.
- How do I reduce exposure before patching?
Restrict QQBot slash command exposure, as the advisory says, and keep channel and tool allowlists narrow.
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
