As of , CVE-2019-5418 in Rails Ruby on Rails is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2019-5418
Rails Ruby on Rails: Path Traversal. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Metasploit module
- EPSS 0.99
CISA's required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Patch infofixed versions and vendor advice
What to install
Affects Rails Ruby on Rails 4.2.11.1, 5.0.7.2, 5.1.6.2 and 5.2.2.1.
The record's list of affected products names no fixed version.
Vendor advice
Vendor advice: web.archive.org, from CISA's entry.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 7 July 2025
- US federal deadline
- 28 July 2025 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- 0.94 on 7 July 2025 EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module and 1 Exploit-DB entry
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
actionviewRubyGems
Affects actionview from 4.0.0 before 4.2.11.1, from 5.0.0 before 5.0.7.2, from 5.1.0 before 5.1.6.2 and from 5.2.0 before 5.2.2.1.
Fixed in 4.2.11.1, 5.0.7.2, 5.1.6.2 and 5.2.2.1.
Advisory GHSA-86g5-2wh3-gc9j
Since listing
EPSS since listing
EPSS for CVE-2019-5418 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.94 | |
| 0.99 |
Timeline
What happened when
- Exploit-DB published an exploit (EDB-ID 46585).
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Read further: CISA's catalog
The flaw
What the flaw is
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.
CISA's description
There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.
The CVE record's description, from hackerone
- CVE published
- 27 March 2019
- Assigned by
- hackerone
- CVSS
- 7.5 High (CVSS 3.1, from CISA-ADP)
- CWE-22
- Improper Limitation of a Pathname to a Restricted Directory
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- partial
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Ruby on Rails: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2016-0752Directory Traversal | Ruby on Rails | Patch this weekMetasploitExploit-DB | Due | 0.96 | |
| CVE-2014-0130Directory Traversal | Ruby on Rails | Patch this week | Due | 0.54 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0