CVE-2020-15123

Command injection in codecov (npm package)

CRITICAL
9.3
CVSS Score
Published: July 20, 2020 at 05:20 PM UTC
Updated: June 17, 2026 at 02:56 AM UTC
1 product affected across 1 vendorCodecov

Using codecov-node by codecov?

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

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

Description

In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection.

Affected

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

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

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

9.3CRITICALGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-78

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