CVE-2026-34507 Overview
CVE-2026-34507 is an authorization bypass vulnerability in OpenClaw versions before 2026.4.29. The flaw resides in the QQBot admin command handler, which fails to consistently enforce DM-only and allowFrom policy checks. Authenticated senders can route admin commands from unauthorized contexts and execute restricted behavior that policy should have blocked. The issue is tracked under CWE-863: Incorrect Authorization and affects the Node.js distribution of OpenClaw.
Critical Impact
Authenticated attackers can bypass DM-only and allowFrom restrictions to invoke privileged QQBot admin commands from contexts that should have been denied.
Affected Products
- OpenClaw (Node.js) versions prior to 2026.4.29
- Component: openclaw:openclaw
- Deployments exposing QQBot admin command surfaces
Discovery Timeline
- 2026-05-29 - CVE-2026-34507 published to NVD
- 2026-06-01 - Last updated in NVD database
Technical Details for CVE-2026-34507
Vulnerability Analysis
The vulnerability is a policy enforcement gap in the QQBot admin command pipeline. OpenClaw exposes administrative commands that are intended to be invoked only through direct messages (DMs) or from senders explicitly listed in the allowFrom policy. The command dispatcher evaluates authentication but does not consistently apply the contextual policy checks before executing the privileged handler.
As a result, authenticated senders who would otherwise fail policy validation can still trigger admin behavior. The attack requires network access and low privileges, and exploitation depends on specific preconditions in how commands are routed. Confidentiality and integrity impacts are limited in scope, and availability is not affected.
Root Cause
The root cause is incorrect authorization logic in the QQBot admin command handler. DM-only enforcement and allowFrom allowlist evaluation are skipped or short-circuited on certain code paths. The authorization decision relies on authentication state without binding it to the message context, violating the principle of complete mediation described in CWE-863.
Attack Vector
An authenticated attacker submits admin commands to the QQBot through a channel or sender context that policy should reject. Because the bypass occurs after authentication but before policy enforcement, the command reaches the privileged handler and executes. See the VulnCheck Policy Bypass Advisory and the GitHub Security Advisory GHSA-w4v6-g3wm-w36c for additional technical context.
Detection Methods for CVE-2026-34507
Indicators of Compromise
- Admin command invocations originating from group channels or senders not listed in the allowFrom policy.
- QQBot log entries showing successful execution of restricted commands from non-DM contexts.
- Unexpected configuration or state changes initiated by low-privilege authenticated accounts.
Detection Strategies
- Audit QQBot command logs for admin actions that do not correlate with an approved DM session or allowlisted sender.
- Compare executed admin command events against the configured allowFrom policy to surface bypass attempts.
- Alert on repeated admin command attempts from senders outside the trusted operator set.
Monitoring Recommendations
- Forward QQBot application logs to a centralized log platform and retain them for incident review.
- Track the running OpenClaw version across deployments and flag instances below 2026.4.29.
- Monitor outbound actions triggered by admin commands, such as configuration writes, for unexpected sources.
How to Mitigate CVE-2026-34507
Immediate Actions Required
- Upgrade OpenClaw to version 2026.4.29 or later on all Node.js deployments running QQBot.
- Review the current allowFrom policy and reduce the operator set to the minimum necessary accounts.
- Rotate credentials or tokens for any account that may have been used to invoke admin commands during the exposure window.
Patch Information
The maintainers addressed the issue in OpenClaw 2026.4.29. Refer to the GitHub Security Advisory GHSA-w4v6-g3wm-w36c for the official fix details and to the VulnCheck advisory for the technical write-up.
Workarounds
- Disable QQBot admin commands until the patched version is deployed if upgrading is not immediately possible.
- Restrict network exposure of the QQBot interface to trusted operators and tighten the allowFrom allowlist.
- Add an external policy gate, such as a reverse proxy filter, that rejects admin command payloads from non-DM contexts.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


