Npmjs Npm vulnerabilities

12 known vulnerabilities affecting npmjs/npm.

Total CVEs
12
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH7MEDIUM3LOW1

Vulnerabilities

Page 1 of 1
CVE-2026-0775HIGHCVSS 8.2≥ 0, ≤ 11.8.02026-01-23
CVE-2026-0775 [HIGH] CWE-732 Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability ### Duplicate Advisory This advisory has been withdrawn because describes a dependency bump and therefore, per [CVE CNA rule 4.1.12](https://www.cve.org/ResourcesSupport/AllResources/CNARules/#section_4-1_Vulnerability_Determination), is a duplicate of GHSA-34x7-hfp
ghsaosv
CVE-2022-29244HIGHCVSS 7.5≥ 7.9.0, < 8.11.02022-06-13
CVE-2022-29244 [HIGH] CWE-200 CVE-2022-29244: npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a worksp npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not inte
ghsanvdosv
CVE-2021-43616CRITICALCVSS 9.8≥ 7.0.0, ≤ 7.24.2≥ 8.0.0, ≤ 8.1.32021-11-13
CVE-2021-43616 [CRITICAL] CWE-345 CVE-2021-43616: The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in package-lock.json differs from package.json. This behavior is inconsistent with the documentation, and makes it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in p
nvdosv
CVE-2021-39134HIGHCVSS 7.8≥ 0, < 7.24.0+ds-22021-08-31
CVE-2021-39134 [HIGH] CVE-2021-39134: `@npmcli/arborist`, the library that calculates dependency trees and manages the `node_modules` folder hierarchy for the npm command line interface, a `@npmcli/arborist`, the library that calculates dependency trees and manages the `node_modules` folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is
osv
CVE-2021-39135HIGHCVSS 7.8≥ 0, < 7.24.0+ds-22021-08-31
CVE-2021-39135 [HIGH] CVE-2021-39135: `@npmcli/arborist`, the library that calculates dependency trees and manages the node_modules folder hierarchy for the npm command line interface, aim `@npmcli/arborist`, the library that calculates dependency trees and manages the node_modules folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is a
osv
CVE-2013-4116LOWCVSS 3.3≥ 0, < 1.3.32020-09-01
CVE-2013-4116 [LOW] CWE-59 Local Privilege Escalation in npm Local Privilege Escalation in npm Affected versions of `npm` use predictable temporary file names during archive unpacking. If an attacker can create a symbolic link at the location of one of these temporary file names, the attacker can arbitrarily write to any file that the user which owns the `npm` process has permission to write to, potentially resulting in local privilege escalation. ## Recommendation Update to version 1.3.3 or
ghsaosv
CVE-2020-15095MEDIUMCVSS 4.4fixed in 6.14.62020-07-07
CVE-2020-15095 [MEDIUM] CWE-532 CVE-2020-15095: Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability thro Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like "://[[:]@][:][:][/]". The password value is not redacted and is printed to stdout and also to any generated log files.
ghsanvdosv
CVE-2019-16776HIGHCVSS 8.1fixed in 6.13.32019-12-13
CVE-2019-16776 [HIGH] CWE-22 CVE-2019-16776: Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to preve Versions 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
ghsanvdosv
CVE-2019-16775MEDIUMCVSS 6.5fixed in 6.13.32019-12-13
CVE-2019-16775 [MEDIUM] CWE-61 CVE-2019-16775: Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible fo Versions 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
ghsanvdosv
CVE-2019-16777MEDIUMCVSS 6.5fixed in 6.13.42019-12-13
CVE-2019-16777 [MEDIUM] CWE-22 CVE-2019-16777: Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to p Versions 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 overwri
ghsanvdosv
CVE-2018-7408HIGHCVSS 7.8v5.7.02018-02-22
CVE-2018-7408 [HIGH] CWE-732 CVE-2018-7408: An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefor An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr
ghsanvdosv
CVE-2016-3956HIGHCVSS 7.5fixed in 2.15.1≥ 3.0.0, < 3.8.32016-07-02
CVE-2016-3956 [HIGH] CWE-200 CVE-2016-3956: The CLI in npm before 2.15.1 and 3.x before 3.8.3, as used in Node.js 0.10 before 0.10.44, 0.12 befo The CLI in npm before 2.15.1 and 3.x before 3.8.3, as used in Node.js 0.10 before 0.10.44, 0.12 before 0.12.13, 4 before 4.4.2, and 5 before 5.10.0, includes bearer tokens with arbitrary requests, which allows remote HTTP servers to obtain sensitive information by reading Authorization headers.
ghsanvdosv
Npmjs Npm vulnerabilities | cvebase