Home / https://github.com/ruby/ruby / https://github.com/ruby/ruby / CVE-2020-8130
CVE-2020-8130: is it exploited, and which versions of https://github.com/ruby/ruby are affected and fixed?
CVE-2020-8130 is an OS command injection vulnerability in https://github.com/ruby/ruby. 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, 17:39 UTC). Affected: rake before 12.3.3 (GitHub advisory GHSA-jppv-gw3r-w3q8). Fixed in 12.3.3 (GitHub advisory GHSA-jppv-gw3r-w3q8). Severity: Medium (6.4, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:15 UTC.
What is CVE-2020-8130?
There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`.
From the CVE record by hackerone, last updated August 4, 2024, 09:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| https://github.com/ruby/ruby | Fixed in Rake 12.3.3 |
As the CVE record by hackerone 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 |
|---|---|---|---|---|
| RubyGems | rake | < 12.3.3 | 12.3.3 | GHSA-jppv-gw3r-w3q8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: OS Command Injection in Rake.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | rake | before 12.3.3 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.10 | operating system |
| debian | debian linux | 8.0 | operating system |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| opensuse | leap | 15.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:25 UTC.
How severe is CVE-2020-8130?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C | 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-8130 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.36% probability of exploitation activity in the next 30 days, percentile 72.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://hackerone.com/reports/651518 x_refsource_MISC
- [debian-lts-announce] 20200226 [SECURITY] [DLA 2120-1] rake security update mailing-list, x_refsource_MLIST
- USN-4295-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2020:0395 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-28e06b5f08 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-dc1ae17bb5 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- January 28, 2020
- Published
- February 24, 2020, 14:41 UTC
- CVE record updated
- August 4, 2024, 09:48 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 03:25 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:15 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-8130
Is CVE-2020-8130 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.36% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of https://github.com/ruby/ruby are affected by CVE-2020-8130?
rake before 12.3.3, per the GitHub advisory GHSA-jppv-gw3r-w3q8. The tables above give every range the sources list.
Which version fixes CVE-2020-8130?
12.3.3, per the GitHub advisory GHSA-jppv-gw3r-w3q8. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-8130?
Medium (6.4, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-8130?
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.