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 ta...
CVE-2019-5418 is a path traversal in RubyGems actionview (CVSS 7.5, High).
Exploited in the wild. In CISA KEV since 2025‑07‑07. Fixed versions are out.
Public exploit: 3 sourcesFix5 products2 fixed builds listed below
e.g. Rails File Content Disclosure · OID 1.3.6.1.4.1.25623.1.0.108561
What to do
Find your product and version, then upgrade to the build on the right.
- Rails https://github.com/rails/railsAffected: 5.2.2.1Upgrade to: not statedAffected: 5.1.6.2Upgrade to: not statedAffected: 5.0.7.2Upgrade to: not statedAffected: 4.2.11.1Upgrade to: not statedStated by: CVE record
- RubyGems actionviewAffected: ≥ 5.2.0, < 5.2.2.1Upgrade to: 5.2.2.1Stated by: GitHub advisory
- Rubyonrails RailsAffected: ≥ 3.0.0, < 4.2.11.1Upgrade to: 4.2.11.1Stated by: NVD
- RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
- Rails Core Team Ruby on RailsAffected: before 6.0.0.beta3Upgrade to: not statedStated by: BDU
Versions as the sources state them. 3 more products have version data. Full version matrix after sign-in
Coverage timeline
1 publisherAdded to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened.
What it is
From the CVE record
Path Traversal in Action View
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2025-07-07.
US federal agencies must remediate by 2025-07-28.
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 exploits
3 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
99% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 127 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: exploit-dbnuclei check added
- Patch availableworkaround available, record updated
- Added to CISA KEV
- Publishedweakness classified, att&ck mapped
Affected products
And 6 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- nvd.nist.gov/vuln/detail/CVE-2019-5418
- access.redhat.com/errata/RHSA-2019:0796
- access.redhat.com/errata/RHSA-2019:1147
And 22 more references. See all after sign-in
Questions about CVE-2019-5418
- Is CVE-2019-5418 being exploited?
- Yes. CVE-2019-5418 is in CISA's Known Exploited Vulnerabilities catalog since 2025-07-07, which means attackers are using it in the wild.
- Which versions are affected by CVE-2019-5418?
- Actionview: ≥ 5.2.0, < 5.2.2.1. Https://github.com/rails/rails: 5.2.2.1; 5.1.6.2; 5.0.7.2. Rails: ≥ 3.0.0, < 4.2.11.1. 5 more products are listed in the record.
- How do I fix or mitigate CVE-2019-5418?
- Upgrade to a fixed build for your product branch: 5.2.2.1, 4.2.11.1. The advisory is on lists.fedoraproject.org.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Actionview, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI