NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-w4v6-g3wm-w36c: OpenClaw: QQBot admin commands could skip DM-only and allowFrom policy

criticalCVSS 4.0 9.3

OpenClaw's QQBot channel let a sender who could trigger the exported command run QQBot admin commands without the QQBot-specific DM-only and allowFrom checks. Versions before 2026.4.29 are affected. The first patched stable release is 2026.4.29. The advisory does not say which admin commands exist.

Published Jul 2, 2026 · Analysis Oct 25, 2026

What an attacker can do

QQBot is a messaging channel for OpenClaw. It has its own policy: admin commands should work only in direct messages and only from senders on an allowFrom list. In affected versions, an exported QQBot command could route admin commands past both checks. The result is that admin behavior runs for a sender or context that policy should have blocked.

The advisory is brief. It does not list the admin commands or what they change, so the worst case cannot be stated from the sources. It says the practical impact depends on the operator's configuration and on whether lower-trust input can reach that path. It also says this does not change OpenClaw's trusted-operator model: authenticated Gateway operators and installed plugins stay trusted.

The exposure is a Gateway with QQBot enabled where people outside the intended admin group can message the bot, for example in group chats. Deployments that do not use QQBot are not exposed. The advisory scores it 9.3 under CVSS 4.0 with no privileges or interaction needed.

Who is affected

Affected: npm package openclaw before 2026.4.29, with the QQBot feature enabled and reachable by senders who should not have admin rights.

npm ls openclaw
openclaw --version

The second command assumes the CLI is on your PATH. Then check whether your Gateway configuration enables the QQBot channel.

openclaw

Ecosystem
npm
Affected
< 2026.4.29
Fixed in
2026.4.29
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.29 or later, the first stable patched version.

npm install -g [email protected]

Mitigations from the advisory until you can upgrade: disable the exported QQBot admin commands or restrict QQBot access. For general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and turn off the feature when you do not need it.

How to tell if you were hit

The advisory names no log lines or indicators. Review QQBot channel logs for admin commands that came from group chats or from senders missing from your allowFrom list. Compare the Gateway's recent configuration and admin actions with what your operators did. Anything an unlisted sender triggered through QQBot points to this flaw.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

QQBot admin commands could skip DM-only and allowFrom policy. In affected versions, a QQBot sender able to trigger the exported command could route admin commands without the QQBot-specific DM-only and allowFrom checks.

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 run QQBot admin behavior from a sender or context 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.29.

Mitigations

disable exported QQBot admin commands or restrict QQBot access 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 Kherrisan.

Questions

Does this advisory have a CVE?

No. The entry carries only the id GHSA-w4v6-g3wm-w36c. The GitHub advisory page labels the severity Moderate, while the data here records a CVSS 4.0 score of 9.3.

Am I affected if I don't use QQBot?

The advisory scopes the flaw to QQBot admin commands, when the feature is enabled and reachable. Without QQBot enabled, this path does not apply.

Which OpenClaw version fixes it?

2026.4.29 is the first stable patched version. Anything older is affected.

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 entries