{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-16776","published":"2019-12-13T01:15:10.913000Z","last_modified":"2026-06-17T02:22:46.737000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*","part":"a","vendor":"npmjs","product":"npm","version_end_excluding":"6.13.3"},{"criteria":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"leap","version":"15.1"},{"criteria":"cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*","part":"a","vendor":"oracle","product":"graalvm","version":"19.3.0.2"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"31"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"8.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_eus","version":"8.1"}],"cpes_truncated":false,"vendors":["npmjs","opensuse","oracle","fedoraproject","redhat"],"products":["npmjs/npm","opensuse/leap","oracle/graalvm","fedoraproject/fedora","redhat/enterprise_linux","redhat/enterprise_linux_eus"],"epss":{"score":0.03412,"percentile":0.89664,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x8qc-rrcw-4r46","ecosystem":"npm","name":"npm","purl":"pkg:npm/npm","ranges":[{"introduced":"0","fixed":"6.13.3"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2019-16776/","html_en":"/en/cve/CVE-2019-16776/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16776","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16776"},"untrusted":{"vendor_name":"Npmjs","product_name":"Npm","desc_en":"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":[{"untrusted_vendor":"npm","untrusted_product":"cli","versions":[]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHEA-2020:0330","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0573","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0579","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0597","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0602","tags":["Third Party Advisory"]},{"url":"https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli","tags":["Third Party Advisory"]},{"url":"https://github.com/npm/cli/security/advisories/GHSA-x8qc-rrcw-4r46","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpujan2020.html","tags":["Third Party Advisory"]}]}}