Description
OpenClaw before 2026.3.28 contains a privilege escalation vulnerability in the /pair approve command path that fails to forward caller scopes into the core approval check. A caller with pairing privileges but without admin privileges can approve pending device requests asking for broader scopes including admin access by exploiting the missing scope validation in extensions/device-pair/index.ts and src/infra/device-pairing.ts.
Problem types
CWE-863: Incorrect Authorization
Product status
Any version before 2026.3.28
2026.3.28 (semver)
Credits
AntAISecurityLab
References
github.com/...enclaw/security/advisories/GHSA-hc5h-pmr3-3497 (GitHub Security Advisory (GHSA-hc5h-pmr3-3497))
github.com/...ommit/e403decb6e20091b5402780a7ccd2085f98aa3cd (Patch Commit)
www.vulncheck.com/...cope-validation-in-device-pair-approval (VulnCheck Advisory: OpenClaw < 2026.3.28 - Privilege Escalation via Missing Caller Scope Validation in Device Pair Approval)