CVE-2026-0775
Unknown Unknown - Not Provided
Local Privilege Escalation in npm CLI via Incorrect Permissions

Publication date: 2026-01-23

Last updated on: 2026-01-23

Assigner: Zero Day Initiative

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. Was ZDI-CAN-25430.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-23
Last Modified
2026-01-23
Generated
2026-05-27
AI Q&A
2026-01-23
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
npm cli *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-732 The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-0775 is a local privilege escalation vulnerability in the npm CLI caused by incorrect permission assignment during module handling. The npm CLI loads modules from an unsecured location, which allows an attacker who already has the ability to execute low-privileged code on the system to escalate their privileges and execute arbitrary code with the privileges of the targeted user. [1]


How can this vulnerability impact me? :

This vulnerability can allow an attacker who has limited access to your system to escalate their privileges, potentially gaining higher-level access and executing arbitrary code with the privileges of the targeted user. This could lead to unauthorized actions, data compromise, or further system exploitation. [1]


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, ensure that you restrict the ability to execute low-privileged code on your system, as exploitation requires such access. Additionally, update the npm CLI to the latest version where this vulnerability is fixed or apply any vendor-provided patches. Review and correct permission assignments related to module handling to prevent loading modules from unsecured locations. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart