Known exploited vulnerability
CVE-2019-5418
The short answer
CVE-2019-5418 affects Rails https://github.com/rails/rails and is rated high (CVSS 7.5). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-07-07: attackers are using it, so patch it first. Fixed versions are published for actionview (5.2.2.1, 4.2.11.1, 5.1.6.2).
What it is
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.
Weakness: CWE-22.
Severity
7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploited (CISA KEV)
Yes, since Jul 7, 2025
Federal due date Jul 28, 2025
EPSS, next 30 days
99%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
What CISA says to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| actionview | RubyGems | 5.2.2.1, 4.2.11.1, 5.1.6.2, 5.0.7.2 | GHSA-86g5-2wh3-gc9j |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
https://github.com/rails/rails. NVD's record lists the exact affected versions.
References
- access.redhat.com/errata/RHSA-2019:0796 Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1147 Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1149 Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1289 Third Party Advisory
- groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q Permissions Required
- lists.debian.org/debian-lts-announce/2019/03/msg00042.html Mailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/ Third Party Advisory
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ Broken LinkPatchVendor Advisory
- www.exploit-db.com/exploits/46585/ ExploitThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2019:0796 Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1147 Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1149 Third Party Advisory
Questions
Is CVE-2019-5418 being exploited?
Yes. CISA added CVE-2019-5418 to its Known Exploited Vulnerabilities catalog on 2025-07-07, with a federal remediation due date of 2025-07-28.
How do I fix CVE-2019-5418?
Upgrade to a fixed version: actionview (RubyGems) 5.2.2.1 or 4.2.11.1 or 5.1.6.2 or 5.0.7.2. CISA's 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.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Rails exploited vulnerabilities
Everything CISA lists as exploited for Rails.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.