cybersecurity Request an audit

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

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.

Other exploited vulnerabilities in Rails Ruby on Rails

All exploited vulnerabilities in Rails Ruby on Rails

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.