# CVE-2026-54297: Faraday: Uncontrolled recursion in NestedParamsEncoder allows stack exhaustion DoS via deeply nested query parameters

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T19:35:43.000Z
- Modified: 2026-10-25T22:10:00.150Z
- Also known as: GHSA-98m9-hrrm-r99r
- Weaknesses: CWE-674, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lostisland faraday: >= 1.0.0, < 1.10.6; >= 2.0.0.alpha.pre.1, < 2.14.3
- rubygem-faraday: no versions given (not affected: from 0:1.10.6-1.el8sat before *; from 0:1.10.6-1.el9sat before *)
- 3scale-amp21/system: no versions given
- 3scale-amp21/zync: no versions given
- 3scale-amp22/system: no versions given
- 3scale-amp22/zync: no versions given
- 3scale-amp2/system-rhel7: no versions given
- 3scale-amp2/system-rhel8: no versions given
- 3scale-amp2/system-rhel9: no versions given
- 3scale-amp2/zync-rhel8: no versions given
- 3scale-amp2/zync-rhel9: no versions given
- rubygem-faraday-cookie_jar: no versions given
- rubygem-faraday-em_http: no versions given
- rubygem-faraday-em_synchrony: no versions given
- rubygem-faraday-excon: no versions given
- rubygem-faraday-httpclient: no versions given
- rubygem-faraday_middleware: no versions given
- rubygem-faraday-multipart: no versions given
- rubygem-faraday-net_http: no versions given
- rubygem-faraday-net_http_persistent: no versions given
- rubygem-faraday-patron: no versions given
- rubygem-faraday-rack: no versions given
- rubygem-faraday-retry: no versions given
- satellite-capsule:el8/rubygem-faraday: no versions given
- satellite-capsule:el8/rubygem-faraday-em_http: no versions given
- satellite-capsule:el8/rubygem-faraday-em_synchrony: no versions given
- satellite-capsule:el8/rubygem-faraday-excon: no versions given
- satellite-capsule:el8/rubygem-faraday-httpclient: no versions given
- satellite-capsule:el8/rubygem-faraday_middleware: no versions given
- satellite-capsule:el8/rubygem-faraday-multipart: no versions given
- satellite-capsule:el8/rubygem-faraday-net_http: no versions given
- satellite-capsule:el8/rubygem-faraday-net_http_persistent: no versions given
- satellite-capsule:el8/rubygem-faraday-patron: no versions given
- satellite-capsule:el8/rubygem-faraday-rack: no versions given
- satellite:el8/rubygem-faraday: no versions given
- satellite:el8/rubygem-faraday-cookie_jar: no versions given
- satellite:el8/rubygem-faraday-em_http: no versions given
- satellite:el8/rubygem-faraday-em_synchrony: no versions given
- satellite:el8/rubygem-faraday-excon: no versions given
- satellite:el8/rubygem-faraday-httpclient: no versions given
- satellite:el8/rubygem-faraday_middleware: no versions given
- satellite:el8/rubygem-faraday-multipart: no versions given
- satellite:el8/rubygem-faraday-net_http: no versions given
- satellite:el8/rubygem-faraday-net_http_persistent: no versions given
- satellite:el8/rubygem-faraday-patron: no versions given
- satellite:el8/rubygem-faraday-rack: no versions given
- satellite:el8/rubygem-faraday-retry: no versions given
- faraday (RubyGems): from 2.0.0 before 2.14.3; from 1.0.0 before 1.10.6
- faraday_project faraday: from 1.0.0 before 1.10.6; from 2.0.0 before 2.14.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lostisland/faraday/security/advisories/GHSA-98m9-hrrm-r99r> (exploit, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-54297> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2492252> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54297.json>
- <https://access.redhat.com/errata/RHSA-2026:50223> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50222> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50263> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50221> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54297> (advisory)
- <https://github.com/lostisland/faraday/pull/1681> (web)
- <https://github.com/lostisland/faraday> (package)
- <https://github.com/lostisland/faraday/releases/tag/v1.10.6> (web)
- <https://github.com/lostisland/faraday/releases/tag/v2.14.3> (web)

## Sources

- CVE List: [CVE-2026-54297](https://www.cve.org/CVERecord?id=CVE-2026-54297), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-98m9-hrrm-r99r](https://github.com/advisories/GHSA-98m9-hrrm-r99r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54297](https://nvd.nist.gov/vuln/detail/CVE-2026-54297), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54297 · Whole record: https://cve.day/CVE-2026-54297.json · Rebuilt by cve.day 2026-11-25T22:59:25.707Z
