/

CVE-2026-62223

Severity:

HIGH RISK

(8.8)

Authorization Bypass (CWE-863) in OpenClaw Pairing

CVE-2026-62223

Analyzed

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Privilege Escalation and Unauthorized Actions

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenClaw contains an authorization bypass in its device-pair approval feature that allows lower-trust callers to perform actions outside their intended privileges.

When this feature is enabled and exposed via misconfigured input paths, attackers may execute or persist unauthorized actions on paired devices or related workflows.

Affected context

The vulnerability arises in OpenClaw deployments that use the device-pair approval feature to coordinate trust relationships between devices or components.

It is most relevant when this feature is enabled, reachable over application or service interfaces, and when input routing or path configuration is loosely controlled.

In such environments, lower-trust callers may reach approval endpoints or logic that were intended only for higher-privilege contexts.

Exploit preconditions

  • Attack surface: Application/API endpoints associated with device pairing and approval workflows.
  • Required access: Ability to send requests as a lower-trust caller (e.g., standard user, device, or service role) to the pairing approval interface.
  • Trigger point: Misconfigured or overly permissive input paths that route untrusted requests into authorization-sensitive approval logic.
  • Why exploitation is possible: Authorization checks are incomplete or misapplied (CWE-863), allowing actions to be processed without verifying that the caller has the necessary role or trust level.

Why this happens

This issue is rooted in improper authorization logic where sensitive operations rely on assumptions about caller trust rather than explicit, enforced checks.

The device-pair approval feature appears to expose actions through input paths that do not consistently validate the caller's identity, role, or relationship to the target device.

Conceptually, this maps to CWE-863: Incorrect Authorization, where access control decisions are made without robust, centralized enforcement and where routing or contextual signals are trusted more than explicit authorization policies.

The insecure pattern is that approval operations can be invoked by lower-trust entities because path configuration and handler logic permit access beyond intended boundaries.

Potential impact

  • Lower-trust callers may approve or finalize device pairing without the required authorization.
  • Attackers could persist unauthorized device relationships or configurations within the system.
  • Unauthorized changes to device trust states may enable further compromise or misuse of connected functionalities.
  • Operational integrity of pairing workflows can be undermined, affecting downstream security-sensitive processes.
  • In multi-tenant or multi-device environments, unauthorized approvals can lead to cross-tenant or cross-device privilege escalation.

General mitigation guidance

Effective mitigation focuses on strengthening and centralizing authorization checks around all pairing-related operations.

Useful patterns include:

  • Enforcing role- and context-based authorization on every device-pair approval endpoint, independent of routing or input path assumptions.
  • Using a single, centralized access control layer that validates caller identity, trust level, and ownership before performing approval actions.
  • Tightening input path and routing configurations so that only explicitly authorized callers can reach approval handlers.
  • Designing pairing workflows so that sensitive state changes require explicit verification steps (e.g., multi-step approvals) bound to high-trust identities.
  • Applying least-privilege principles to roles and service accounts, limiting which entities may initiate or confirm pairing operations.

How teams detect issues like this

Detection typically involves reviewing both authorization logic and routing configuration for the pairing feature.

Common strategies include:

  • Static analysis and policy checks that flag handler functions performing sensitive updates without explicit, centralized authorization enforcement.
  • Code review focused on device-pair approval flows, ensuring that every entry point validates caller identity, role, and ownership before proceeding.
  • Configuration audits to identify input paths or routes that expose approval endpoints more broadly than intended.
  • Access control tests and security-focused integration tests that attempt approvals from lower-trust roles to validate enforcement.
  • Use of automated security testing tools that simulate privilege escalation attempts across pairing-related APIs or UI actions.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-hx85-fgcw-9vrc
vulncheck.comvulncheck.com/advisories/openclaw-authorization-bypass-via-device-pair

Frequently asked

questions

Exploitability depends on how widely the device-pair approval feature is exposed and how input paths are configured; in deployments where approval endpoints are reachable by general users or lower-trust devices, the scope can be significant.

An attacker typically needs the ability to act as a lower-trust caller—such as a standard user, device, or service role—and send requests to the pairing approval interface through misconfigured or overly permissive input paths.

The most robust fix is to centralize and strictly enforce authorization checks on all pairing-related operations, ensuring that only explicitly authorized, high-trust roles can invoke approval actions regardless of how requests are routed.

Future prevention involves designing access control early in the architecture, using consistent authorization middleware, validating every sensitive action against explicit policies, and regularly testing pairing and approval flows for privilege escalation scenarios.

Find out what's already
exploitable in your codebase.