CVE-2020-7596 — codecov
HIGHCVE-2020-7596 is a high-severity (CVSS 8.8) OS Command Injection vulnerability in codecov. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for codecov — see the affected versions and patch details below.
Improper Neutralization of Special Elements in Output Used by a Downstream Component in Codecov
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.
codecovnpmDescription
Codecov npm module before 3.6.2 allows remote attackers to execute arbitrary commands via the "gcov-args" argument.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | codecov | all versions | 3.6.2npm install codecov@3.6.2 |
Affected Products
nodejs uploadercodecovResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for codecov, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update codecov to 3.6.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-7596 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2020-7596 in your dependencies?
Find it across npm, including transitive dependencies.