Skip to content
skopnix

CVE-2019-5418 · Published 27 Mar 2019

Rails Ruby on Rails

On CISA's KEV list 2294 days after disclosure; 10 public exploits.

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

CISA required action (federal due date 28 Jul 2025): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Signals

KEV, exploited in the wild
yes, added 7 Jul 2025, due 28 Jul 2025
EPSS, 30-day forecast
99%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 21 Mar 2019 to today

2,293 days from the Metasploit module to the KEV listing
20202021202220232024First PoC 21 Mar 2019Disclosed 27 Mar 2019Metasploit 28 Mar 2019KEV 7 Jul 2025today
  1. First PoC
  2. Disclosed+6 d
  3. Metasploit+1 d
  4. KEV+2293 d

2,293 days from the Metasploit module to the KEV listing

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 0 dispatches

No dispatch on our wire has named this CVE yet.

Public exploit code 10 known · links only

GitHub PoCs 8Metasploit 1Exploit-DB 1

GitHub PoCs, by trust then stars8

  1. first seen by skopnix 18 Oct 2026

  2. first seen by skopnix 18 Oct 2026

  3. first seen by skopnix 18 Oct 2026

  4. first seen by skopnix 18 Oct 2026

  5. first seen by skopnix 18 Oct 2026

  6. first seen by skopnix 18 Oct 2026

  7. first seen by skopnix 18 Oct 2026

  8. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module uses a path traversal vulnerability in Ruby on Rails versions =< 5.2.2 to read files on a target server.

    ruby · first seen by skopnix 18 Oct 2026

Exploit-DB1

  1. created 21 Mar 2019

Nuclei detection templates1

  1. Rails <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 are susceptible to a file content disclosure vulnerability because specially crafted accept headers can cause contents of arbitrary files on the target system's file system to be exposed.

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check