Skip to main content
No exploitation reportedFix available

CVE-2019-16775

No exploitation reported by the sources we read.

  • Published2019-12-13
  • WeaknessCWE-59 · CWE-61

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2019-12-1301:15CVE publishedNVD

Versions per branch

NVD · OSV
Oracle graalvm
BranchAffectedFixed in
19.3= 19.3.0.2no fix published
20.3= 20.3.3no fix published
21.2= 21.2.2no fix published
Fedoraproject fedora
BranchAffectedFixed in
31.x= 31no fix published
Npmjs npm
BranchAffectedFixed in
6.13< 6.13.36.13.3

3 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • code-serverWolfiall versions · fixed in 0and 1 other package
  • code-serverChainguardall versions · fixed in 0and 67 other packages
  • gitlab-rails-19.1MinimOSall versions · fixed in 0
  • gitlab-rails-ce-assets-19.6Chainguardall versions · no fixed version listedand 5 other packages
  • libuvMageia:7all versions · fixed in 1.34.2-1.mga7
  • nodejsRed Hat:rhel_e4s:8.0::appstreamall versions · fixed in 1:10.19.0-1.module+el8.0.0+5738+1362a79cand 5 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:12.14.1-1.module+el8.1.0+5466+30f75629and 4 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:10.19.0-1.module+el8.1.0+5726+6ed65f8cand 5 other packages

46 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2020:2625 Red Hat Product Security52 products fixed

    Red Hat Security Advisory: rh-nodejs8-nodejs security update

  • RHSA-2020:0602 Red Hat Product Security66 products fixed

    Red Hat Security Advisory: rh-nodejs12-nodejs security update

  • RHSA-2020:0597 Red Hat Product Security66 products fixed

    Red Hat Security Advisory: rh-nodejs10-nodejs security update

  • RHSA-2020:0579 Red Hat Product Security27 products fixed

    Red Hat Security Advisory: nodejs:10 security update

  • RHSA-2020:0573 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: nodejs:10 security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2020:2625 · 62 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.7known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • NVDCVSS 2.04read 2026-10-23
  • CNAweakness (CWE)CWE-61known since 2026-10-23
  • NVDweakness (CWE)CWE-59read 2026-10-23
  • FIRST EPSSEPSS score2.9 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2020-06-17

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published
2019-12-13
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-m6cx-g6qm-p2cx

Frequently asked questions

What is CVE-2019-16775?

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.

Is CVE-2019-16775 actively exploited?

Active exploitation of CVE-2019-16775 has not been confirmed. Its EPSS score was 2.9% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-16775?

CVE-2019-16775 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

Running npm? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record