Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-42422

CVE-2026-42422: OpenClaw `device.token.rotate` mints tokens for unapproved roles, bypassing device role-upgrade pairing

April 9, 2026 (updated May 6, 2026)

OpenClaw device.token.rotate mints tokens for unapproved roles, bypassing device role-upgrade pairing.

Device token rotation could mint or preserve roles/scopes that had not gone through the intended pairing approval.

OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

References

  • github.com/advisories/GHSA-whf9-3hcx-gq54
  • github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5
  • github.com/openclaw/openclaw/security/advisories/GHSA-whf9-3hcx-gq54
  • nvd.nist.gov/vuln/detail/CVE-2026-42422
  • www.vulncheck.com/advisories/openclaw-role-bypass-in-device-token-rotate-function

Code Behaviors & Features

Detect and mitigate CVE-2026-42422 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.4.8

Fixed versions

  • 2026.4.8

Solution

Upgrade to version 2026.4.8 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

npm/openclaw/CVE-2026-42422.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.