Actively exploited vulnerability / CVE-2016-0752
Ruby on Rails: attackers can read files from your web application's server
This vulnerability in Ruby on Rails lets a remote attacker read files from the server when an application displays pages in an unrestricted way. This can expose passwords, configuration keys or customer data. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2016-0752 · EUVD-2017-0333
- Severity
- High (7.5/10)
- On the CISA list (US)
- yes, since 25 March 2022
- Deadline given to US federal agencies
- 15 April 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 95.5% (FIRST's estimate for the next 30 days)
Does it concern you?
Ruby on Rails is a framework used to build web applications and websites. You may have it if your company runs an online shop, a portal or a custom web application written in the Ruby language.
Ask your developer or the company that maintains your application which Rails version it uses. Affected are versions older than 3.2.22.1, versions from 4.0.0 up to before 4.1.14.1, and 4.2 versions older than 4.2.5.1.
Affected products and versions
- Rails Ruby on Rails
- rails: before 3.2.22.1; from 4.0.0 before 4.1.14.1; from 4.2.0 before 4.2.5.1
What to do
Have the application updated to Rails 3.2.22.1, 4.1.14.1, 4.2.5.1 or later, following the vendor's instructions. If it runs an even older version, talk to your developer about moving to a supported release.
Versions that contain the fix: 3.2.22.1, 4.1.14.1, 4.2.5.1.
The official description
The text below is the description from the public database.
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.
Sources
- Debian Security Tracker
- Red Hat Security Data
- CVE Program
- GitHub Advisory Database
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.