CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
CVSS
7.5HighExploit odds (EPSS)98.5%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
- 21 Mar 2019Exploit code publicExploit-DB
- 27 Mar 2019, 13:38 UTCPublishedCVE List
- 7 Jul 2025Added to CISA KEVCISA KEV
Public exploit code and templates 3
- Auxiliary moduleRuby On Rails File Content Disclosure ('doubletap')Metasploit
- Webapps exploitRails 5.2.1 - Arbitrary File Content Disclosure 21 Mar 2019Exploit-DB
- Scanner templateRails File Content DisclosureNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to render file: can cause arbitrary files on the target server to be rendered, disclosing the file contents.
Text from CVE List
Affected versions 4
- https://github.com/rails/railsaffected: 5.2.2.1CVE List
- https://github.com/rails/railsaffected: 5.1.6.2CVE List
- https://github.com/rails/railsaffected: 5.0.7.2CVE List
- https://github.com/rails/railsaffected: 4.2.11.1CVE List
References 12
- groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8QAdvisoryvia CVE List
- access.redhat.com/errata/RHSA-2019:0796Advisoryvia CVE List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2019:1149Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2019:1147Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2019:1289Advisoryvia CVE List
- exploit-db.com/exploits/46585/Exploitvia CVE List
- web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/Referencevia CVE List
- nvd.nist.gov/vuln/detail/CVE-2019-5418Referencevia CISA KEV
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/Referencevia CVE List
- lists.debian.org/debian-lts-announce/2019/03/msg00042.htmlReferencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418Referencevia CVE List