Skip to content
Threat Feed
high advisory

OpenClaw Privilege Escalation via Unbound Bootstrap Codes

OpenClaw versions 2026.3.13-1 and earlier contain a privilege escalation vulnerability where bootstrap setup codes are not properly bound, allowing attackers to gain elevated privileges during the initial device pairing process.

Triage facts

Revision 2
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 2Apr 3, 03:19 UTC
Detection
2 rules
Revision history 1 entry · Revision 2
  1. Revision 2

    Repaired a legacy canonical identity collision

    Changed: slug

A high-severity privilege escalation vulnerability affects the OpenClaw npm package. Specifically, versions up to and including 2026.3.13-1 are vulnerable. The flaw stems from a lack of proper binding for bootstrap setup codes, which are used during the initial device pairing. This allows an attacker to potentially escalate privileges during the first-time setup process. The vulnerability was reported by @tdjackey and patched in version 2026.3.22, with the fix committed on March 22, 2026. Defenders should ensure that all OpenClaw installations are updated to version 2026.3.22 or later to mitigate this risk.

Attack Chain

  1. Attacker gains access to an OpenClaw deployment using a vulnerable version (<=2026.3.13-1). This could involve an initial install of the package.
  2. Attacker initiates the device pairing process, triggering the bootstrap setup code functionality.
  3. The application fails to properly validate the scope or role associated with the bootstrap setup code.
  4. Attacker leverages the unbound bootstrap setup code to request elevated privileges.
  5. Due to the missing validation, the application grants the attacker's request for elevated privileges.
  6. The attacker now operates with higher privileges within the OpenClaw environment.
  7. Attacker performs actions that require elevated privileges, such as modifying system settings or accessing sensitive data.

Impact

Successful exploitation of this vulnerability allows an attacker to escalate their privileges within the OpenClaw application. This can lead to unauthorized access to sensitive data, modification of critical system settings, and potentially full control over the affected system. The number of affected installations is unknown, but any OpenClaw deployment using a vulnerable version is susceptible to this attack.

Recommendation

  • Upgrade OpenClaw installations to version 2026.3.22 or later to remediate the vulnerability.
  • If upgrading is not immediately possible, investigate any suspicious activity related to device pairing and bootstrap code usage.

Detection coverage 2

Detect OpenClaw Package Install from Public Registry

info

Detects installation of the OpenClaw package from the public npm registry, which could indicate an initial deployment or update.

sigma tactics: privilege_escalation techniques: T1068 sources: process_creation, linux

Detect OpenClaw Version Check via NPM

info

Detects attempts to check the installed version of OpenClaw using npm, which might precede exploitation attempts or reconnaissance.

sigma tactics: privilege_escalation techniques: T1068 sources: process_creation, linux

Detection queries are available on the platform. Get full rules →