Path traversal
A supplied file path escapes the directory the application intended to allow.
CWE-22 · CISA KEV; NVD record: support@hackerone.com
Reading and practice labs · Free account for labs. Basic HTTP knowledge; some labs use Burp Suite.
Security news, read and ranked every 30 minutes.
Exploited. On CISA's list since 2025-07-07.
CVE-2019-5418 · Rails Ruby on Rails · Published 2019-03-27
7.5 out of 10
CVSS rates it high.
99%
Estimated chance of exploitation in the next 30 days, among the top 1% of all scored flaws (EPSS, 2026-10-29).
Yes
CISA has seen it exploited in real attacks. For US government agencies the fix is deadline passed 459 days ago (2025-07-28).
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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.
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 NVD.
Explore this week’s weaknesses and all learning topics
Understand the kind of weakness behind this flaw. These resources teach the weakness, rather than reproduce this specific CVE. Follow the vendor's advice above to fix the affected product.
A supplied file path escapes the directory the application intended to allow.
CWE-22 · CISA KEV; NVD record: support@hackerone.com
Reading and practice labs · Free account for labs. Basic HTTP knowledge; some labs use Burp Suite.
CWE is a catalogue of weakness types. Labels come from the sources shown and can differ or change. Resource matches reviewed 16 October 2026.
No story in the last 14 days has mentioned it.
Exploited flaws from CISA's KEV catalogue. Chance of exploitation from EPSS by FIRST. Descriptions and scores from the NVD. This product uses the NVD API but is not endorsed or certified by the NVD.