Skip to content

CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

  • Actively exploited
  • High · 7.5 of 10
Exploited since
7 Jul 2025
added to the CISA list
Chance of attacks
99%
in the next 30 days (FIRST EPSS)
Fix deadline
28 Jul 2025
for US federal agencies
Published
27 Mar 2019
in the NVD

What this means

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.

CISA

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.

NIST National Vulnerability Database

What to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • Rails https://github.com/rails/rails

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

By using this site, you agree to the Privacy Policy.