Description
OpenClaw before 2026.3.22 contains a privilege escalation vulnerability in the device.pair.approve method that allows an operator.pairing approver to approve pending device requests with broader operator scopes than the approver actually holds. Attackers can exploit insufficient scope validation to escalate privileges to operator.admin and achieve remote code execution on the Node infrastructure.
Problem types
CWE-648: Incorrect Use of Privileged APIs
Product status
Any version before 2026.3.22
2026.3.22 (semver)
Credits
Peng Zhou (@zpbrent)
References
github.com/...enclaw/security/advisories/GHSA-hf68-49fm-59cq (GitHub Security Advisory (GHSA-hf68-49fm-59cq))
github.com/...ommit/630f1479c44f78484dfa21bb407cbe6f171dac87 (Patch Commit #1)
github.com/...ommit/fc2d29ea926f47c428c556e92ec981441228d2a4 (Patch Commit #2)
www.vulncheck.com/...ia-device-pair-approve-scope-validation (VulnCheck Advisory: OpenClaw < 2026.3.22 - Privilege Escalation via device.pair.approve Scope Validation)