Vulnerabilities/Rails/CVE-2019-5418

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

CISA KEV entry · Last checked 15 Nov 2026, 13:39 UTC

Exploitation confirmedFix: Unknown

CVSS 3.1 · NVD7.5High
EPSS98.5%100th percentile · 15 Nov 2026
CISA KEVListedAdded 7 Jul 2025

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.

Recommended 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.

CISA due date 28 Jul 2025 · CWE-22

Am I affected?

ProductAffected versionsFixed in
https://github.com/rails/rails5.2.2.1Unknown
https://github.com/rails/rails5.1.6.2Unknown
https://github.com/rails/rails5.0.7.2Unknown
https://github.com/rails/rails4.2.11.1Unknown

No source states a fixed version. Check the vendor advisory below.

Before you patch

Restart

See vendor guidance.

Known issues

Check release notes.

Verification

Confirm installed version.

Timeline

  • 7 Jul 2025 · Added to CISA KEV
  • 28 Jul 2025 · CISA due date

References

Show 2 more
Sources checked
CISA KEV15 Nov 2026, 13:39 UTC
CVE List v530 Oct 2026, 12:10 UTC
NVD15 Nov 2026, 13:39 UTC
FIRST EPSS15 Nov 2026, 13:39 UTC

Data from CISA, MITRE, NVD and FIRST. Sources and licences.

Wrong affected version, fix or exploitation status? Report a correction. Include the vendor source if you have it.