CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

Actively exploited · CISA KEV
7.5 HighCVSS v3.1
98.5%EPSS (30-day exploit probability)
2025-07-07added to KEV
2025-07-28CISA federal due date

Summary

Rails Ruby on Rails. 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.

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.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Published
2019-03-27 (last modified 2026-06-17)

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.

  1. Find every instance of Rails Ruby on Rails in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2019-5418 being exploited?

Yes. CISA added CVE-2019-5418 to its Known Exploited Vulnerabilities catalog on 2025-07-07, which means there is reliable evidence of active exploitation.

How do I fix CVE-2019-5418?

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

What is the EPSS score for CVE-2019-5418?

The EPSS score is 98.51%, meaning an estimated 98.51% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Rails vulnerabilities

CVE-2016-0752Ruby on Rails Directory Traversal Vulnerability2022-03-25
CVE-2014-0130Ruby on Rails Directory Traversal Vulnerability2022-03-25

All Rails exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.