Npm Cli vulnerabilities
6 vulnerabilities
Known vulnerabilities in Npm Cli, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-0775chainguard · actions-runner +34 morenpm cli Incorrect Permission Assignment Local Privilege Escalation VulnerabilityThis 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.CVSS7.0HighEPSS0.29%RoutineCVE-2020-15095fedoraproject · fedora +87 moreSensitive information exposure through logs in npm cliVersions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like "<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>". The password value is not redacted and is printed to stdout and also to any generated log files.CVSS4.4MediumEPSS0.40%RoutineCVE-2019-16777fedoraproject · fedora +88 moreArbitrary File Overwrite in npm CLIVersions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a serve binary, any subsequent installs of packages that also create a serve binary would overwrite the previous serve binary. This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.CVSS7.7HighEPSS2.03%RoutineCVE-2019-16776fedoraproject · fedora +88 moreUnauthorized File Access in npm CLI before before version 6.13.3Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.CVSS8.1HighEPSS3.41%RoutineCVE-2019-16775fedoraproject · fedora +87 moreUnauthorized File Access in npm CLI before before version 6.13.3Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.CVSS7.7HighEPSS2.90%RoutineCVE-2016-10538hackerone · cli node module +4 morehackerone cli node moduleThe package `node-cli` before 1.0.0 insecurely uses the lock_file and log_file. Both of these are temporary, but it allows the starting user to overwrite any file they have access to.CVSS4.9MediumEPSS0.96%