Skip to content
MediumVulnerability

GHSA-whf9-3hcx-gq54: OpenClaw `device.token.rotate` mints tokens for unapproved roles, bypassing device role-upgrade pairing

Published
Record updated
View JSON
Affected
  • openclaw < 2026.4.8
Fixed in
2026.4.8
  • released April 8, 2026, 1 day before disclosure

Summary

OpenClaw versions up to and including v2026.04.01 have a flaw in `device.token.rotate` that mints tokens for roles that never went through device role-upgrade pairing approval. Device token rotation could therefore create or keep roles and scopes the intended pairing approval would have blocked. The advisory scopes the issue to OpenClaw's user-controlled local assistant trust model, not a multi-tenant service.

Mitigation

Fixed in npm package `openclaw` 2026.4.8 (patched version). The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.