Control Scope Bypass Vulnerability in OpenClaw: Focus Command Issue

openclaw Updated 23 Jun 2026

Summary

16/06/2026
MODERATE
No i
Moderate
5.5

GHSA-gw2c-6hcg-5g52: Duplicate Advisory: Focus command could miss controlScope enforcement. Affects openclaw versions < 2026.4.24. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OpenClaw is an open-source framework designed for building applications that require a gateway for managing various operations. It allows developers to create customizable solutions with a focus on modularity and extensibility. However, prior to version 2026.4.25, OpenClaw had a significant vulnerability related to the focus command, which could be exploited by authenticated users to bypass control scope enforcement.

Vulnerability Detail

The vulnerability in OpenClaw arises from a flaw in the focus command that allows authenticated users to execute commands without proper authorization checks. This control scope enforcement bypass could enable attackers to change the focus state outside their intended authority, leading to unauthorized operations depending on the gateway configuration and the trust levels of the input. The issue is classified under CWE-862, indicating a lack of proper authorization checks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can restrict access to the focus command by implementing additional authorization checks in your application logic until the package is updated.

Conclusion

The control scope bypass vulnerability in OpenClaw's focus command poses a significant risk to applications utilizing this framework. It is crucial for developers to update to the patched version to mitigate potential unauthorized operations. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

The vulnerability allows authenticated users to bypass control scope enforcement when using the focus command, potentially leading to unauthorized operations.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

If exploited, attackers could perform unauthorized actions within the application, depending on the gateway configuration and input trust levels.

Yes, the vulnerability has been patched in version 2026.4.25 of OpenClaw. It is recommended to update to this version or later.

The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback