Rails · Ruby on Rails · CWE-22 · published 2019-03-27
CVE-2019-5418Rails Ruby on Rails Path Traversal Vulnerability
Patch today Known exploited server software, exploitation is automatable.
CVE-2019-5418 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-07-07. EPSS estimates a 98.5% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Ruby on Rails vulnerability: CVSS 7.5 (v3.1), attacks can be automated. Patched packages are out for Debian. US federal agencies must remediate by 2025-07-28. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
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. (federal due date 2025-07-28)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | rails | Fixed in 2:5.2.2.1+dfsg-1 |
| 12 bookworm | rails | Fixed in 2:5.2.2.1+dfsg-1 |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Web frameworkRuby on Rails
Path TraversalCVE-2019-5418
Why: Known exploited server software, exploitation is automatable.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-07-07 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 99% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.5 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Weakness: CWE-22: Improper Limitation of a Pathname to a Restricted Directory
More from this vendor: all Rails vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Rails https://github.com/rails/rails
5.2.2.1(affected)5.1.6.2(affected)5.0.7.2(affected)4.2.11.1(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.