All vulnerabilities
CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

Rails Ruby on RailsRuntimes & languages
CVSS
7.5High
ExploitationExploited in the wildAdded to KEV 7 Jul 2025CISA KEV
Exploit 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
Federal deadline28 Jul 2025Remediation due date for US federal agenciesCISA KEV
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

  1. 21 Mar 2019Exploit code publicExploit-DB
  2. 27 Mar 2019, 13:38 UTCPublishedCVE List
  3. 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