Skip to content
StratQuad

Threats

Rails Action View file content disclosure via accept headers

CVE-2019-5418Known exploitedHigh

A vulnerability in Rails Action View allows an attacker to read arbitrary files from the server's filesystem. By sending specially crafted accept headers combined with calls to render file:, an attacker can cause the server to render and expose the contents of files they should not have access to. An attacker needs to be able to send HTTP requests to the affected Rails application.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.5
HIGH
EPSS score
0.99
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
7 Jul 2025
CISA due date
28 Jul 2025
Applies to US federal agencies

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Daily EPSS score, 3 Nov to 15 Nov, source FIRST

Detail

Rails Ruby on Rails. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Weakness: CWE-22 (opens in a new tab)

Affected versions

  • rubyonrails rails: from 3.0.0, before 4.2.11.1
  • rubyonrails rails: from 5.0.0, before 5.0.7.2
  • rubyonrails rails: from 5.1.0, before 5.1.6.2
  • rubyonrails rails: from 5.2.0, before 5.2.2.1
  • debian debian linux: 8.0
  • redhat cloudforms: 4.7
  • opensuse leap: 15.0
  • fedoraproject fedora: 30
  • redhat cloudforms: 4.6
  • redhat software collections: 1.0