# CVE-2020-8130: OS Command Injection in Rake

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-24T14:41:26.000Z
- Modified: 2026-06-17T03:25:54.780Z
- Also known as: GHSA-jppv-gw3r-w3q8
- Weaknesses: CWE-78
- Assigned by: hackerone

## Description

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 `|`.

(As written by CVE List.)

## Affected

- https://github.com/ruby/ruby: Fixed in Rake 12.3.3
- rake (RubyGems): before 12.3.3
- ruby-lang rake: before 12.3.3
- canonical ubuntu_linux: 16.04; 18.04; 19.10
- debian debian_linux: 8.0
- fedoraproject fedora: 30; 31
- opensuse leap: 15.1

## Every score

- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://hackerone.com/reports/651518> (exploit, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html> (mailing-list, third-party-advisory, web)
- <https://usn.ubuntu.com/4295-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8130> (advisory)
- <https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee> (web)
- <https://github.com/advisories/GHSA-jppv-gw3r-w3q8> (advisory)
- <https://github.com/ruby/rake> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rake/CVE-2020-8130.yml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44> (web)
- <https://usn.ubuntu.com/4295-1> (web)

## Sources

- CVE List: [CVE-2020-8130](https://www.cve.org/CVERecord?id=CVE-2020-8130), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jppv-gw3r-w3q8](https://github.com/advisories/GHSA-jppv-gw3r-w3q8), CC-BY-4.0, modified 2024-02-19
- NVD: [CVE-2020-8130](https://nvd.nist.gov/vuln/detail/CVE-2020-8130), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8130 · Whole record: https://cve.day/CVE-2020-8130.json · Rebuilt by cve.day 2026-11-25T22:57:50.959Z
