Known exploited vulnerability · Rails
CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability
Vendor / productRails Ruby on Rails
Added to CISA KEV2025-07-07
Federal remediation due2025-07-28
EPSS (30-day exploit probability)98.51% · higher than 99.9% of all CVEs
WeaknessCWE-22
What it 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.
What 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.
Advisories and references
- https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
- https://nvd.nist.gov/vuln/detail/CVE-2019-5418
Get the weekly list of actively exploited vulnerabilities.
Every Thursday: new CISA KEV entries ranked by exploitation probability, with vendor patch links. Free, no spam.
Other exploited Rails vulnerabilities
| CVE | Product | Added to KEV | EPSS |
|---|---|---|---|
| CVE-2016-0752 | Rails Ruby on Rails | 2022-03-25 | 95.54% |
| CVE-2014-0130 | Rails Ruby on Rails | 2022-03-25 | 53.70% |