CVE-2019-5418
Rails https://github.com/rails/rails
Published 27 Mar 2019 · updated 17 Jun 2026 · Analyzed
7.5 High · CVSS 3.1, NVD
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 7 Jul 2025, with a remediation deadline of 28 Jul 2025 for US federal agencies.
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.
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.
References
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html · Mailing List, Third Party Advisory
- packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html · Exploit, Third Party Advisory, VDB Entry
- www.openwall.com/lists/oss-security/2019/03/22/1 · Mailing List, Mitigation, Patch
- access.redhat.com/errata/RHSA-2019:0796 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1147 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1149 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1289 · Third Party Advisory
- groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q · Permissions Required
- lists.debian.org/debian-lts-announce/2019/03/msg00042.html · Mailing List, Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/ · Third Party Advisory
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ · Broken Link, Patch, Vendor Advisory
- www.exploit-db.com/exploits/46585/ · Exploit, Third Party Advisory, VDB Entry
- web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ · Patch, Vendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418 · US Government Resource