CVE-2019-16776: Fedoraproject Fedora

High severity, CVSS 8.1. EPSS: 3.4% chance of exploitation in the next 30 days.

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 package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Affected products

  • Fedoraproject Fedora: version 31 only
  • Npmjs Npm: before 6.13.3 (fixed in 6.13.3)
  • Opensuse Leap: version 15.1 only
  • Oracle Graalvm: version 19.3.0.2 only
  • Red Hat Enterprise Linux: version 8.0 only
  • Red Hat Enterprise Linux Eus: version 8.1 only

Published 2019-12-13. Last modified 2026-06-17.