CVEBrief

Home / npm / cli / CVE-2019-16776

CVE-2019-16776: is it exploited, and which versions of npm cli are affected and fixed?

CVE-2019-16776 is a path traversal (reading or writing files outside the intended folder) 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, 11:08 UTC). Affected: npm before 6.13.3 (GitHub advisory GHSA-x8qc-rrcw-4r46). Fixed in 6.13.3 (GitHub advisory GHSA-x8qc-rrcw-4r46). Severity: High (7.7, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:17 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:08 UTC
Affected
npm before 6.13.3
GitHub advisory GHSA-x8qc-rrcw-4r46
Fixed in
6.13.3
GitHub advisory GHSA-x8qc-rrcw-4r46
Severity
High 7.7
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
3.41% in 30 days
higher than 89% of CVEs; FIRST, December 2, 2026

What is CVE-2019-16776?

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 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.

From the CVE record by GitHub_M, last updated August 5, 2024, 01:24 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
npmclifrom < 6.13.3 before 6.13.36.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?

EcosystemPackageAffectedFixed inAdvisory
npmnpm< 6.13.36.13.3GHSA-x8qc-rrcw-4r46

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 10, 2022. Summary: npm symlink reference outside of node_modules.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
npmjsnpmbefore 6.13.3application
opensuseleap15.1operating system
oraclegraalvm19.3.0.2application
fedoraprojectfedora31operating system
redhatenterprise linux8.0operating system
redhatenterprise linux eus8.1operating system

NVD analysis (status Modified), last modified June 17, 2026, 02:22 UTC.

How severe is CVE-2019-16776?

ScoreVersionVectorSource
High 7.7CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NGitHub_M
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NNVD
Medium 5.5CVSS 2.0AV:N/AC:L/Au:S/C:P/I:P/A:NNVD

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-16776 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
3.41% probability of exploitation activity in the next 30 days, percentile 89.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

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, 11:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect cli?

Every CVE in cli

Questions about CVE-2019-16776

Is CVE-2019-16776 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 3.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of npm cli are affected by CVE-2019-16776?

npm before 6.13.3, per the GitHub advisory GHSA-x8qc-rrcw-4r46. The tables above give every range the sources list.

Which version fixes CVE-2019-16776?

6.13.3, per the GitHub advisory GHSA-x8qc-rrcw-4r46. Check the vendor's advisory before you rely on it.

How severe is CVE-2019-16776?

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-16776?

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.