Path Traversal in Rails Https://github.com/rails/rails
CVE-2019-5418
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.985 (99.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Rails Https://github.com/rails/rails — versions 5.2.2.1, 5.1.6.2, 5.0.7.2
- Rubyonrails Rails
- Debian Debian_linux — versions 8.0
- Fedoraproject Fedora — versions 30
- Opensuse Leap — versions 15.0
- Redhat Cloudforms — versions 4.7, 4.6
- Redhat Software_collections — versions 1.0
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
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.
Public proof-of-concept exploits
References
- support@hackerone.com (Exploit, VDB Entry, Third Party Advisory, exploit, x_refsource_EXPLOIT-DB)
- support@hackerone.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- support@hackerone.com (mailing-list, x_refsource_MLIST, Patch, Mailing List, Third Party Advisory, Mitigation)
- support@hackerone.com (x_refsource_CONFIRM, Patch, Broken Link, Vendor Advisory)
- support@hackerone.com (Permissions Required, x_refsource_CONFIRM)
- support@hackerone.com (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- support@hackerone.com (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- support@hackerone.com (vendor-advisory, Mailing List, Third Party Advisory, x_refsource_SUSE)
- support@hackerone.com (x_refsource_FEDORA, vendor-advisory, Third Party Advisory)
- support@hackerone.com (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-5418?
- CVE-2019-5418 is a high-severity vulnerability in Rails Https://github.com/rails/rails, classified under Path Traversal. CVSS score: 7.5/10. Published 2019-03-27.
- How severe is CVE-2019-5418?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2019-5418 known to be exploited?
- Yes. CVE-2019-5418 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-07-07), indicating it is being actively exploited. 71 public proof-of-concept repositories are indexed.