GHSA-r3v5-2grc-429h: Duplicate Advisory Remote Code Execution Vulnerability

HIGH
CVSS 8.8
CWE-648
Published
Advisory Summary

GHSA-r3v5-2grc-429h is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-648: Incorrect Use of Privileged APIs) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves openclaw gateway: rce and privilege escalation from operator.pairing to operator.admin via device.pair.approve. Remediation is available by upgrading affected packages to version 2026.3.22.

GHSA-r3v5-2grc-429h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-r3v5-2grc-429h
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-648: Incorrect Use of Privileged APIs
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-r3v5-2grc-429h

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openclaw fixed: 2026.3.22
npm install openclaw@2026.3.22
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls openclaw

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-r3v5-2grc-429h, inspect your project dependencies using npm:

npm ls openclaw

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.3.22), your application is affected.

Note: The npm ls openclaw command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-648: Incorrect Use of Privileged APIs, where the product does not conform to the api requirements for a function call that requires extra privileges. this could allow attackers to gain privileges by causing the function to be called incorrectly. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-hf68-49fm-59cq. This link is maintained to preserve external references. ### Original Description OpenClaw before 2026.3.22 contains a privilege escalation vulnerability in the device.pair.approve method that allows an operator.pairing approver to approve pending device requests with broader operator scopes than the approver actually holds. Attackers can exploit insufficient scope validation to escalate privileges to operator.admin and achieve remote code execution on the Node infrastructure.

GHSA-r3v5-2grc-429h Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
2026.3.22
Product / Package Ecosystem Affected Versions Fixed Version
openclaw
npm
< 2026.3.22
2026.3.22

References

Frequently Asked Questions

What is GHSA-r3v5-2grc-429h?
GHSA-r3v5-2grc-429h is a security vulnerability in Duplicate Advisory involving OpenClaw Gateway: RCE and Privilege Escalation from operator.pairing to operator.admin via device.pair.approve under CWE-648: Incorrect Use of Privileged APIs.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2026.3.22 across affected packages: openclaw.
What version fixes GHSA-r3v5-2grc-429h?
Upgrading to 2026.3.22 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openclaw affected?
Yes, openclaw is affected in releases prior to 2026.3.22. Upgrade your dependency to 2026.3.22 or later.
What is the CVSS score of GHSA-r3v5-2grc-429h?
GHSA-r3v5-2grc-429h has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-r3v5-2grc-429h?
GHSA-r3v5-2grc-429h is classified under CWE-648: Incorrect Use of Privileged APIs (The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly.).
How can I check npm dependencies for GHSA-r3v5-2grc-429h?
Run the dependency tree command: 'npm ls openclaw'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r3v5-2grc-429h",
  "modified" : "2026-04-10T20:20:07Z",
  "published" : "2026-04-10T00:30:30Z",
  "withdrawn" : "2026-04-10T20:20:07Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: OpenClaw Gateway: RCE and Privilege Escalation from operator.pairing to operator.admin via device.pair.approve",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-hf68-49fm-59cq. This link is maintained to preserve external references.\n\n### Original Description\nOpenClaw before 2026.3.22 contains a privilege escalation vulnerability in the device.pair.approve method that allows an operator.pairing approver to approve pending device requests with broader operator scopes than the approver actually holds. Attackers can exploit insufficient scope validation to escalate privileges to operator.admin and achieve remote code execution on the Node infrastructure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "openclaw"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2026.3.22"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-hf68-49fm-59cq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35639"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/commit/630f1479c44f78484dfa21bb407cbe6f171dac87"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/commit/fc2d29ea926f47c428c556e92ec981441228d2a4"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/openclaw-privilege-escalation-via-device-pair-approve-scope-validation"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-648" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-10T20:20:07Z",
    "nvd_published_at" : "2026-04-09T22:16:33Z"
  }
}