CVE-2019-5418: Vulnerability in Rubyonrails Rails

Actively exploited. Impact ------ There is a possible file content disclosure vulnerability in Action View. Specially crafted accept headers in combination with calls to render file: can cause arbitrary files on the target server to be rendered, disclosing the file contents.

Exploited in the wild, RubyGems, CWE-22

Exploitation
Confirmed 7 Jul 2025
Severity
7.5 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
Agencies by 28 Jul 2025

Details

Advisory ID
GHSA-86g5-2wh3-gc9j
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H
Weakness
CWE-22
Published
13 Mar 2019
Last change
17 Jun 2026
Ecosystem
RubyGems

Affected products

Affected versions and the first fixed release

  • Rubyonrails 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. Fixed in 4.2.11.1, 5.0.7.2, 5.1.6.2, 5.2.2.1
  • Debian Linux Version 8.0. No fixed version recorded
  • Red Hat Cloudforms Versions 4.7, 4.6. No fixed version recorded
  • Opensuse Leap Version 15.0. No fixed version recorded
  • Fedoraproject Fedora Version 30. No fixed version recorded
  • Red Hat Software Collections Version 1.0. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • actionview RubyGems, Affected from 5.1.0 through 5.1.6.1. Fixed in 5.1.6.2

Advisories

Vendor and security advisories

Exploit code

Public exploits and proofs of concept, handle with care

Related