PT-2026-51060 · Faraday · Faraday

CVE-2026-54297

·

Published

2026-06-15

·

Updated

2026-07-21

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Faraday versions prior to 2.14.2-2-g59334e0
Description Faraday::NestedParamsEncoder, the default nested query parameter encoder/decoder, decodes nested query strings without enforcing a maximum nesting depth. An attacker can provide a crafted query string with deeply nested parameters, causing the internal dehash() function to recursively process the structure without a limit. This leads to stack exhaustion, triggering a SystemStackError (stack level too deep) that crashes the calling Ruby thread or worker, resulting in a denial of service. This issue occurs when applications pass untrusted query strings to Faraday::Utils.parse nested query() or during URL construction via the build url() method.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Uncontrolled Recursion

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-08784
CLEANSTART-2026-DE16221
CLEANSTART-2026-UT74115
CVE-2026-54297
GHSA-98M9-HRRM-R99R
OESA-2026-2802
OESA-2026-2967
OESA-2026-2968
RHSA-2026:50221
RHSA-2026:50222
RHSA-2026:50223
RHSA-2026:50263

Affected Products

Faraday