CVE-2019-5418 — Rails Ruby on Rails Path Traversal Vulnerability
Overview
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.
Vulnerability details
- CVE ID
- CVE-2019-5418
- Vulnerability
- Rails Ruby on Rails Path Traversal Vulnerability
- Vendor
- Rails
- Affected products
- Rails: Ruby on Rails
- Severity
- HIGH
- Exploitation status
- Actively exploited in the wild (CISA KEV)
- Published
- 2025-07-07
Remediation guidance
CVE-2019-5418 is in CISA's Known Exploited Vulnerabilities (KEV) catalog — U.S. federal civilian agencies are required to remediate it under Binding Operational Directive 22-01. Treat it as a priority for every environment.
Apply the vendor's official security update for Rails the affected product as soon as possible. Where a patch is unavailable, apply vendor mitigations or isolate/segment exposed systems.
Hunt for indicators of compromise tied to this vulnerability and confirm logging/EDR coverage on affected assets.
Authoritative references
Remediate CVE-2019-5418 — and stay ahead of the next one
CVE-2019-5418 is listed in the CISA KEV catalog as actively exploited — treat remediation as urgent. Scan your domain free to see whether CVE-2019-5418 and other Rails issues affect you and get a prioritized remediation report (full report from ₹999) — or stream the full feed of 1,600+ actively-exploited CVEs straight into your SOC.
📡 Get a free alert the moment a CVE like this lands in the KEV catalog → Join Sentinel APEX on Telegram