CVE-2019-5418 Details
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.
A file content disclosure vulnerability has been identified in Ruby on Rails versions 5.2.1, 5.2.2.1, 5.1.6.2, 5.0.7.2, 4.2.11.1, and v3. This vulnerability allows arbitrary files on the server's filesystem to be accessed and their contents exposed. The issue arises in Action View when specially crafted accept headers are used with calls to 'render file:', without a specified accept format. As a result, the contents of the targeted files are rendered and disclosed.
Users are advised to upgrade to Ruby on Rails versions 6.0.0.beta3, 5.2.2.1, 5.1.6.2, 5.0.7.2, or 4.2.11.1. For those unable to upgrade immediately, a workaround is to specify a format for file rendering, or to apply a provided monkey patch that filters request formats.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Rails Ruby on Rails Path Traversal Vulnerability | Jul 7, 2025 | Jul 28, 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. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rubyonrails rails | >= 3.0.0, < 4.2.11.1 >= 5.0.0, < 5.0.7.2 >= 5.1.0, < 5.1.6.2 >= 5.2.0, < 5.2.2.1 |
CPE
Remediation
| |
| debian debian linux | 8.0 |
CPE
Remediation
| |
| redhat cloudforms | 4.7 4.6 |
CPE
Remediation
| |
| opensuse leap | 15.0 |
CPE
Remediation
| |
| fedoraproject fedora | 30 |
CPE
Remediation
| |
| redhat software collections | 1.0 |
CPE
Remediation
| |
Change History
23 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 30, 2025 | Modified Analysis | [email protected] |
| Oct 22, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Jul 9, 2025 | Modified Analysis | [email protected] |
| Jul 8, 2025 | CVE CISA KEV Update | Cybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government |
| Jul 7, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 16, 2020 | Modified Analysis | [email protected] |
| Oct 11, 2019 | CVE Modified | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| May 29, 2019 | CVE Modified | [email protected] |
| May 13, 2019 | CVE Modified | [email protected] |
| May 10, 2019 | CVE Modified | [email protected] |
| May 8, 2019 | CVE Modified | [email protected] |
| Apr 23, 2019 | Modified Analysis | [email protected] |
| Apr 23, 2019 | CVE Modified | [email protected] |
| Apr 2, 2019 | Initial Analysis | [email protected] |
| Mar 31, 2019 | CVE Modified | [email protected] |