Actively exploited · Published Mar 27, 2019 · Assigned by hackerone

CVE-2019-5418

High 7.5 Exploited

In plain English

A high-severity path traversal in https://github.com/rails/rails from Rails. Attackers are actively exploiting it in the wild (listed by CISA on July 7, 2025). The chance it is exploited in the next 30 days is estimated at 98.5% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)98.5%top 0.1% of all CVEs
Exploited in the wildYesCISA KEV since Jul 7, 2025
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by Jul 28, 2025.

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rails2:5.2.2.1+dfsg-1DEBIAN-CVE-2019-5418
Debian:13rails2:5.2.2.1+dfsg-1DEBIAN-CVE-2019-5418
Debian:14rails2:5.2.2.1+dfsg-1DEBIAN-CVE-2019-5418
RubyGemsactionview5.2.2.1GHSA-86g5-2wh3-gc9j
RubyGemsactionview4.2.11.1GHSA-86g5-2wh3-gc9j
RubyGemsactionview5.1.6.2GHSA-86g5-2wh3-gc9j
RubyGemsactionview5.0.7.2GHSA-86g5-2wh3-gc9j

Affected products (as reported)

VendorProductVersions
Rails https://github.com/rails/rails 5.2.2.15.1.6.25.0.7.24.2.11.1

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References