Advisory details:
github_osv / GHSA-4jpw-hj22-2xmc
| Advisory ID | github_osv/GHSA-4jpw-hj22-2xmc |
| Aliases | |
| Summary | OpenClaw: Pairing-scoped device tokens could mint `operator.admin` and reach node RCE ## Summary In affected versions of `openclaw`, a caller holding only `operator.pairing` could use `device.token.rotate` to mint a new token with broader scopes for an already paired device. If the target device was approved for `operator.admin`, the attacker could obtain an administrative token without already holding administrative scope. ## Impact This is a critical authorization flaw. On deployments with connected node hosts or companion apps that expose `system.run`, the escalated token could then modify node execution approvals and reach real remote code execution on the node. Even without nodes, the flaw still granted unauthorized gateway-admin access. ## Affected Packages and Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.3.8` - Fixed in: `2026.3.11` ## Technical Details `device.token.rotate` accepted caller-supplied target scopes and validated them against the target device's approved scopes, but it did not constrain the newly minted scopes to the caller's own current scope set. That allowed a pairing-scoped caller to mint a broader token for an already paired administrative device. ## Fix OpenClaw now enforces caller-scope subsetting in `device.token.rotate`, preventing callers from minting device tokens broader than the scopes they already hold. The fix shipped in `openclaw@2026.3.11`. ## Workarounds Upgrade to `2026.3.11` or later. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 8.9 |
| Risk | 4.5 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-269 | Improper Privilege Management |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 9.9 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4jpw-hj22-2xmc/GHSA-4jpw-hj22-2xmc.json |
| generic_textual | CRITICAL |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| GHSA-4jpw-hj22-2xmc | Advisory | https://github.com/openclaw/openclaw/security/advisories/GHSA-4jpw-hj22-2xmc |
| v2026.3.11 | Other | https://github.com/openclaw/openclaw/releases/tag/v2026.3.11 |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
There are no SSVC decisions available.