ruby-faraday — security advisory
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.
- Products
- ruby-faraday
- Affected versions
- 1.1.0-7, 2.10.0-1, 2.10.0-2, 2.12.2-1, 2.14.0-1, 2.14.1-1, 2.14.3-1, 2.14.4-1, 2.15.0-1, 2.7.1-1, 2.7.1-2
- Fixed versions
- 2.14.3-1
- CVEs
- CVE-2026-54297
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:34 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-54297
ruby-faraday
Fixed versions: Not specified
ruby-faraday
Fixed versions: Not specified
ruby-faraday
Fixed versions: 2.14.3-1
Complete source record
{
"id": "122cc6a103e7ae6020bc03a9e9ee55fc01d7b20b0a02fa9f9923306eac98128e",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-54297",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-54297",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-54297",
"products": [
{
"name": {
"value": "ruby-faraday",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.0-7",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.12.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.14.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.14.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.14.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.15.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ruby-faraday",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.12.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.14.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.14.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.14.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.15.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "ruby-faraday",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.14.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.12.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.14.1-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-54297",
"aliases": [
"DEBIAN-CVE-2026-54297"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-faraday",
"purl": "pkg:deb/debian/ruby-faraday?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.1.0-7",
"2.10.0-1",
"2.10.0-2",
"2.12.2-1",
"2.14.0-1",
"2.14.1-1",
"2.14.3-1",
"2.14.4-1",
"2.15.0-1",
"2.7.1-1",
"2.7.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54297.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-faraday",
"purl": "pkg:deb/debian/ruby-faraday?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.12.2-1",
"2.14.0-1",
"2.14.1-1",
"2.14.3-1",
"2.14.4-1",
"2.15.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54297.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.14.3-1"
}
]
}
],
"package": {
"name": "ruby-faraday",
"purl": "pkg:deb/debian/ruby-faraday?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.12.2-1",
"2.14.0-1",
"2.14.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54297.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:44.418695015Z",
"provider": "osv",
"upstream": [
"CVE-2026-54297"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-54297"
]
},
"related_cves": [
{
"value": "CVE-2026-54297",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452561,
"published_at": "2026-06-24T17:17:29.03+00:00"
}