{"id":"CVE-2026-22172","aliases":["GHSA-rqpp-rjj8-7wv8"],"url":"https://o3.security/vulnerability/CVE-2026-22172","summary":"OpenClaw < 2026.3.12 - Scope Elevation in WebSocket Shared-Auth Connections","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` `<= 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.","published":"2026-03-20T14:48:28.639Z","modified":"2026-08-12T03:51:28.426666452Z","cvss":null,"epss":{"score":0.00561,"percentile":0.45326,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"openclaw","fixedVersion":"2026.3.12"}],"fix":{"url":"https://github.com/openclaw/openclaw/pull/44306","label":"openclaw/openclaw#44306"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22172.json"},{"type":"ADVISORY","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-rqpp-rjj8-7wv8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22172"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openclaw-scope-elevation-in-websocket-shared-auth-connections"},{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.426666452Z"}}