CVE-2026-25765 | Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url

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.

Published: 2026-02-09 Last update: 2026-02-20 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-25765 is rated Low Risk (23.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-25765

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-10 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-25765

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2026-25765

GitHub Security Advisory for CVE-2026-25765

GHSA-33mh-2634-fwr2 · Severity: medium · Ecosystem: rubygems — Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url

OS Trackers for CVE-2026-25765

vendor priority summary link
debian not yet assigned CVE-2026-25765 not yet assigned priority: Debian including 1 source packages (ruby-faraday), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-25765
redhat medium https://access.redhat.com/security/cve/CVE-2026-25765
ubuntu medium CVE-2026-25765 medium priority: Ubuntu including 1 source packages (ruby-faraday), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): needs-triage 8. https://ubuntu.com/security/CVE-2026-25765

Affected software / configurations for CVE-2026-25765

Vendor Product Version Raw CPE
faraday_project faraday >= 1.0.0, < 1.10.5 cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*
faraday_project faraday >= 2.0.0, < 2.14.1 cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*

References for CVE-2026-25765

cvelogic Threat Intelligence