CVE-2026-54297
Last modified
CVE-2026-54297 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. From 1.0.0 until 1.10.6 and 2.14.3, Faraday::NestedParamsEncoder, the default nested query parameter encoder/decoder in Faraday, decodes nested query strings without enforcing a maximum nesting depth. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. From 1.0.0 until 1.10.6 and 2.14.3, Faraday::NestedParamsEncoder, the default nested query parameter encoder/decoder in Faraday, decodes nested query strings without enforcing a maximum nesting depth. A crafted query string causes Faraday to build a deeply nested Ruby Hash structure. The internal dehash routine then recursively walks this attacker-controlled structure without a depth limit. At sufficient depth, Ruby raises an uncaught SystemStackError (stack level too deep), crashing the calling thread or worker. This can lead to denial of service in applications that pass attacker-controlled query strings to Faraday's nested query parsing or URL-building paths. This vulnerability is fixed in 1.10.6 and 2.14.3.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Faraday Project | Faraday | >= 1.0.0, < 1.10.6 |
| Faraday Project | Faraday | >= 2.0.0, < 2.14.3 |
References
- https://github.com/lostisland/faraday/security/advisories/GHSA-98m9-hrrm-r99rExploit, Mitigation, Vendor Advisory
- https://github.com/lostisland/faraday/security/advisories/GHSA-98m9-hrrm-r99rExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54297?
How severe is CVE-2026-54297?
How do I fix CVE-2026-54297?
Are you affected by CVE-2026-54297?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
