VDB
Sign up
MEDIUM6.9

GHSA-7h7g-x2px-94hj

OpenClaw: Pairing setup codes exposed long-lived shared gateway credentials instead of short-lived bootstrap tokens

Quick fix

GHSA-7h7g-x2px-94hj — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.3.12

Details

### Summary

OpenClaw pairing setup codes generated by `/pair` and `openclaw qr` embedded the configured shared gateway token or password directly in the setup payload. Anyone who obtained that code from chat history, logs, screenshots, or copied QR payloads could recover the long-lived shared credential.

### Impact

An attacker with access to a leaked setup code could reuse the shared gateway credential outside the intended one-time pairing flow.

### Affected versions

`openclaw` `<= 2026.3.11`

### Patch

Fixed in `openclaw` `2026.3.12`. Setup codes now carry short-lived bootstrap tokens that are only valid for the initial device bootstrap exchange. Update to `2026.3.12` or later and rotate any previously exposed shared gateway credentials if setup codes may have leaked.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.3.12
Fixnpm install openclaw@2026.3.12

References