CVE-2026-0775CWE-732

npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability

High · published January 23, 2026

CVSS v3.0
7.0
EPSS
0%
Percentile
20.8
In the wild
Unconfirmed
What it is

⚡ A local attacker can literally turn the tables with npm cli’s mishandling of permissions! 🚀 Think of it as a restaurant that lets anyone in the kitchen to grab a chef's knife without checking if they're on the staff. If someone can run low-privileged code, it’s like they’ve snuck into the back and taken charge of the menu! With this flaw, an attacker could escalate their privileges, potentially taking control of the target user's environment! That means executing arbitrary code, accessing sensitive data, or making changes that could severely impact the system's integrity. It’s a recipe for chaos if left unchecked! 🔥

Put simply

Think of it as a restaurant that lets anyone in the kitchen to grab a chef's knife without checking if they're on the staff. If someone can run low-privileged code, it’s like they’ve snuck into the back and taken charge of the menu! This vulnerability allows local attackers to exploit npm cli by loading modules from unsecured locations, granting them the ability to escalate privileges and run arbitrary code as the target user. A successful exploit requires prior access to execute low-privileged code on the system.

What to do

With this flaw, an attacker could escalate their privileges, potentially taking control of the target user's environment! That means executing arbitrary code, accessing sensitive data, or making changes that could severely impact the system's integrity. It’s a recipe for chaos if left unchecked! 🔥 To mitigate this risk, ensure that you're using the latest version of npm cli, which addresses this vulnerability. Review your file permissions and restrict access to sensitive modules. Regular audits of your development and deployment environment will also help catch similar issues in the future. You've got this! Patch up and keep your environment secure—your security hero status is activated! 🛡️

The record
Technical detail
CVSS v3.0
7.0 · HIGH
Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00293 · 20.8th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-01-23T03:29Z
EPSS history
Timeline
  • 23 JAN 03:29Z
    npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability
    cvelistv5