AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-33577: OpenClaw: node.pair.approve missing callerScopes validation allows low-privilege operator to approve malicious nodes

mediumCVSS 4.0 4.9 · 3.1 9.8GHSA-2x4x-cc5g-qmmg

In OpenClaw 2026.3.24 and earlier, the node.pair.approve gateway method did not check that the approver held every scope the pending node asked for. A low-privilege operator could approve a node with broader rights, including command execution. Upgrade to 2026.3.28.

Published Apr 1, 2026 · Updated Apr 6, 2026 · Analysis Nov 7, 2026

What an attacker can do

OpenClaw lets remote nodes pair with the gateway, and an operator approves each pending request. The approval path, in src/infra/node-pairing.ts and src/gateway/server-methods/nodes.ts, did not consistently require that the caller already held all scopes the node requested (CWE-863).

A lower-privileged operator could therefore approve a pending request for broader scopes and push those privileges onto the paired node. Per the fix commit, nodes that can run system commands are the sensitive case, because approving them should need operator.admin.

The attacker needs an operator credential with limited scope, and a pending node request for broader scopes. That could be a node the attacker controls. The result is a paired node with rights the attacker's own account never had. The CVSS 4.0 vector shows low privileges and high integrity impact. A third-party 3.1 score of 9.8 in the data reflects a no-privilege reading, which the maintainers' vector does not support.

Who is affected

The openclaw npm package, 2026.3.24 and earlier. Fixed in 2026.3.28. Setups that use node pairing and have operators with different scope levels are the ones exposed.

npm ls openclaw

openclaw

Ecosystem
npm
Affected
<= 2026.3.24
Fixed in
2026.3.28
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.28:

npm install [email protected]

The fix, "gateway: restrict node pairing approvals", moves node.pair.approve into the operator.write scope group. Approving a request that includes a system-run command now needs operator.admin. Other requests, including ones with no commands, need operator.write. The handler passes the caller's connection scopes to approveNodePairing and denies callers with none. The sources give no workaround. Review nodes paired before the upgrade.

How to tell if you were hit

List paired nodes and compare each node's granted scopes and commands with what you intended. Check gateway logs for node.pair.approve calls by operators who do not hold admin rights. Remove nodes you do not recognise, and revoke their tokens.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

The node pairing approval path did not consistently enforce that the approving caller already held every scope requested by the node.

Impact

A lower-privileged operator could approve a pending node request for broader scopes and extend privileges onto the paired node.

Affected Component

src/infra/node-pairing.ts, src/gateway/server-methods/nodes.ts

Fixed Versions

  • Affected: <= 2026.3.24
  • Patched: >= 2026.3.28
  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit 4d7cc6bb4f (gateway: restrict node pairing approvals).

OpenClaw thanks @AntAISecurityLab for reporting.

Credited to AntAISecurityLab.

Questions

Can an unauthenticated user exploit this?

No. The maintainers' vector requires low privileges, meaning an operator account. The flaw lets that operator approve more than their own scopes allow.

Which version fixes CVE-2026-33577?

openclaw 2026.3.28. Versions up to 2026.3.24 are affected.

Why do the severity scores differ?

The advisory vector (CVSS 4.0, 4.9) requires an operator login. A separate CVSS 3.1 score of 9.8 assumes no privileges. The maintainers' source describes a lower-privileged operator.

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