8.1

CVE-2019-16776: Unauthorized File Access in npm CLI before before version 6.13.3

Modified
AliasesUBUNTU-CVE-2019-16776DEBIAN-CVE-2019-16776CGA-4xx2-9pmq-9c23
Published 13-12-2019Last modified 05-08-2024

Vulnerability summary

CVE-2019-16776 is a high (CVSS 8.1) vulnerability in fedoraproject fedora. EPSS estimates a 3.42% chance of exploitation in the next 30 days, higher than 88.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
3.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 15

Timeline

  1. 13-12-2019
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

3.42%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.42% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard74 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.3All versions (No fix recorded)
Npm2 products
  • cli≥ < 6.13.3, < 6.13.3
  • npm< 6.13.3
Redhat2 products
Wolfi2 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
Debian1 product
  • npm< 6.13.4+ds-2
Fedoraproject1 product
Npmjs1 product
Opensuse1 product
Oracle1 product
Ubuntu1 product
  • npmAll versions (No fix recorded)

10 vendors · 86 products

References

17 links
Show all 17 references