CVE-2026-0775
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| npm | cli | * |
Helpful Resources
Exploitability
| 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]