CVE-2019-5418
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
98.507%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2025-07-07
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Rails Ruby on Rails Path Traversal Vulnerability |
|---|---|
| Vendor / product | Rails / Ruby on Rails |
| Date added | 2025-07-07 |
| Federal remediation due date | 2025-07-28 |
| 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. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-07-17 |
Timeline
- 2019-03-13GitHub advisory published (GHSA-86g5-2wh3-gc9j)14 days before publication
- 2019-03-21First Exploit-DB entry (EDB-ID 46585)6 days before publication
- 2019-03-27Published by the CNA13:38 UTC
- 2025-07-07Added to the CISA KEV catalog2294 days after publication
- 2025-07-17CISA SSVC decision recorded2304 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 46585 | webapps | multiple | 2019-03-21 | no |
Nuclei templates:
- CVE-2019-5418: Rails File Content Disclosure
GitHub advisory GHSA-86g5-2wh3-gc9j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems actionview | from 4.0.0 before 4.2.11.1 | 4.2.11.1 |
| RubyGems actionview | from 5.0.0 before 5.0.7.2 | 5.0.7.2 |
| RubyGems actionview | from 5.1.0 before 5.1.6.2 | 5.1.6.2 |
| RubyGems actionview | from 5.2.0 before 5.2.2.1 | 5.2.2.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| debian debian_linux | 8.0no fix listed | not listed |
| fedoraproject fedora | 30no fix listed | not listed |
| opensuse leap | 15.0no fix listed | not listed |
| redhat cloudforms | 4.6no fix listed4.7no fix listed | not listednot listed |
| redhat software_collections | 1.0no fix listed | not listed |
| rubyonrails rails | from 3.0.0 before 4.2.11.1fixed in 4.2.11.1from 5.0.0 before 5.0.7.2fixed in 5.0.7.2from 5.1.0 before 5.1.6.2fixed in 5.1.6.2from 5.2.0 before 5.2.2.1fixed in 5.2.2.1 | 4.2.11.15.0.7.25.1.6.25.2.2.1 |
References
- http://www.openwall.com/lists/oss-security/2019/03/22/1
- 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://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html
- https://access.redhat.com/errata/RHSA-2019:0796
- https://access.redhat.com/errata/RHSA-2019:1147
- https://access.redhat.com/errata/RHSA-2019:1149
- https://access.redhat.com/errata/RHSA-2019:1289
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/
- http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html
- https://www.exploit-db.com/exploits/46585/
- https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q
- https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-5418'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-5418'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-5418'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-5418'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2019-5418'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).