CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability

Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-117dbca9838b, updated 2026-11-02T23:39:54.475Z.

CISA Known Exploited Vulnerabilities

Name
Rails Ruby on Rails Path Traversal Vulnerability
Vendor
Rails
Product
Ruby on Rails
Added to the catalog
2025-07-07
Due date for US federal agencies
2025-07-28
Weaknesses
CWE-22
Catalog version
2026.10.30

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.

Required action (CISA)

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

Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.

Links in CISA's notes

Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json

NVD analysis

Status
Analyzed
Published
2019-03-27T14:29:01.533
Last modified
2026-06-17T02:37:39.103
Weaknesses
CWE-22, NVD-CWE-noinfo

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.

MetricScoreSeverityVectorScored by
CVSS 3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N[email protected] (Primary)
CVSS 3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 2.05MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N[email protected] (Primary)

References

This product uses the NVD API but is not endorsed or certified by the NVD.

Read on 2026-11-02T23:41:43.468Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2019-5418

CVE record

Assigner
hackerone
State
PUBLISHED
Published
2019-03-27T13:38:58.000Z
Updated
2025-10-21T23:45:41.038Z
Problem types
Path Traversal (CWE-22)

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.

References

Read on 2026-11-03T01:02:06.444Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2019/5xxx/CVE-2019-5418.json

Also known as / affected packages

GHSA-86g5-2wh3-gc9j

Also known as: CVE-2019-5418. OSV.dev record, GitHub advisory.

  • RubyGems actionview: introduced 5.2.0, fixed 5.2.2.1
  • RubyGems actionview: introduced 4.0.0, fixed 4.2.11.1
  • RubyGems actionview: introduced 5.1.0, fixed 5.1.6.2
  • RubyGems actionview: introduced 5.0.0, fixed 5.0.7.2

Read on 2026-11-03T00:48:51.756Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.osv.dev/v1/vulns/GHSA-86g5-2wh3-gc9j

Defensive techniques (MITRE D3FEND)

D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

D3FEND ontology version 1.6.0.

Read on 2026-11-02T23:53:56.145Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-22.json

MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/

Sources and licences

  • CISA

    Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.

    CC0 1.0 Universal

  • National Vulnerability Database (NIST)

    This product uses the NVD API but is not endorsed or certified by the NVD.

    NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)

  • CVE Program, The MITRE Corporation

    Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

    CVE Program Terms of Use ("CVE Usage" licence)

  • GitHub Advisory Database via OSV.dev

    GHSA-86g5-2wh3-gc9j: GitHub Advisory Database, https://github.com/advisories/GHSA-86g5-2wh3-gc9j. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), provided as is, without warranties. Retrieved via OSV.dev (https://osv.dev/vulnerability/GHSA-86g5-2wh3-gc9j), which enriches records; fields selected and reformatted by ransomware-tracker.com.

    CC BY 4.0

  • MITRE D3FEND

    MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
    "The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/

    MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT

Cite this page

Dragons Eye Ransomware Tracker, "CVE-2019-5418: Rails Ruby on Rails Path Traversal Vulnerability",
entity page, dataset version ref-117dbca9838b, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2019-5418 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-06-17T02:37:39.103.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2025-10-21T23:45:41.038Z.
Underlying source: GitHub Advisory Database, GHSA-86g5-2wh3-gc9j, via OSV.dev, modified 2025-10-22T19:37:47.266681Z.
Underlying source: MITRE D3FEND, ontology version 1.6.0.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.

CISA KEV index