Every CVE Search/ Get API key

CVE-2026-0775

npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability

7.0 HighFix available

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. Was ZDI-CAN-25430.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.29%Up 0.3 points since Jan 23, 2026
90%50%10%1%

What each source reports

CVE List 7.0

npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability

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. Was ZDI-CAN-25430.

Record
CVE-2026-0775
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-732, CWE-732
Updated
2026-11-02
EUVDEUVD-2026-4479 7.0

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. Was ZDI-CAN-25430.

Record
EUVD-2026-4479
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-3966-f6p6-2qr9 7.0

Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Duplicate Advisory

This advisory has been withdrawn because describes a dependency bump and therefore, per CVE CNA rule 4.1.12, 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.

Record
GHSA-3966-f6p6-2qr9
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-732
Updated
2026-11-02
NVD 7.0

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. Was ZDI-CAN-25430.

Record
CVE-2026-0775
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-732
Updated
2026-11-02
OSVDEBIAN-CVE-2026-0775 7.0

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. Was ZDI-CAN-25430.

Record
DEBIAN-CVE-2026-0775
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-3966-f6p6-2qr9 7.0

Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Duplicate Advisory

This advisory has been withdrawn because describes a dependency bump and therefore, per CVE CNA rule 4.1.12, 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.

Record
GHSA-3966-f6p6-2qr9
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-732
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2026-0775 7.0

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. Was ZDI-CAN-25430.

Record
UBUNTU-CVE-2026-0775
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2026-0775 No score

CVE-2026-0775 in npm - Patched by Root

Root has patched CVE-2026-0775 in the npm package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2026-0775
Updated
2026-11-02
OSVSUSE-SU-2026:2005-1 No score

Security update for cockpit

This update for cockpit fixes the following issues

  • CVE-2026-0775: npm: loading of modules from an unsecured location can be used for local privilege escalation and arbitrary code execution in the context of a target user (bsc#1256521).
  • CVE-2026-4802: remote command execution via unsanitized user-controlled parameters within crafted links in system logs UI (bsc#1265040).
  • CVE-2026-29074: svgo: no guard against entity expansion or recursion when processing XML with custom entities can lead to DoS (bsc#1259290).
Record
SUSE-SU-2026:2005-1
Updated
2026-11-02
OSVSUSE-SU-2026:2019-1 No score

Security update for cockpit

This update for cockpit fixes the following issues

  • CVE-2026-0775: npm: loading of modules from an unsecured location can be used for local privilege escalation and arbitrary code execution in the context of a target user (bsc#1256521).
  • CVE-2026-4802: remote command execution via unsanitized user-controlled parameters within crafted links in system logs UI (bsc#1265040).
  • CVE-2026-29074: svgo: no guard against entity expansion or recursion when processing XML with custom entities can lead to DoS (bsc#1259290).
Record
SUSE-SU-2026:2019-1
Updated
2026-11-02

Affected products

Show 24 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
npm
Debian:12
All versions, plus listed versions
11.12.1~ds1-111.12.1~ds1-211.12.1~ds1-311.12.1~ds1-411.13.0~ds1-1
Show 16 moreShow less
11.16.0+ds2-111.16.0+ds2-211.16.0+ds2-311.16.0+ds2-411.19.0+ds1-111.19.0+ds1-211.19.0-112.0.2+ds1-112.0.2+ds1-29.2.0~ds1-19.2.0~ds1-29.2.0~ds1-39.2.0~ds1-49.2.0~ds2-19.2.0~ds2-29.2.0~ds3-1
None known
npm
Debian:13
All versions, plus listed versions
11.12.1~ds1-111.12.1~ds1-211.12.1~ds1-311.12.1~ds1-411.13.0~ds1-1
Show 14 moreShow less
11.16.0+ds2-111.16.0+ds2-211.16.0+ds2-311.16.0+ds2-411.19.0+ds1-111.19.0+ds1-211.19.0-112.0.2+ds1-112.0.2+ds1-29.2.0~ds1-39.2.0~ds1-49.2.0~ds2-19.2.0~ds2-29.2.0~ds3-1
None known
npm
Debian:14
All versions, plus listed versions
11.12.1~ds1-111.12.1~ds1-211.12.1~ds1-311.12.1~ds1-411.13.0~ds1-1
Show 14 moreShow less
11.16.0+ds2-111.16.0+ds2-211.16.0+ds2-311.16.0+ds2-411.19.0+ds1-111.19.0+ds1-211.19.0-112.0.2+ds1-112.0.2+ds1-29.2.0~ds1-39.2.0~ds1-49.2.0~ds2-19.2.0~ds2-29.2.0~ds3-1
None known
npm
Root:npm
before 10.9.8-aikido.1
10.9.8-aikido.16.14.18-aikido.1
@rootio/npm
Root:npm
before 10.9.3-root.io.1
10.9.3-root.io.110.9.3-root.io.211.6.2-root.io.110.9.8-root.io.16.14.18-root.io.1
npm
Ubuntu:14.04:LTS
All versions, plus listed versions
1.2.18~dfsg-31.3.10~dfsg-1
None known
npm
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.4.21+ds-23.5.2-0ubuntu43.5.2-0ubuntu4.1.16.04.1~esm1
None known
npm
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.5.2-0ubuntu43.5.2-0ubuntu4.1.18.04.1~esm1
None known
npm
Ubuntu:20.04:LTS
All versions, plus listed versions
5.8.0+ds6-46.14.4+ds-1ubuntu2
None known
npm
Ubuntu:22.04:LTS
All versions, plus listed versions
7.5.2+ds-27.24.2+ds-17.24.2+ds-28.3.0~ds-18.3.0~ds-28.3.2~ds-18.5.0~ds-18.5.1~ds-1
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
npm
Ubuntu:24.04:LTS
All versions, plus listed versions
9.2.0~ds1-19.2.0~ds1-2
None known
npm
Ubuntu:25.10
All versions, plus listed versions
9.2.0~ds1-3
None known
npm
Ubuntu:26.10
All versions, plus listed versions
9.2.0~ds3-111.16.0+ds2-4
None known
npm
Ubuntu:26.04:LTS
All versions, plus listed versions
9.2.0~ds1-39.2.0~ds2-29.2.0~ds3-1
None known

History

History
RecordedChangedSources
facts
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-0775 is a high vulnerability (CVSS 7.0) in Cli, published January 23, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 22nd percentile. Fixed in npm 10.9.8-aikido.1.

References

Show 13 moreShow less
MoveEnter Open