Path traversalin Rails https://github.com/rails/rails.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 7 Jul 2025.
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.
CISA: 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.
- Upgrade actionview (RubyGems) to 4.2.11.1, 5.0.7.2, 5.1.6.2, 5.2.2.1 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 28 Jul 2025.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Jan 2019CVE ID reserved by hackerone.
- 16 Mar 2019First public proof of concept on GitHub.
- 27 Mar 2019Published in the CVE List.
- 7 Jul 2025Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other https://github.com/rails/rails vulnerabilities
Same weakness: Path traversal
- packetstormsecurity.com x_refsource_MISC
- www.openwall.com mailing-list, x_refsource_MLIST
- weblog.rubyonrails.org x_refsource_CONFIRM
- groups.google.com x_refsource_CONFIRM
- lists.debian.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- web.archive.org
- www.cisa.gov government-resource
Patchminder. CVE-2019-5418: Path traversal in Rails https://github.com/rails/rails. https://patchminder.com/cve/cve-2019-5418/ (accessed 5 December 2026).