Live threats

All CVEs / Codecov

CVE-2020-15123Codecov

Critical 9.3 No auth needed

Priority
71
CVSS 3.1
9.3
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jul 20, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Codecov.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm codecov < 3.7.1 3.7.1 npm install codecov@3.7.1

Per OSV / GitHub Advisories (GHSA-xp63-6vf5-xf3v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codecovcodecov< 3.7.1

Official sources

References

Links published by the sources. Open them with care.