Rails Ruby on Rails Path Traversal Vulnerability
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.
Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.
Exploitation probability EPSS · FIRST
Exploitation signals 4 / 5
- KEV catalog (CISA)07 Jul 2025
- Exploited in EUVD (ENISA)07 Jul 2025
- Used by ransomwareno
- EPSS above 10 %98.5%
- No account, over the networkyes
What to do
Fix
Update to a fixed version: 5.2.2.1 4.2.11.1 5.1.6.2 5.0.7.2
CISA guidance: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Meanwhile
Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.
Manufacturers (CRA)
Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained
Affected products
- 5.1.6.2
- 5.2.2.1
- 5.0.7.2
- 4.2.11.1
Open source packages OSV
- actionviewRubyGems · GHSA-86g5-2wh3-gc9jfixed in 5.2.2.1
- actionviewRubyGems · GHSA-86g5-2wh3-gc9jfixed in 4.2.11.1
- actionviewRubyGems · GHSA-86g5-2wh3-gc9jfixed in 5.1.6.2
- actionviewRubyGems · GHSA-86g5-2wh3-gc9jfixed in 5.0.7.2
Timeline
-
Published
-
Exploitation reported (ENISA)
-
Added to the KEV catalog
-
CISA remediation due date
-
EPSS peak: 98.5%
References
Other exploited vulnerabilities from the same vendor
- CVE-2016-0752Ruby on Rails Directory Traversal Vulnerability8.3 · Background exploitation
- CVE-2014-0130Ruby on Rails Directory Traversal Vulnerability7.0 · Background exploitation