Home / npm / cli / CVE-2020-15095
CVE-2020-15095: is it exploited, and which versions of npm cli are affected and fixed?
CVE-2020-15095 is a sensitive information written to log files 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:38 UTC). Affected: npm before 6.14.6 (GitHub advisory GHSA-93f3-23rq-pjfp). Fixed in 6.14.6 (GitHub advisory GHSA-93f3-23rq-pjfp). Severity: Medium (4.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:09 UTC.
What is CVE-2020-15095?
Sensitive information exposure through logs in npm cli
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like "<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>". The password value is not redacted and is printed to stdout and also to any generated log files.
From the CVE record by GitHub_M, last updated August 4, 2024, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| npm | cli | < 6.14.6 |
As the CVE record by GitHub_M states it, last updated August 4, 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | npm | < 6.14.6 | 6.14.6 | GHSA-93f3-23rq-pjfp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 10, 2022. Summary: npm CLI exposing sensitive information through logs.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| npmjs | npm | before 6.14.6 | application |
| opensuse | leap | 15.1 | operating system |
| opensuse | leap | 15.2 | operating system |
| fedoraproject | fedora | 33 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.
How severe is CVE-2020-15095?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N | NVD |
| Low 1.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:P/I:N/A:N | NVD |
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-2020-15095 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp x_refsource_CONFIRM
- https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc x_refsource_MISC
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07 x_refsource_MISC
- openSUSE-SU-2020:1616 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1644 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1660 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-43d5a372fc vendor-advisory, x_refsource_FEDORA
- GLSA-202101-07 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- June 25, 2020
- Published
- July 7, 2020, 18:55 UTC
- CVE record updated
- August 4, 2024, 13:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:56 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:09 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cli?
- Jan 23, 2026CVE-2026-0775 npm cli: incorrect permissions on a critical resource
- Dec 13, 2019CVE-2019-16777 npm cli: path traversal (reading or writing files outside the intended folder)
- Dec 13, 2019CVE-2019-16776 npm cli: path traversal (reading or writing files outside the intended folder)
- Dec 13, 2019CVE-2019-16775 npm cli: UNIX Symbolic Link (Symlink) Following
Questions about CVE-2020-15095
Is CVE-2020-15095 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of npm cli are affected by CVE-2020-15095?
npm before 6.14.6, per the GitHub advisory GHSA-93f3-23rq-pjfp. The tables above give every range the sources list.
Which version fixes CVE-2020-15095?
6.14.6, per the GitHub advisory GHSA-93f3-23rq-pjfp. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-15095?
Medium (4.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-15095?
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.