CVE-2026-54297
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.
Weakness
- CWE-674: Uncontrolled Recursion
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-06-25 |
Timeline
- 2026-06-19GitHub advisory published (GHSA-98m9-hrrm-r99r)5 days before publication
- 2026-06-24Published by the CNA15:50 UTC
- 2026-06-25CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-98m9-hrrm-r99r, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems faraday | from 1.0.0 before 1.10.6 | 1.10.6 |
| RubyGems faraday | from 2.0.0 before 2.14.3 | 2.14.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| faraday_project faraday | from 1.0.0 before 1.10.6fixed in 1.10.6from 2.0.0 before 2.14.3fixed in 2.14.3 | 1.10.62.14.3 |
References
- https://github.com/lostisland/faraday/security/advisories/GHSA-98m9-hrrm-r99r
- https://access.redhat.com/errata/RHSA-2026:50221
- https://access.redhat.com/errata/RHSA-2026:50222
- https://access.redhat.com/errata/RHSA-2026:50223
- https://access.redhat.com/errata/RHSA-2026:50263
- https://access.redhat.com/security/cve/CVE-2026-54297
- https://bugzilla.redhat.com/show_bug.cgi?id=2492252
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54297.json
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-54297'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-54297'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-54297'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-54297'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).