cybersecurity Request an audit

Actively exploited vulnerability / CVE-2019-5418

Ruby on Rails: an attacker can read files from your web application's server

This vulnerability lets a remote attacker read the contents of files stored on the server that runs the application. These can include passwords, access keys or customer data, leading to data leaks and further attacks. 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-2019-5418 · EUVD-2019-0375
Severity
High (7.5/10)
On the CISA list (US)
yes, since 7 July 2025
Deadline given to US federal agencies
28 July 2025
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
98.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, such as customer portals, online shops or internal tools. It concerns you if your company has a web application built with Rails, even one developed by an outside supplier.

Ask your developer or the company maintaining your application which Rails version it uses; the version is usually listed in the project's configuration files. Affected are versions 3.x and 4.x before 4.2.11.1, 5.0 before 5.0.7.2, 5.1 before 5.1.6.2 and 5.2 before 5.2.2.1.

Affected products and versions

  • Rails Ruby on Rails
  • rails: from 3.0.0 before 4.2.11.1; from 5.0.0 before 5.0.7.2; from 5.1.0 before 5.1.6.2; from 5.2.0 before 5.2.2.1

What to do

Have the application updated to version 4.2.11.1, 5.0.7.2, 5.1.6.2 or 5.2.2.1, or newer, depending on the branch in use. If updating is not possible, follow the vendor's guidance or consider taking the application offline until it is fixed.

Versions that contain the fix: 4.2.11.1, 5.0.7.2, 5.1.6.2, 5.2.2.1.

The official description

The text below is the description from the public database.

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.

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.