Skip to main content
All vulnerabilities
CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

Rails — Ruby on Rails

EPSS (30-day exploitation probability)
98.5% · 99.9th percentile · 19 November 2026
Added to KEV catalog
7 July 2025
Federal remediation due date
28 July 2025
Weakness classification (CWE)
CWE-22

Is CVE-2019-5418 actively exploited?

Yes. CISA added CVE-2019-5418 to its Known Exploited Vulnerabilities catalog on 7 July 2025, which means there is evidence it has been exploited in the wild. FIRST's EPSS model estimates a 98.5% probability of exploitation activity in the next 30 days, placing it in the 99.9th percentile of all scored CVEs.

How do I fix CVE-2019-5418?

CISA's required action for CVE-2019-5418 is: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. US federal agencies must remediate it by 28 July 2025; treat that as an outside deadline, not a target.

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

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.

Notes

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

Confirm Your Exposure

Is this vulnerability present in your environment?

CRS delivers independent VAPT assessments that identify exactly which known-exploited vulnerabilities exist in your network, applications, and infrastructure.

Explore VAPT Services