CVE-2026-0775: Duplicate Advisory Npm Cli Uncontrolled Search Path Vulnerability

HIGH
Advisory Identifier: GHSA-3966-f6p6-2qr9
CVSS 7.0
CWE-732
Published
Advisory Summary

CVE-2026-0775 is a HIGH (CVSS 7.0) npm cli uncontrolled search path vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves npm cli uncontrolled search path element local privilege escalation vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2026-0775 at a Glance

CVE Identifier CVE-2026-0775
GHSA Identifier GHSA-3966-f6p6-2qr9
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.0

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

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
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 CVE-2026-0775

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.

npm fixed: Latest secure release
npm install npm@Latest secure release
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 npm

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-0775, inspect your project dependencies using npm:

npm ls npm

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 the patched release), your application is affected.

Note: The npm ls npm 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. 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 describes a dependency bump and therefore, per [CVE CNA rule 4.1.12](https://www.cve.org/ResourcesSupport/AllResources/CNARules/#section_4-1_Vulnerability_Determination), is a duplicate of GHSA-34x7-hfp2-rc4v/CVE-2026-24842. Additionally, per https://github.com/npm/cli/issues/8939#issuecomment-3862719883, npm cli should not be listed as an affected product. This link is maintained to preserve external references. ### Original Description npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.

CVE-2026-0775 Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
npm
npm
≤ 11.8.0

References

Frequently Asked Questions

What is CVE-2026-0775?
CVE-2026-0775 is a security vulnerability in Duplicate Advisory involving npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: npm.
What version fixes CVE-2026-0775?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is npm affected?
Yes, npm is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-0775?
CVE-2026-0775 has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-0775?
CVE-2026-0775 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check npm dependencies for CVE-2026-0775?
Run the dependency tree command: 'npm ls npm'. 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-3966-f6p6-2qr9",
  "modified" : "2026-02-06T22:28:42Z",
  "published" : "2026-01-23T06:31:24Z",
  "withdrawn" : "2026-02-06T22:28:42Z",
  "aliases" : [ "CVE-2026-0775" ],
  "summary" : "Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because describes a dependency bump and therefore, per [CVE CNA rule 4.1.12](https://www.cve.org/ResourcesSupport/AllResources/CNARules/#section_4-1_Vulnerability_Determination), is a duplicate of GHSA-34x7-hfp2-rc4v/CVE-2026-24842. Additionally, per https://github.com/npm/cli/issues/8939#issuecomment-3862719883, npm cli should not be listed as an affected product. This link is maintained to preserve external references.\n\n### Original Description\nnpm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.\n\nThe specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "npm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "11.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-0775"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/npm/cli/issues/8939"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/npm/cli"
  }, {
    "type" : "WEB",
    "url" : "https://www.zerodayinitiative.com/advisories/ZDI-26-043"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-03T17:42:06Z",
    "nvd_published_at" : "2026-01-23T04:16:04Z"
  }
}