CVE-2020-15095

Sensitive information exposure through logs in npm cli

MEDIUM
4.4
CVSS Score
Published: July 7, 2020 at 06:55 PM UTC
Updated: June 17, 2026 at 02:56 AM UTC
4 products affected across 4 vendorsFedoraLeapNpm

Using cli by npm?

Get instant alerts when new vulnerabilities affect cli - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.4%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.14.6
Affected range stops below 6.14.6, so it looks safe — our inference, not a vendor statement
v < 6.14.6
Affected range stops below 6.14.6, so it looks safe — our inference, not a vendor statement

CVSS

4.4MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-532

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card