[ CVE-2019-5418 · Published 27 Mar 2019 ]

Rails Ruby on Rails Path Traversal Vulnerability

Exploited · CISA KEV CVSS 7.5 EPSS 99%Fix available

[ Why it matters ]Priority signals

  • Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2025-07-07
  • EPSS: 99% chance of exploitation in the next 30 days (higher than 100% of CVEs)

[ Description ]Official 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: Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to `render file:` can cause arbitrary files on the target server to be rendered, disclosing the file contents.

[ Fixes ]Fixes and patches

CISA required action (US federal deadline 28 Jul 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.