Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/faraday@2.14.1
purl pkg:gem/faraday@2.14.1
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 3.1
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-5qz3-p1wh-8bcy
Aliases:
CVE-2026-25765
GHSA-33mh-2634-fwr2
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. There are no reported fixed by versions.
VCID-dg9z-j2d6-3yav
Aliases:
CVE-2026-33637
GHSA-5rv5-xj5j-3484
Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. Versions 2.0.0 through 2.14.1 still allow protocol-relative host override when the request target is passed as a URI object (rather than a String) to Faraday::Connection#build_exclusive_url. This bypasses the February 2026 fix for GHSA-33mh-2634-fwr2 and enables off-host request forgery: a request built from a fixed-base Faraday::Connection can be redirected to an attacker-controlled host, forwarding connection-scoped values such as Authorization headers and default query parameters. This issue has been fixed in version 2.14.3.
2.14.2
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-5qz3-p1wh-8bcy 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. CVE-2026-25765
GHSA-33mh-2634-fwr2

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-13T09:29:07.842562+00:00 Ruby Importer Affected by VCID-dg9z-j2d6-3yav https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faraday/CVE-2026-33637.yml 38.6.0
2026-06-13T09:27:28.298534+00:00 Ruby Importer Fixing VCID-5qz3-p1wh-8bcy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faraday/CVE-2026-25765.yml 38.6.0
2026-06-13T09:27:27.853405+00:00 Ruby Importer Affected by VCID-5qz3-p1wh-8bcy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faraday/CVE-2026-25765.yml 38.6.0
2026-06-12T15:50:22.072196+00:00 GitLab Importer Fixing VCID-5qz3-p1wh-8bcy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/faraday/CVE-2026-25765.yml 38.6.0
2026-06-12T07:48:08.011079+00:00 GithubOSV Importer Fixing VCID-5qz3-p1wh-8bcy https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-33mh-2634-fwr2/GHSA-33mh-2634-fwr2.json 38.6.0
2026-06-11T20:38:40.158637+00:00 GHSA Importer Affected by VCID-dg9z-j2d6-3yav https://github.com/advisories/GHSA-5rv5-xj5j-3484 38.6.0
2026-06-11T20:37:54.756805+00:00 GHSA Importer Fixing VCID-5qz3-p1wh-8bcy https://github.com/advisories/GHSA-33mh-2634-fwr2 38.6.0