Under active attack

Rails Ruby on Rails: CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability. CISA added it to its list of flaws being exploited in the wild on 7 Jul 2025.

CVE
CVE-2019-5418
Vendor
Rails
Product
Ruby on Rails
Added to CISA's exploited list
7 Jul 2025
US federal patch deadline
28 Jul 2025
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
99% (higher than 99% of scored flaws)
Weakness
CWE-22

What CISA says

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, Known Exploited Vulnerabilities catalog

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.

If you run Rails Ruby on Rails, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References