ADVISORIES

GitHub Advisory Database

GHSA-2pr2-hcv6-7gwv

OpenClaw's device removal and token revocation do not terminate active WebSocket sessions

Details

Summary

Removing a device or revoking its token updated stored credentials but did not disconnect already-authenticated WebSocket sessions.

Impact

A revoked device could continue using its existing live session until reconnect, extending access beyond credential removal.

Affected Component

src/gateway/server-methods/devices.ts, src/gateway/server.impl.ts

Fixed Versions

  • Affected: <= 2026.3.24
  • Patched: >= 2026.3.28
  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit 7a801cc451 (Gateway: disconnect revoked device sessions).

OpenClaw thanks @AntAISecurityLab for reporting.

Affected packages

EcosystemPackageAffected versions
npmopenclaw
All versions before 2026.3.28 (fixed in 2026.3.28)

References