← Vulnerability feed

Vulnerability record · CVE-2019-5418 · published 27 March 2019

CVE-2019-5418: Ruby on Rails Action View file content disclosure via crafted Accept headers

Rubyonrails · Rails

Action View in Ruby on Rails fails to properly handle specially crafted Accept headers, allowing arbitrary files on the target filesystem to be read. The flaw affects multiple Rails branches (4.x, 5.0, 5.1, 5.2 and v3) and was added to CISA KEV in July 2025, so it remains actively targeted despite being patched in 2019.

7.5 CVSS 3.1 High CISA KEV since 7 Jul 2025 EPSS 99% · top 0.1% CWE-22 · Path traversal
7.5CVSS 3.1 base score, v2 5.0
99%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
6Affected product versions listed by NVD
26References, 4 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityCISA KEV listing, near-maximum EPSS score and public exploit code make this a high-likelihood, high-impact unauthenticated file disclosure.

What it is

Action View in Ruby on Rails fails to properly handle specially crafted Accept headers, allowing arbitrary files on the target filesystem to be read. The flaw affects multiple Rails branches (4.x, 5.0, 5.1, 5.2 and v3) and was added to CISA KEV in July 2025, so it remains actively targeted despite being patched in 2019.

Impact

An unauthenticated attacker can read arbitrary files from the server filesystem, exposing credentials, configuration, source code and other sensitive data that can enable further compromise.

Attack surface

Reachable over the network through HTTP requests to a vulnerable Rails application; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Listed in CISA KEV with a 2025-07-28 remediation due date, and public exploit code exists (Exploit-DB 46585, Packet Storm). EPSS is 0.985 (99.9th percentile), indicating very high predicted exploitation activity.

What to do

  • Upgrade Action View/Rails to a fixed release: 5.2.2.1, 5.1.6.2, 5.0.7.2 or 4.2.11.1 (or later).
  • Apply vendor patches from Red Hat, Debian, Fedora and openSUSE advisories for packaged Rails.
  • If immediate upgrade is not possible, apply the workaround published on the oss-security mailing list and follow vendor mitigation guidance.
  • Retire or isolate end-of-life Rails 3.x deployments that cannot be patched.
  • Verify no vulnerable Rails version remains in container images or bundled software collections.

Detection

  • Inspect web/proxy logs for requests with unusual or malformed Accept headers targeting Rails endpoints.
  • Monitor for outbound or file-read patterns consistent with reading sensitive paths such as configuration or credential files.
  • Alert on exploitation attempts matching public PoCs for CVE-2019-5418 against Rails applications.
  • Audit deployed Rails/Action View versions against the fixed release list.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2019-5418 to the Known Exploited Vulnerabilities catalog on 7 July 2025 as "Rails Ruby on Rails Path Traversal Vulnerability". 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. Federal deadline 28 July 2025.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html ExploitThird Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2019/03/22/1 Mailing ListMitigationPatchThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:0796 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1147 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1149 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1289 Third Party Advisory
https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q Permissions Required
https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJ Third Party Advisory
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ Broken LinkPatchVendor Advisory
https://www.exploit-db.com/exploits/46585/ ExploitThird Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html ExploitThird Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2019/03/22/1 Mailing ListMitigationPatchThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:0796 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1147 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1149 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1289 Third Party Advisory
https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q Permissions Required
https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJ Third Party Advisory
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ Broken LinkPatchVendor Advisory
https://www.exploit-db.com/exploits/46585/ ExploitThird Party AdvisoryVDB Entry
https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-rele PatchVendor Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418 US Government Resource

Track CVE-2019-5418 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2019-5418), CISA KEV, FIRST EPSS (scores of 2026-09-23). This page is refreshed as NVD updates the record.