CVE-2019-5418
Exploitation confirmed. First attested on 2025-07-07 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2019-03-27
- Fixed in5.2.2.1 · 5.1.6.2 · 5.0.7.2 · 4.2.11.1
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2019-03-21Exploit-DB entryExploit-DB
- 2019-03-2714:29CVE publishedNVD
- 2025-07-07Added to the CISA KEV catalogCISA KEV
- 2025-07-07Listed as exploited by GCVEGCVE
- 2025-07-07Exploitation first reportedCISA KEV
- 2025-07-1703:55SSVC exploitation set to activeCISA-ADP
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.2 | ≥ 5.2.0, < 5.2.2.1 | 5.2.2.1 | NVD · OSV |
| 5.1 | ≥ 5.1.0, < 5.1.6.2 | 5.1.6.2 | NVD · OSV |
| 5.0 | ≥ 5.0.0, < 5.0.7.2 | 5.0.7.2 | NVD · OSV |
| 4.2 | ≥ 3.0.0, < 4.2.11.1 | 4.2.11.1 | NVD |
| 4.x | ≥ 4.0.0, < 4.2.11.1 | 4.2.11.1 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.7 | = 4.7 | no fix published | NVD |
| 4.6 | = 4.6 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
3 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Rails https://github.com/rails/railsAffected
- = 5.2.2.1no fix stated
- = 5.1.6.2no fix stated
- = 5.0.7.2no fix stated
- = 4.2.11.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2019-10-11
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansible-towerRed Hat:cloudforms_managementengine:5.10::el7all versions · fixed in 0:3.4.3-1.el7atand 5 other packages
- cfmeRed Hat:cloudforms_managementengine:5.10::el7all versions · fixed in 0:5.10.3.3-1.el7cfand 8 other packages
- cfmeRed Hat:cloudforms_managementengine:5.9::el7all versions · fixed in 0:5.9.9.3-1.el7cfand 8 other packages
- railsUbuntu:Pro:18.04:LTSall versions · fixed in 2:4.2.10-0ubuntu4+esm2
- railsUbuntu:Pro:16.04:LTSall versions · fixed in 2:4.2.6-1ubuntu0.1~esm2
- railsDebian:14all versions · fixed in 2:5.2.2.1+dfsg-1
- railsDebian:13all versions · fixed in 2:5.2.2.1+dfsg-1
- railsDebian:12all versions · fixed in 2:5.2.2.1+dfsg-1
20 more package ranges on OSV.dev
Vendor advisories
rubygem-actionpack: render file directory traversal in Action View
Red Hat Security Advisory: CloudForms 4.6.9 security, bug fix and enhancement update
Red Hat Security Advisory: rh-ror42-rubygem-actionpack security update
Red Hat Security Advisory: rh-ror50-rubygem-actionpack security update
Red Hat Security Advisory: CloudForms 4.7.3 security, bug fix and enhancement update
Fix
- Update Ruby on Rails to 5.2.2.1 · 5.1.6.2 · 5.0.7.2 · 4.2.11.1
- 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.due 2025-07-28
- Vendor fix Red Hat Product Security RHSA-2019:1289 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 If the postgresql service is running, it will be automatically restarted after installing this update. After installing the updated packages, the http…
- Vendor fix Red Hat Product Security RHSA-2019:1149 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- www.openwall.comMitigation · Patch
- weblog.rubyonrails.orgPatch · Vendor Advisory
- web.archive.orgPatch · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- PoC-in-GitHub12 repositories, unverifiedknown since 2026-11-01mpgn/CVE-2019-5418omarkurt/CVE-2019-5418brompwnie/CVE-2019-5418-Scannermpgn/Rails-doubletap-RCEBad3r/RailroadBandit
- Metasploit modules
- 1 moduleauxiliary/gather/rails_doubletap_file_readrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2025-07-07
- Patch Due Date
- 2025-07-28
- Ransomware Use
- Unknown
- 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.
Sources
- CISA KEVKEV entry2025-07-07
- ENISA EUVDexploitation2025-07-072025-07-07
- GCVEexploitation2025-07-07
- CISA-ADPSSVC decisionactive2025-07-17
- CISA-ADPCVSS 3.17.52025-07-03
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score98.5 %read 2026-11-04
- PoC-in-GitHubproof of concept12known since 2026-11-01
- Exploit-DBdetectionread 2026-11-04
- ProjectDiscoverydetectionread 2026-11-04
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2020-06-16
Identifiers
- EUVD-2019-0375same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-86g5-2wh3-gc9jsame flawGitHub Advisory Database · CC-BY-4.0
- auxiliary/gather/rails_doubletap_file_readexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-46585exploit referenceExploit-DB · BSD-3-Clause
- DLA-1739-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2019:1344-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:1993-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:2000-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11818-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11819-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11820-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11821-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11822-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11823-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11824-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11825-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11826-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11827-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11828-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11831-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11832-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:0796advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1147advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1149advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1289advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2019:0915-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3036-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3147-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:3160-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7646-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2019-03-27
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-86g5-2wh3-gc9j
Frequently asked questions
What is CVE-2019-5418?
Is CVE-2019-5418 actively exploited?
What is the CVSS score for CVE-2019-5418?
Running rubygem-actionpack? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-86g5-2wh3-gc9j
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0