# CVE-2026-34507: OpenClaw policy bypass in QQBot admin commands

Source: https://junglewise.ai/threats/cve-2026-34507-openclaw-policy-bypass-in-qqbot-admin-commands  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2026-34507 · Severity: medium · CVSS 5.4 · Published 2026-05-29

OpenClaw is an automation framework that integrates with messaging platforms like QQ. A security flaw in its QQBot component allows users to bypass administrative restrictions, potentially executing commands that should be limited to private messages or specific authorized senders. This could allow a user with basic access to perform unauthorized administrative actions, depending on how the bot is configured.

Technologies: [openclaw (npm)](https://junglewise.ai/threats/technologies/npm-openclaw), [Openclaw](https://junglewise.ai/threats/technologies/openclaw). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Openclaw](https://junglewise.ai/threats/vendors/openclaw).

## Quick answers

**Is CVE-2026-34507 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34507 being exploited in the wild.

**How severe is CVE-2026-34507?** Medium severity, with a CVSS score of 5.4, published 29 May 2026.

**Which products and versions are affected?** openclaw (npm) SEMVER:introduced=0,fixed=2026.4.29; Openclaw < 2026.4.29.

**Is there a fix for CVE-2026-34507?** Yes. openclaw (npm): upgrade to 2026.4.29 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34507 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-34507?** Check whether you run openclaw (npm) or Openclaw at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openclaw (npm): upgrade to 2026.4.29 or later

  ```sh
  npm install openclaw@2026.4.29
  ```


## Technical details

A policy bypass vulnerability exists in OpenClaw's QQBot admin command implementation due to incorrect authorization checks (CWE-863). Specifically, the software fails to properly enforce 'DM-only' and 'allowFrom' policy restrictions when an authenticated sender triggers exported commands. This allows an attacker who can reach the command path to route administrative actions from unauthorized contexts or senders. The vulnerability is reachable over the network by authenticated users. A fix is available in version 2026.4.29, and users are advised to disable exported QQBot admin commands as a temporary mitigation.

## Affected products

- OpenClaw OpenClaw < 2026.4.29

## Identifiers

- CVE-2026-34507
- GHSA-w4v6-g3wm-w36c

## Timeline

- 2026-05-28: advisory: GitHub Security Advisory GHSA-w4v6-g3wm-w36c published
- 2026-05-29: disclosed: CVE-2026-34507 published
- 2026-04-29: patched: Version 2026.4.29 released

## References

- [https://github.com/openclaw/openclaw/security/advisories/GHSA-w4v6-g3wm-w36c](https://github.com/openclaw/openclaw/security/advisories/GHSA-w4v6-g3wm-w36c)
- [https://www.vulncheck.com/advisories/openclaw-policy-bypass-in-qqbot-admin-commands-via-dm-only-and-allowfrom-checks](https://www.vulncheck.com/advisories/openclaw-policy-bypass-in-qqbot-admin-commands-via-dm-only-and-allowfrom-checks)

## Related threats

- [OpenClaw incorrect authorization in mcp.app.view method](https://junglewise.ai/threats/cve-2026-102807-openclaw-before-2026-9-4-contains-an-incorrect-authorization)
- [OpenClaw incorrect authorization in Gateway media root allowlist](https://junglewise.ai/threats/cve-2026-102806-openclaw-before-2026-9-5-contains-an-incorrect-authorization)
- [OpenClaw exec approval bypass in Google Meet node commands](https://junglewise.ai/threats/cve-2026-100599-openclaw-versions-2026-5-1-through-2026-7-0-fail-to-apply-the)
- [OpenClaw Signal approval reaction binding logic error](https://junglewise.ai/threats/cve-2026-100598-openclaw-npm-package-openclaw-before-2026-7-1-incorrectly-binds)
- [OpenClaw time-of-check time-of-use race condition in filesystem operations](https://junglewise.ai/threats/cve-2026-100597-openclaw-npm-package-openclaw-before-2026-7-1-is-vulnerable-to-a)
