GHSA-fqw4-mph7-2vr8: OpenClaw: Silent privilege escalation via gateway shared-auth reconnect
OpenClaw 2026.3.24 and earlier silently widened a paired device from operator.read to operator.admin when it reconnected with the local shared token. The advisory says this can reach remote code execution on nodes. The package data lists no patched version; the advisory text names 2026.3.25.
Published Mar 27, 2026 · Analysis Oct 31, 2026
What an attacker can do
A paired device holds an approved set of scopes. When it reconnects and asks for more, the gateway should open a pairing request that an operator approves. In message-handler.ts, a silent local reconnect that authenticated with the shared secret auto-approved these scope-upgrade requests. A device approved for operator.read could come back as operator.admin and nobody was asked.
The attacker needs a paired read-scoped device and the gateway shared token, and must be adjacent on the network, since the CVSS 4.0 vector is AV:A with a 9.4 score. With admin scope, they control the gateway's administrative methods. The advisory summary says this reaches node RCE, meaning code execution on machines connected as nodes, though the fix commit itself does not describe that step.
This is a close relative of CVE-2026-35663, which used backend-labeled reconnects. Both end in a quiet jump to operator.admin, through different code paths. Fixing one does not close the other.
Who is affected
openclaw 2026.3.24 and earlier, on gateways where devices are paired with limited scopes and the shared-token reconnect path is reachable from the local network. Check the version:
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.24
- Fixed in
- No patched version yet
- Check
npm ls openclaw
How to fix it
The package data lists no patched version. The advisory text names 2026.3.25 as the first patched release and the fix, commit 81ebc7e0344f (pull request 54694), is on main. Upgrade to the newest openclaw release and confirm it is 2026.3.25 or later:
npm install openclaw@latestAfter the fix, a read-scoped device that reconnects asking for operator.admin gets a "pairing required" error and a pending request, and its stored scopes stay at operator.read. Until you upgrade, restrict who can reach the gateway and the shared token.
How to tell if you were hit
Audit the paired device list for devices whose scopes grew to operator.admin without an approval you made. Review gateway logs for reconnects by read-scoped devices followed by admin methods. A patched gateway emits a device.pair.requested event with operator.admin scopes for each such attempt, so a sudden run of those events points to someone trying it. Rotate the shared token and device tokens if you find a silent upgrade.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Gateway local shared-auth reconnect silently widens paired device scope from operator.read to operator.admin and reach node RCE
Affected Packages / Versions
- Package:
openclaw - Affected versions:
<= 2026.3.24 - First patched version:
2026.3.25 - Latest published npm version at verification time:
2026.3.24
Details
Silent local shared-auth reconnects could previously auto-approve scope-upgrade requests and widen a paired device from operator.read to operator.admin. Commit 81ebc7e0344fd19c85778e883bad45e2da972229 blocks silent reconnect scope upgrades so widened scopes require an explicit pairing approval instead of an implicit local reconnect path.
Verified vulnerable on tag v2026.3.24 and fixed on main by commit 81ebc7e0344fd19c85778e883bad45e2da972229.
Fix Commit(s)
81ebc7e0344fd19c85778e883bad45e2da972229
Credited to zpbrent.
Questions
- Does this advisory have a CVE?
No. The entry has only the id GHSA-fqw4-mph7-2vr8. A related flaw, CVE-2026-35663, covers the backend-labeled reconnect path.
- Does the attacker need to be on the same network?
Yes. The CVSS 4.0 vector uses an adjacent network attack vector and low privileges, with no user interaction.
- Is node RCE confirmed?
The advisory summary claims it. The fix commit and its tests only show the scope jump from operator.read to operator.admin.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
