ZDI-26-043: (0Day) npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Published Jan 12, 2026
·
Updated

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.

Affected Software

2 affected components
npm/cli
npm cli

Event History

Jan 12, 2026
Advisory Published
via ZDI·06:00 AM
Data Sourced
via ZDI·06:00 AM
Description
Feb 3, 2026
Advisory Published
via ZDI·04:02 AM
Data Sourced
via ZDI·04:02 AM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-26-043?

ZDI-26-043 is classified as a local privilege escalation vulnerability.

2

How do I fix ZDI-26-043?

To mitigate ZDI-26-043, ensure that your npm cli is updated to the latest version where the vulnerability has been addressed.

3

Who is affected by ZDI-26-043?

ZDI-26-043 affects installations of npm cli that have not implemented necessary security measures.

4

What can an attacker do with ZDI-26-043?

An attacker can escalate their privileges on the affected system if they can execute low-privileged code.

5

How can I determine if my npm cli installation is vulnerable to ZDI-26-043?

Check your npm cli version and compare it against the version fixed for the ZDI-26-043 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203