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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
faradayRubyGems | >= 2.0.0, < 2.14.3 | 2.14.3 |
faradayRubyGems | >= 1.0.0, < 1.10.6 | 1.10.6 |
Affected products
27- osv-coords25 versionspkg:apk/chainguard/gitlab-exporter-19.0pkg:apk/chainguard/gitlab-exporter-19.1pkg:apk/chainguard/gitlab-rails-ce-fips-18.11pkg:apk/chainguard/gitlab-rails-ce-fips-19.0pkg:apk/chainguard/cinc-auditorpkg:apk/wolfi/logstash-9.4pkg:apk/chainguard/logstash-9.4-iamguarded-compatpkg:apk/chainguard/gitlab-rails-ce-18.11pkg:apk/wolfi/logstash-9.4-iamguarded-compatpkg:apk/wolfi/ruby3.4-kube-logging-operator-fluentd-outputspkg:apk/chainguard/logstash-8.19pkg:apk/chainguard/logstash-fips-9.4pkg:apk/chainguard/logstash-fips-9.4-iamguarded-compatpkg:apk/wolfi/cinc-auditorpkg:apk/wolfi/kube-fluentd-operatorpkg:apk/chainguard/ruby3.2-kube-logging-operator-fluentd-outputspkg:apk/chainguard/ruby3.3-faradaypkg:apk/wolfi/ruby3.2-kube-logging-operator-fluentd-outputspkg:apk/chainguard/gitlab-exporter-18.11pkg:apk/chainguard/kube-fluentd-operatorpkg:apk/chainguard/logstash-8.19-with-output-opensearchpkg:apk/chainguard/ruby3.4-kube-logging-operator-fluentd-outputspkg:apk/chainguard/logstash-8.19-iamguarded-compatpkg:apk/chainguard/logstash-9.4pkg:apk/wolfi/ruby3.3-faraday
< 19.0.2-r1+ 24 more
- (no CPE)range: < 19.0.2-r1
- (no CPE)range: < 19.1.1-r3
- (no CPE)range: < 18.11.5-r2
- (no CPE)range: < 19.0.2-r2
- (no CPE)range: < 7.1.7-r5
- (no CPE)range: < 9.4.2-r6
- (no CPE)range: < 9.4.2-r6
- (no CPE)range: < 18.11.5-r2
- (no CPE)range: < 9.4.2-r6
- (no CPE)range: < 6.7.0-r5
- (no CPE)range: < 8.19.16-r2
- (no CPE)range: < 9.4.2-r5
- (no CPE)range: < 9.4.2-r5
- (no CPE)range: < 7.1.7-r5
- (no CPE)range: < 1.18.2-r71
- (no CPE)range: < 6.7.0-r5
- (no CPE)range: < 2.14.3-r0
- (no CPE)range: < 6.7.0-r5
- (no CPE)range: < 18.11.5-r2
- (no CPE)range: < 1.18.2-r71
- (no CPE)range: < 8.19.16-r2
- (no CPE)range: < 6.7.0-r5
- (no CPE)range: < 8.19.16-r2
- (no CPE)range: < 9.4.2-r6
- (no CPE)range: < 2.14.3-r0
Patches
Vulnerability mechanics
References
13- github.com/lostisland/faraday/security/advisories/GHSA-98m9-hrrm-r99rnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-98m9-hrrm-r99rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54297ghsaADVISORY
- github.com/lostisland/faraday/pull/1681ghsaWEB
- github.com/lostisland/faraday/releases/tag/v1.10.6ghsaWEB
- github.com/lostisland/faraday/releases/tag/v2.14.3ghsaWEB
- access.redhat.com/errata/RHSA-2026:50221nvd
- access.redhat.com/errata/RHSA-2026:50222nvd
- access.redhat.com/errata/RHSA-2026:50223nvd
- access.redhat.com/errata/RHSA-2026:50263nvd
- access.redhat.com/security/cve/CVE-2026-54297nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54297.jsonnvd
News mentions
0No linked articles in our index yet.