BLACKOUT MAP

Rails · Ruby on Rails

CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

Exploited in attacks High 7.5 Attack chance: 99%
Share

What it is

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.

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.

Deadline for US federal agencies: July 28, 2025

Added to the CISA list
July 7, 2025
Published
March 27, 2019
Severity
High 7.5 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
99% in the top 0.1% of all known vulnerabilities
Weakness
CWE-22
More details
NVD · CVE.org · CISA
All references (12)

More exploited flaws from Rails

AddedVulnerabilityProductSeverityAttack chance
Mar 25, 2022Directory TraversalCVE-2014-0130Ruby on RailsHigh 7.554%
Mar 25, 2022Directory TraversalCVE-2016-0752Ruby on RailsHigh 7.596%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.