{"id":"GHSA-rqpp-rjj8-7wv8","summary":"OpenClaw: WebSocket shared-auth connections could self-declare elevated scopes","details":"### Summary\n\nA logic flaw in the OpenClaw gateway WebSocket connect path allowed certain device-less shared-token or password-authenticated backend connections to keep client-declared scopes without server-side binding. A shared-authenticated client could present elevated scopes such as `operator.admin` even though those scopes were not tied to a device identity or an explicitly trusted Control UI path.\n\n### Impact\n\nThis crossed the intended authorization boundary and could let a shared-secret-authenticated backend client perform admin-only gateway operations.\n\n### Affected versions\n\n`openclaw` `\u003c= 2026.3.11`\n\n### Patch\n\nFixed in `openclaw` `2026.3.12`. The gateway now clears unbound scopes for non-Control-UI shared-auth connections, and regression tests cover the device-less shared-auth path.","aliases":["CVE-2026-22172"],"modified":"2026-03-20T21:26:21.438257Z","published":"2026-03-13T20:55:24Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-269","CWE-862"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-03-13T20:55:24Z"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-rqpp-rjj8-7wv8"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/pull/44306"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/5e389d5e7c9233ec91026ab2fea299ebaf3249f6"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/releases/tag/v2026.3.12"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.3.12"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2026.3.11","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-rqpp-rjj8-7wv8/GHSA-rqpp-rjj8-7wv8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}