CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability
Vulnerability summary
CVE-2019-5418 is a high (CVSS 7.5) vulnerability in Rails Ruby on Rails. It is known to be exploited: CISA lists it, first on 07-07-2025. EPSS estimates a 98.51% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.
Listed as exploited by CISA (07-07-2025)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 25 · Related 20Timeline
- 27-03-2019PublishedVulnerability first disclosed.
- 07-07-2025Added to CISA KEVExploitedRails Ruby on Rails Path Traversal Vulnerability
- 28-07-2025CISA remediation dueDeadline passedApply mitigations per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
98.51%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 98.51% on 04-10-2026
Known exploited
Compare KEV catalogs- Added
- 07-07-2025
- Federal due date
- 28-07-2025
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA 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. web.archive.org/web/… nvd.nist.gov/vuln/detail/CVE-2019-5418
Public exploits
3 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Rails 5.2.1 - Arbitrary File Content Disclosure
Maturity: poc
Ruby On Rails File Content Disclosure ('doubletap')
auxiliary/gather/rails_doubletap_file_read
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- rails< 2:5.2.2.1+dfsg-1
- debian_linuxEOL8.0
Redhat2 products
- cloudforms4.7 | 4.6
- software_collections1.0
Fedoraproject1 product
- fedoraEOL30
Opensuse1 product
- leapEOL15.0
Rails1 product
- https://github.com/rails/rails5.2.2.1 | 5.1.6.2 | 5.0.7.2 | 4.2.11.1
RubyGems1 product
- actionview≥ 5.2.0, < 5.2.2.1 | ≥ 4.0.0, < 4.2.11.1 | ≥ 5.1.0, < 5.1.6.2 | ≥ 5.0.0, < 5.0.7.2
Rubyonrails1 product
- rails≥ 3.0.0, < 4.2.11.1 | ≥ 5.0.0, < 5.0.7.2 | ≥ 5.1.0, < 5.1.6.2 | ≥ 5.2.0, < 5.2.2.1
Ubuntu1 product
- rails< 2:4.2.6-1ubuntu0.1~esm2 | < 2:4.2.10-0ubuntu4+esm2
8 vendors · 10 products
References
28 links- packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.htmlX Refsource MISCWEBExploitThird Party AdvisoryVDB Entry
- www.openwall.com/lists/oss-security/2019/03/22/1Mailing ListX Refsource MLISTWEBMitigationPatchThird Party Advisory
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/X Refsource CONFIRMBroken LinkPatchVendor Advisory
- lists.debian.org/debian-lts-announce/2019/03/msg00042.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory
Show all 28 references
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418Government ResourceWEBUS Government Resource