Security mailing lists by PureSourceCode

CVE-2026-54297

HIGH 7.5CVSS 3.1

Faraday: Uncontrolled recursion in NestedParamsEncoder allows stack exhaustion DoS via deeply nested query parameters

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.

Published
24 Jun 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-674CWE-770
Also known as
GHSA-98m9-hrrm-r99r
Sources
NVDJSONOSV GHSA-98m9-hrrm-r99rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD faraday_project faraday
cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.10.6 1.10.6
NVD faraday_project faraday
cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.14.3 2.14.3
OSV RubyGems faraday >= 2.0.0, < 2.14.3 2.14.3
OSV RubyGems faraday >= 1.0.0, < 1.10.6 1.10.6

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.