ZDI-CAN-25430: 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
Dec 17, 58061
Event
via ZDI·06:13 AM
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-CAN-25430?

The severity of ZDI-CAN-25430 is critical due to its potential for local privilege escalation.

2

How do I fix ZDI-CAN-25430?

To fix ZDI-CAN-25430, it is recommended to update to the latest version of the npm cli, which addresses the permission assignment issues.

3

Who is affected by ZDI-CAN-25430?

ZDI-CAN-25430 affects installations of the npm cli that have not implemented the necessary security updates.

4

Can ZDI-CAN-25430 be exploited remotely?

No, ZDI-CAN-25430 requires local access to the system to exploit the privilege escalation vulnerability.

5

What type of vulnerability is ZDI-CAN-25430?

ZDI-CAN-25430 is categorized as a local privilege escalation vulnerability related to incorrect permission assignments.

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
ZDI-CAN-25430 - ZDI-26-043: (0Day) npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability - SecAlerts