CVE-2026-25765
Description
Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. Prior to 2.14.1, Faradays build_exclusive_url method (in lib/faraday/connection.rb) uses Rubys URI#merge to combine the connections 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 URLs host/authority component. This means that if any application passes user-controlled input to Faradays 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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2026-25765 are fixed in Ruby-faraday 2.14.1 | Windows |
| Vulnerabilities CVE-2026-25765 are fixed in Ruby-faraday 1.10.5 | Windows |
| Vulnerabilities CVE-2026-25765 are fixed in Ruby-faraday for Linux 2.14.1 | Linux |
| Vulnerabilities CVE-2026-25765 are fixed in Ruby-faraday for Linux 1.10.5 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234