Skip to content
Access control Write-up Intermediate

OpenClaw privilege escalation vulnerability

The /pair approve command path in OpenClaw did not pass the caller's scopes into the core approval check, so a user with pairing rights but no admin rights could approve pending device requests that asked for broader scopes, including admin access. This let such a caller escalate their own privileges to admin level.

nvd.nist.gov

Published on nvd.nist.gov

The original lives on nvd.nist.gov

We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the approval handler in the device-pair extension and the core pairing logic did not carry the caller's scope information into the authorisation check, so the check could not reject requests for scopes the caller did not hold.

Impact

A caller with pairing privileges but without admin privileges could approve pending device requests asking for broader scopes including admin access, gaining high confidentiality and integrity impact.

What the attacker needed

Pairing privileges without admin; a pending device request for broader scopes

The fix

The issue was fixed in version 2026.3.28, which forwards the caller's scopes into the core approval check.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A program called OpenClaw lets devices be paired with it, and someone has to approve each request. The approval step was meant to check what permissions the approver has, but it forgot to pass that information along, so a low-privileged approver could wave through a request for full admin rights. That means a user with limited rights could give themselves or a device much more power than they should have.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.