Description
Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. Prior to 2.14.1, Faraday's build_exclusive_url method (in lib/faraday/connection.rb) uses Ruby's URI#merge to combine the connection's base URL with a user-supplied path. Per RFC 3986, protocol-relative URLs (e.g. //evil.com/path) are treated as network-path references that override the base URL's host/authority component. This means that if any application passes user-controlled input to Faraday's get(), post(), build_url(), or other request methods, an attacker can supply a protocol-relative URL like //attacker.com/endpoint to redirect the request to an arbitrary host, enabling Server-Side Request Forgery (SSRF). This vulnerability is fixed in 2.14.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lostisland | faraday | < 2.14.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-faraday | 2.14.1-1 | — |
| Debian 13 | ruby-faraday | No fix yet | — |
| Debian 12 | ruby-faraday | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-faraday | No fix yet | — |
| Ubuntu 26.04 LTS | ruby-faraday | No fix yet | — |
| Ubuntu 25.10 | ruby-faraday | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-faraday | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-faraday | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ruby-faraday | No fix yet | — |
| Ubuntu 18.04 LTS | ruby-faraday | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-faraday | No fix yet | — |
| Ubuntu 14.04 LTS | ruby-faraday | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rubygem-faraday | 2.7.10-2 | — |
| Azure Linux 2 (CBL-Mariner) | rubygem-faraday | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | cinc-auditor | 7.0.95-r6 | — |
| Wolfi rolling | kube-fluentd-operator | 1.18.2-r56 | — |
| Wolfi rolling | kube-logging-operator-fluentd-outputs | 6.3.2-r3 | — |
| Wolfi rolling | logstash-9.3 +2 | 9.3.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | faraday | >= 2.0.0, < 2.14.1 | 2.14.1 | GHSA-33mh-2634-fwr2 |
| RubyGems | faraday | >= 1.0.0, < 1.10.5 | 1.10.5 | GHSA-33mh-2634-fwr2 |
Advisories 1
- WID-SEC-2026-0552 Fluentd: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 26, 2026