Path traversalin Rails Ruby on Rails.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022.
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
- Upgrade actionview (RubyGems) to 4.1.14.1, 4.2.5.1 or later, whichever matches your release line.
- Upgrade actionpack (RubyGems) to 3.2.22.1, 4.1.14.1, 4.2.5.1 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 15 Apr 2022.
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
- 16 Dec 2015CVE ID reserved by redhat.
- 26 Jan 2016First public proof of concept on GitHub.
- 16 Feb 2016Published in the CVE List.
- 16 Oct 2016Metasploit module: Ruby on Rails Dynamic Render File Upload Remote Code Execution.
- 25 Mar 2022Added 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 Ruby on Rails vulnerabilities
Same weakness: Path traversal
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.openwall.com mailing-list, x_refsource_MLIST
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- groups.google.com mailing-list, x_refsource_MLIST
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.cisa.gov government-resource
Patchminder. CVE-2016-0752: Path traversal in Rails Ruby on Rails. https://patchminder.com/cve/cve-2016-0752/ (accessed 5 December 2026).