# CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability

> CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability. CVSS 7.5 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2019-5418
Last updated: 2025-10-21T23:45:41Z

- Published: 2019-03-27 13:38 UTC · Updated: 2025-10-21 23:45 UTC · Assigner: hackerone
- CVSS: 7.5 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 98.5%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2025-07-07, federal due date 2025-07-28, ransomware use: Unknown
- CWE: CWE-22

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

## Affected vendors and products

- Rails: https://github.com/rails/rails

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2019-5418)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2019-5418)
- [http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html](http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html)
- [http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html](http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html)
- [https://access.redhat.com/errata/RHSA-2019:0796](https://access.redhat.com/errata/RHSA-2019:0796)
- [https://access.redhat.com/errata/RHSA-2019:1147](https://access.redhat.com/errata/RHSA-2019:1147)
- [https://access.redhat.com/errata/RHSA-2019:1149](https://access.redhat.com/errata/RHSA-2019:1149)
- [https://access.redhat.com/errata/RHSA-2019:1289](https://access.redhat.com/errata/RHSA-2019:1289)
- [https://groups.google.com/forum/\#%21topic/rubyonrails-security/pFRKI96Sm8Q](https://groups.google.com/forum/#!topic/rubyonrails-security/pFRKI96Sm8Q)
- [https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html](https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html)
- [https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/](https://lists.fedoraproject.org/archives/list/package-announce%2540lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/)
- [https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/](https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/)
- [https://www.exploit-db.com/exploits/46585/](https://www.exploit-db.com/exploits/46585/)
- [http://www.openwall.com/lists/oss-security/2019/03/22/1](http://www.openwall.com/lists/oss-security/2019/03/22/1)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2019-5418 · Markdown: https://rewindex.com/cve/CVE-2019-5418.md · JSON: https://rewindex.com/api/v1/cves/CVE-2019-5418 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:05:27.293Z
