ACTIVELY EXPLOITED

CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability

Facts
VendorRails
ProductRuby on Rails
Actively exploitedYes
Added to CISA KEV7 Jul 2025
CISA federal deadline28 Jul 2025
Weakness (CWE)CWE-22

Required action (CISA's text)

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

Description (NVD)

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.

SOURCES

Other Rails flaws

Data from NVD, CISA KEV, FIRST EPSS and vendor advisories. Updated 10 Nov 2026.