CVE-2026-32987 Overview
CVE-2026-32987 is a critical authentication bypass vulnerability in OpenClaw before version 2026.3.13 that enables attackers to replay bootstrap setup codes during device pairing verification. The vulnerability exists in src/infra/device-bootstrap.ts and allows malicious actors to verify a valid bootstrap code multiple times before approval, escalating pending pairing scopes and achieving privilege escalation to operator.admin level access.
Critical Impact
Attackers can exploit this replay vulnerability to escalate privileges to operator.admin, gaining full administrative control over OpenClaw instances through unauthorized device pairing manipulation.
Affected Products
- OpenClaw versions prior to 2026.3.13
- OpenClaw for Node.js (all affected versions)
Discovery Timeline
- 2026-03-29 - CVE-2026-32987 published to NVD
- 2026-03-31 - Last updated in NVD database
Technical Details for CVE-2026-32987
Vulnerability Analysis
This vulnerability represents an Authentication Bypass via Capture-Replay (CWE-294) in OpenClaw's device pairing mechanism. The flaw allows bootstrap setup codes to be replayed during the device pairing verification process, enabling unauthorized privilege escalation.
The vulnerable code in src/infra/device-bootstrap.ts fails to implement proper one-time-use validation for bootstrap codes. When a device initiates pairing, the bootstrap code is intended to be a single-use token that authorizes the pairing request. However, due to insufficient replay protection, an attacker who intercepts or obtains a valid bootstrap code can submit it multiple times during the verification window before the legitimate approval occurs.
Each replay of the bootstrap code allows the attacker to escalate the pending pairing scopes incrementally. By chaining multiple replay attempts, an attacker can elevate their privileges from a standard pairing scope all the way to operator.admin, which grants full administrative control over the OpenClaw instance.
Root Cause
The root cause is insufficient validation of bootstrap setup codes during the device pairing verification process. The application does not properly track and invalidate bootstrap codes after their first use, nor does it implement nonce-based protection or timestamp validation to prevent replay attacks. This allows the same valid code to be submitted multiple times within the verification window.
Attack Vector
This is a network-based attack that requires no authentication or user interaction. An attacker can exploit this vulnerability remotely by:
- Intercepting or obtaining a valid bootstrap setup code during the device pairing process
- Replaying the captured bootstrap code multiple times against the verification endpoint
- Each successful replay escalates the pending pairing scope permissions
- Continuing the attack until operator.admin privileges are achieved
- Completing the pairing with elevated administrative access
The attack can be executed without prior privileges and does not require any special conditions, making it highly exploitable in network-accessible OpenClaw deployments.
Detection Methods for CVE-2026-32987
Indicators of Compromise
- Multiple verification requests for the same bootstrap code within a short time window
- Unusual pairing scope escalation patterns in device bootstrap logs
- Unexpected operator.admin privilege assignments during device pairing
- Anomalous activity from newly paired devices with elevated permissions
Detection Strategies
- Monitor src/infra/device-bootstrap.ts related logs for repeated bootstrap code verification attempts
- Implement rate limiting detection for device pairing verification endpoints
- Alert on scope escalation patterns that deviate from normal pairing workflows
- Review audit logs for devices that obtained operator.admin privileges through pairing
Monitoring Recommendations
- Enable verbose logging for all device pairing and bootstrap verification operations
- Set up alerts for multiple verification attempts using identical bootstrap codes
- Monitor for privilege escalation events associated with new device pairings
- Implement real-time monitoring of administrative privilege assignments
How to Mitigate CVE-2026-32987
Immediate Actions Required
- Upgrade OpenClaw to version 2026.3.13 or later immediately
- Audit all existing device pairings for unauthorized operator.admin privilege escalation
- Review pairing logs for evidence of bootstrap code replay attacks
- Revoke any suspicious device pairings that may have been compromised
Patch Information
OpenClaw has released a security patch in version 2026.3.13 that addresses this vulnerability. The fix is available in commit 1803d16d5cec970c54b0e1ac46b31b1cbade335c. Organizations should upgrade to the patched version as soon as possible.
For detailed information about this vulnerability, refer to the GitHub Security Advisory GHSA-63f5-hhc7-cx6p.
Workarounds
- Implement network-level restrictions to limit access to device pairing endpoints
- Add rate limiting on bootstrap verification requests at the infrastructure level
- Temporarily disable automated device pairing until the patch can be applied
- Monitor and manually approve all device pairing requests with elevated scope requirements
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


