CVEBrief

Home / Rails / https://github.com/rails/rails / CVE-2019-5418

CVE-2019-5418: is it exploited, and which versions of https://github.com/rails/rails are affected and fixed?

CVE-2019-5418 is a path traversal (reading or writing files outside the intended folder) vulnerability in https://github.com/rails/rails, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on July 7, 2025, with a federal due date of July 28, 2025. Affected: actionview from 5.2.0 before 5.2.2.1, actionview from 4.0.0 before 4.2.11.1, actionview from 5.1.0 before 5.1.6.2 and 1 more (GitHub advisory GHSA-86g5-2wh3-gc9j). Fixed in 5.2.2.1, 4.2.11.1, 5.1.6.2 and 5.0.7.2 (GitHub advisory GHSA-86g5-2wh3-gc9j). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:24 UTC.

Exploited in the wild
Yes, CISA KEV
added July 7, 2025, due July 28, 2025
Affected
actionview from 5.2.0 before 5.2.2.1, actionview from 4.0.0 before 4.2.11.1, actionview from 5.1.0 before 5.1.6.2 and 1 more
GitHub advisory GHSA-86g5-2wh3-gc9j
Fixed in
5.2.2.1, 4.2.11.1, 5.1.6.2 and 5.0.7.2
GitHub advisory GHSA-86g5-2wh3-gc9j
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
98.5% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

What is CVE-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.

From the CVE record by hackerone, last updated October 21, 2025, 23:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Railshttps://github.com/rails/rails5.2.2.1
5.1.6.2
5.0.7.2
4.2.11.1

As the CVE record by hackerone states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
RubyGemsactionview>= 5.2.0, < 5.2.2.15.2.2.1GHSA-86g5-2wh3-gc9j
RubyGemsactionview>= 4.0.0, < 4.2.11.14.2.11.1GHSA-86g5-2wh3-gc9j
RubyGemsactionview>= 5.1.0, < 5.1.6.25.1.6.2GHSA-86g5-2wh3-gc9j
RubyGemsactionview>= 5.0.0, < 5.0.7.25.0.7.2GHSA-86g5-2wh3-gc9j

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Path Traversal in Action View.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
rubyonrailsrailsfrom 3.0.0 before 4.2.11.1application
rubyonrailsrailsfrom 5.0.0 before 5.0.7.2application
rubyonrailsrailsfrom 5.1.0 before 5.1.6.2application
rubyonrailsrailsfrom 5.2.0 before 5.2.2.1application
debiandebian linux8.0operating system
redhatcloudforms4.7application
opensuseleap15.0operating system
fedoraprojectfedora30operating system
redhatcloudforms4.6application
redhatsoftware collections1.0application

NVD analysis (status Analyzed), last modified June 17, 2026, 02:37 UTC.

How severe is CVE-2019-5418?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2019-5418 exploited in the wild?

CISA KEV
Listed as Rails Ruby on Rails Path Traversal Vulnerability, added July 7, 2025; federal agencies must act by July 28, 2025
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.
Ransomware use
Unknown
CISA's summary
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 SSVC
Exploitation: active; automatable: yes; technical impact: partial (CISA ADP, July 17, 2025)
EPSS
98.5% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 4, 2019
Published
March 27, 2019, 13:38 UTC
CVE record updated
October 21, 2025, 23:45 UTC by hackerone
NVD
Analyzed, last modified June 17, 2026, 02:37 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:24 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect https://github.com/rails/rails?

Every CVE in https://github.com/rails/rails

Questions about CVE-2019-5418

Is CVE-2019-5418 exploited in the wild?

Yes. CISA added CVE-2019-5418 to its Known Exploited Vulnerabilities catalog on July 7, 2025 and set federal agencies a due date of July 28, 2025. FIRST's EPSS gives it a 98.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of https://github.com/rails/rails are affected by CVE-2019-5418?

actionview from 5.2.0 before 5.2.2.1, actionview from 4.0.0 before 4.2.11.1, actionview from 5.1.0 before 5.1.6.2 and actionview from 5.0.0 before 5.0.7.2, per the GitHub advisory GHSA-86g5-2wh3-gc9j. The tables above give every range the sources list.

Which version fixes CVE-2019-5418?

5.2.2.1, 4.2.11.1, 5.1.6.2 and 5.0.7.2, per the GitHub advisory GHSA-86g5-2wh3-gc9j. Check the vendor's advisory before you rely on it.

How severe is CVE-2019-5418?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2019-5418?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.