Path Traversal in Rails Https://github.com/rails/rails

CVE-2019-5418

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.943 (100.0th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

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.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-5418?
CVE-2019-5418 is a vulnerability in Rails Https://github.com/rails/rails, classified under Path Traversal. Published 2019-03-27.
Is CVE-2019-5418 known to be exploited?
Yes. CVE-2019-5418 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-07-07), indicating it is being actively exploited. 71 public proof-of-concept repositories are indexed.