Loading...
Skip to main content

CVE-2026-42422 — Vulnerability in openclaw — CVE Details

MEDIUM

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

Published April 9, 2026Updated May 6, 2026Source: osv

Summary

## Impact 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. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `<= v2026.04.01` - Patched versions: `2026.4.8` ## Fix The issue was fixed on `main` and is available in the patched npm version listed above. The verified fixed tree is commit `d7c3210cd6f5fdfdc1beff4c9541673e814354d5`. ## Verification The fix was re-checked against `main` before publication, including targeted regression tests for the affected security boundary. ## Credits Thanks @nicky-cc of Tencent zhuque Lab ([https://github.com/Tencent/AI-Infra-Guard](https://github.com/Tencent/AI-Infra-Guard)) for reporting.

Advisory Timeline

  • First published April 9, 2026 (186 days ago).
  • Last revised May 6, 2026 — 26 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update openclaw to 2026.4.8 or later
npm install openclaw@2026.4.8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
openclaw
npm
All versions2026.4.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-42422?
OpenClaw `device.token.rotate` mints tokens for unapproved roles, bypassing device role-upgrade pairing This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-42422?
CVE-2026-42422 affects openclaw. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42422 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-whf9-3hcx-gq54

Related CVEs

  • CVE-2026-32922
    CRITICAL

    OpenClaw: Pairing-scoped device tokens could mint `operator.admin` and reach node RCE

  • CVE-2026-41329
    CRITICAL

    OpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalation

  • CVE-2026-28466
    CRITICAL

    OpenClaw Vulnerable to Remote Code Execution via Node Invoke Approval Bypass in Gateway

  • CVE-2026-28363
    HIGH

    OpenClaw's tools.exec.safeBins sort long-option abbreviation bypass can skip exec approval in allowlist mode

  • CVE-2026-28470
    HIGH

    OpenClaw has an exec allowlist bypass via command substitution/backticks inside double quotes

  • CVE-2026-41386
    HIGH

    OpenClaw: Unbound bootstrap setup codes allow privilege escalation during pairing

  • CVE-2026-41378
    HIGH

    OpenClaw: Paired node escalates to gateway RCE via unrestricted node.event agent dispatch

  • CVE-2026-32010
    MEDIUM

    In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies