AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-42426: OpenClaw `node.pair.approve` placed in `operator.write` scope instead of `operator.pairing` allows unprivileged pairing approval

mediumCVSS 4.0 6.9 · 3.1 8.8GHSA-67mf-f936-ppxf

In OpenClaw 2026.04.01 and earlier, the node.pair.approve method accepts the broad operator.write scope instead of the narrower operator.pairing scope. A principal with only operator.write can approve node pairing requests, including for nodes that can execute commands. Upgrade to openclaw 2026.4.8.

Published Apr 9, 2026 · Updated May 6, 2026 · Analysis Nov 6, 2026

What an attacker can do

OpenClaw lets operators pair remote nodes with the gateway. Approving a pairing is a sensitive step, because a paired node can be exec-capable. The node.pair.approve method was placed in the operator.write scope. It should require operator.pairing, and an admin requirement for exec-capable nodes (CWE-863, CWE-269).

So a token or session that was only meant to write, for example to send messages or edit settings, could approve a pending node. The attacker needs that low-privilege scope (CVSS 3.1: PR:L) and a pairing request to approve; no user interaction is needed. The attacker could pair their own node, or approve one they started, and get a command-execution surface they were never granted.

The advisory scopes OpenClaw as a user-controlled local assistant, not a multi-tenant service. The practical risk is therefore for setups that hand out limited operator tokens to scripts, integrations or other people, and rely on scope separation to keep them away from command execution.

Who is affected

Affected: the npm package openclaw up to and including 2026.04.01 (the package data lists the range as below 2026.4.8). Deployments that issue operator.write-only credentials and use node pairing are the ones exposed.

Check the installed version:

npm ls -g openclaw

openclaw

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

How to fix it

Upgrade to openclaw 2026.4.8:

npm install -g [email protected]

The fix moves pairing approval to the narrower scope and the admin requirement for exec-capable nodes. The maintainers verified it with regression tests. No workaround is listed. Until you upgrade, review which credentials hold operator.write and revoke those you do not need.

How to tell if you were hit

The advisory gives no log lines. Review the list of paired nodes and their approval history for nodes you did not expect, especially exec-capable ones. Check which principal approved each pairing and whether it held only operator.write. Look for commands that ran on newly paired nodes. Beam records agent shell commands and MCP tool calls, which helps if an agent drove the approval.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

OpenClaw node.pair.approve placed in operator.write scope instead of operator.pairing allows unprivileged pairing approval.

The pairing approval method accepted operator.write instead of the narrower pairing scope and admin requirement for exec-capable nodes.

OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= v2026.04.01
  • Patched versions: 2026.4.8

Fix

The issue was fixed on main and is available in the patched npm version listed above. The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.

Verification

The fix was re-checked against main before publication, including targeted regression tests for the affected security boundary.

Credits

Thanks @nicky-cc of Tencent zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) for reporting.

Credited to nicky-cc.

Questions

What privilege does an attacker need for CVE-2026-42426?

The operator.write scope. It is low privilege, but the method should have required operator.pairing, plus admin for exec-capable nodes.

Which version fixes it?

openclaw 2026.4.8. Versions up to and including 2026.04.01 are affected.

Why does node pairing matter?

Some nodes can execute commands. Approving a pairing gives the approver a command-execution path that the narrower scope was meant to guard.

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