Known exploited vulnerability

CVE-2019-5418

highCVSS 3.1 7.5In CISA KEVEPSS 99%Published · Rails

The short answer

CVE-2019-5418 affects Rails https://github.com/rails/rails and is rated high (CVSS 7.5). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-07-07: attackers are using it, so patch it first. Fixed versions are published for actionview (5.2.2.1, 4.2.11.1, 5.1.6.2).

What it is

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.

Weakness: CWE-22.

Severity

7.5 high

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploited (CISA KEV)

Yes, since Jul 7, 2025

Federal due date Jul 28, 2025

EPSS, next 30 days

99%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

What CISA says to do

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

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
actionviewRubyGems5.2.2.1, 4.2.11.1, 5.1.6.2, 5.0.7.2GHSA-86g5-2wh3-gc9j

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

https://github.com/rails/rails. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2019-5418 being exploited?

Yes. CISA added CVE-2019-5418 to its Known Exploited Vulnerabilities catalog on 2025-07-07, with a federal remediation due date of 2025-07-28.

How do I fix CVE-2019-5418?

Upgrade to a fixed version: actionview (RubyGems) 5.2.2.1 or 4.2.11.1 or 5.1.6.2 or 5.0.7.2. CISA's 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.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.