Home / npm / cli / CVE-2019-16775
CVE-2019-16775: is it exploited, and which versions of npm cli are affected and fixed?
CVE-2019-16775 is an UNIX Symbolic Link (Symlink) Following vulnerability in npm cli. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: npm before 6.13.3 (GitHub advisory GHSA-m6cx-g6qm-p2cx). Fixed in 6.13.3 (GitHub advisory GHSA-m6cx-g6qm-p2cx). Severity: High (7.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:17 UTC.
What is CVE-2019-16775?
Unauthorized File Access in npm CLI before before version 6.13.3
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 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.
From the CVE record by GitHub_M, last updated August 5, 2024, 01:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| npm | cli | from < 6.13.3 before 6.13.3 | 6.13.3 |
As the CVE record by GitHub_M states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | npm | < 6.13.3 | 6.13.3 | GHSA-m6cx-g6qm-p2cx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 21, 2021. Summary: Arbitrary File Write in npm.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux eus | 8.1 | operating system |
| npmjs | npm | before 6.13.3 | application |
| opensuse | leap | 15.1 | operating system |
| oracle | graalvm | 19.3.0.2 | application |
| oracle | graalvm | 20.3.3 | application |
| oracle | graalvm | 21.2.2 | application |
| fedoraproject | fedora | 31 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:22 UTC.
How severe is CVE-2019-16775?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-16775 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.90% probability of exploitation activity in the next 30 days, percentile 87.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- openSUSE-SU-2020:0059 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-595ce5e3cc vendor-advisory, x_refsource_FEDORA
- RHEA-2020:0330 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0573 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0579 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0597 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0602 vendor-advisory, x_refsource_REDHAT
- https://www.oracle.com/security-alerts/cpujan2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://github.com/npm/cli/security/advisories/GHSA-m6cx-g6qm-p2cx x_refsource_CONFIRM
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 24, 2019
- Published
- December 13, 2019, 00:55 UTC
- CVE record updated
- August 5, 2024, 01:24 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:22 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cli?
- Jan 23, 2026CVE-2026-0775 npm cli: incorrect permissions on a critical resource
- Jul 7, 2020CVE-2020-15095 npm cli: sensitive information written to log files
- Dec 13, 2019CVE-2019-16777 npm cli: path traversal (reading or writing files outside the intended folder)
- Dec 13, 2019CVE-2019-16776 npm cli: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2019-16775
Is CVE-2019-16775 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 2.90% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of npm cli are affected by CVE-2019-16775?
npm before 6.13.3, per the GitHub advisory GHSA-m6cx-g6qm-p2cx. The tables above give every range the sources list.
Which version fixes CVE-2019-16775?
6.13.3, per the GitHub advisory GHSA-m6cx-g6qm-p2cx. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-16775?
High (7.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2019-16775?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.