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

CVE-2026-53850: OpenClaw: Focus command could miss controlScope enforcement

mediumCVSS 4.0 6.8GHSA-mpc8-jxjh-qpgh

OpenClaw 2026.4.24 and earlier run the focus command without enforcing the expected `controlScope`. A lower-authority caller who can trigger it can change focus state beyond their authority. Fixed in 2026.4.25.

Published Jun 18, 2026 · Analysis Oct 26, 2026

What an attacker can do

OpenClaw uses a control scope to decide which callers may issue control commands. The focus command, which sets what the agent or session is focused on, did not check that scope in affected versions (CWE-862, missing authorization).

The attacker needs a low-privilege session that can trigger the command. The CVSS 4.0 vector gives a local attack vector, no user interaction, high integrity impact, and no confidentiality or availability impact. In practice they can redirect focus state that a higher-authority caller or channel set, which could steer where the agent works or which context it acts on. The advisory does not describe data theft or code execution.

Exposure depends on the feature being enabled and reachable and on whether lower-trust input can reach the command. The advisory keeps OpenClaw's trusted-operator model.

Who is affected

The npm package openclaw at 2026.4.24 and earlier, with the focus command reachable by callers of different authority. Check the installed version:

npm ls openclaw

openclaw

Ecosystem
npm
Affected
<= 2026.4.24
Fixed in
2026.4.25
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.25, the first stable patched version:

npm install [email protected]

Until then, restrict focus command access to trusted operators. Keep channel and tool allowlists narrow, do not share one Gateway between mutually untrusted users, and disable the feature if you do not need it.

How to tell if you were hit

Review Gateway logs for focus commands issued by sessions or channels that lack the control scope for them, and for focus changes that nobody on your team made. The advisory names no log line. Beam records agent MCP tool calls and shell commands, which helps show what an agent did after its focus was changed.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Focus command could miss controlScope enforcement. In affected versions, a caller able to trigger the focus command could run the command without enforcing the expected control scope.

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 change focus state outside the intended caller authority. 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.25.

Mitigations

restrict focus command access to trusted operators 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

What does the focus command bug allow?

A caller who can trigger the command can change focus state without the control scope being enforced. The advisory describes it as changing state outside the intended caller authority.

Which version fixes CVE-2026-53850?

openclaw 2026.4.25. Versions up to 2026.4.24 are affected.

Is there a workaround?

Yes. Restrict focus command access to trusted operators, or disable the feature if you do not need it.

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