Vulnerabilities

Vulnerability · CVE-2019-5418

Rails Ruby on Rails Path Traversal Vulnerability

Published Mar 27, 2019 · catalog updated Jun 16, 2026 · Rails Ruby on Rails

Patch now

CVE-2019-5418 is in the CISA known-exploited catalog, due Jul 28, 2025. Confirm Rails Ruby on Rails against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
High7.5
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
98.51%
Remediation
Remediation guidance
Affected products
cpe debian/debian linux · cpe fedoraproject/fedora · cpe opensuse/leap · cpe redhat/cloudforms · cpe rubyonrails/rails · vendor Rails Ruby on Rails

Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to can cause arbitrary files on the target server to be rendered, disclosing the file contents. Initial-access exploit intelligence.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe debian/debian linux8.0
  • cpe fedoraproject/fedora30
  • cpe opensuse/leap15.0
  • cpe redhat/cloudforms4.6
  • cpe redhat/cloudforms4.7
  • cpe rubyonrails/railsversion unspecified
  • vendor Rails Ruby on Railsversion unspecified

How to fix CVE-2019-5418

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2019-5418 is in the CISA known-exploited catalog, due Jul 28, 2025. Confirm Rails Ruby on Rails against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with debian/debian linux 8.0. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

What should an analyst verify?

CWE-22: Path Traversal. EPSS 98.51%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 27, 2019 · Catalog

    Detected

    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.

  2. Jul 7, 2025 · CISA KEV

    Known exploited

    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

  3. Jul 28, 2025 · CISA KEV

    Remediation due

    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

  4. Jun 16, 2026 · Catalog

    Updated

    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.

Sources

  • CISA KEVConfirmed exploitationCVE-2019-5418

    Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to can cause arbitrary files on the target server to be rendered, disclosing the file contents.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2019-5418

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2019-5418

    30-day exploitation probability 98.5%

    first.org
  • Exploit DatabasePublic exploit reference46585

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Metasploit ModulesPublic exploit moduleauxiliary_gather/rails_doubletap_file_read

    Public module reference (normal). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-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 target system's filesystem to be exposed.

    nvd.nist.gov
  • Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html

    Packet Storm link already published on the finding.

    packetstormsecurity.com
  • VulnCheck KEVConfirmed exploitationCVE-2019-5418

    Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to can cause arbitrary files on the target server to be rendered, disclosing the file contents.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.