[ CVE-2019-5418 · Published 27 Mar 2019 ]
Rails Ruby on Rails Path Traversal Vulnerability
Exploited · CISA KEV CVSS 7.5
EPSS 99%Fix available
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2025-07-07
- EPSS: 99% chance of exploitation in the next 30 days (higher than 100% of CVEs)
[ Description ]Official 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.
CISA: 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.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 28 Jul 2025): 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 on openwall.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on weblog.rubyonrails.orgVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on web.archive.orgVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ References ]References
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.htmlMailing ListThird Party Advisory
- packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.htmlExploitThird Party AdvisoryVDB Entry
- www.openwall.com/lists/oss-security/2019/03/22/1Mailing ListMitigationPatch
- access.redhat.com/errata/RHSA-2019:0796Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1147Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1149Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1289Third Party Advisory
- groups.google.com/forumPermissions Required
- lists.debian.org/debian-lts-announce/2019/03/msg00042.htmlMailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/messag…Third Party Advisory
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-releasedBroken LinkPatchVendor Advisory
- www.exploit-db.com/exploits/46585ExploitThird Party AdvisoryVDB Entry
- web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5…PatchVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource