ZeroHour

CVE-2019-5418

KEV PoC ×2

Rails Ruby on Rails Path Traversal Vulnerability

CVSS 3.1
7.5 high
EPSS
99%p100
Published
()
KEV added
AI analysis

CVE-2019-5418 is a path traversal vulnerability (CWE-22) in the Action View component of Ruby on Rails. When an application uses calls to 'render file:', a specially crafted Accept header can cause Rails to render arbitrary files on the target server, disclosing their contents to the attacker. Ruby on Rails applications (vendor: Rails) are affected, and the flaw is being actively exploited: it was added to CISA's Known Exploited Vulnerabilities catalog on 2025-07-07 and has a 98.5% EPSS probability of exploitation within 30 days (100th percentile).

What to do: Apply mitigations per Rails vendor instructions immediately; organizations subject to BOD 22-01 must follow the applicable guidance for cloud services or discontinue use of the product if mitigations are unavailable. Given the KEV listing and near-certain EPSS probability, prioritize remediation of this issue over routine patch cycles. When scoping impact, review any code paths that combine 'render file:' with user-supplied Accept headers, since this is the pattern that triggers the flaw.

Description

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.

CISA Known Exploited Vulnerability
Affected
Rails Ruby on Rails
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.
Due date
Ransomware use
Unknown
Vendors
rubyonrailsdebianredhatopensusefedoraproject
Products
rails, debian linux, cloudforms, leap, fedora, software collections
Weakness
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news