NVD - CVE-2026-25765 (original) (raw)

CVE-2026-25765 Detail

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.

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.

CVSS 4.0 Severity and Vector Strings:

NIST CVSS score

NIST: NVD

N/A

NVD assessment not yet provided.

CVSS 3.x Severity and Vector Strings:

NIST CVSS score

NIST: NVD

Base Score: N/A

NVD assessment not yet provided.

Nist CVSS score does not match with CNA score

CNA: GitHub, Inc.

Base Score: 5.8 MEDIUM

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology

NIST: NVD

Base Score: N/A

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc GitHub, Inc. Patch
https://github.com/lostisland/faraday/releases/tag/v2.14.1 GitHub, Inc. Product Release Notes
https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2 GitHub, Inc. Mitigation Vendor Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-918 Server-Side Request Forgery (SSRF) GitHub, Inc.

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

2 change records found show changes

Initial Analysis by NIST 2/20/2026 4:03:57 PM

Action Type Old Value New Value
Added CPE Configuration OR *cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.10.5 *cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.14.1
Added Reference Type GitHub, Inc.: https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc Types: Patch
Added Reference Type GitHub, Inc.: https://github.com/lostisland/faraday/releases/tag/v2.14.1 Types: Product, Release Notes
Added Reference Type GitHub, Inc.: https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2 Types: Mitigation, Vendor Advisory

New CVE Received from GitHub, Inc. 2/09/2026 4:15:49 PM

Action Type Old Value New Value
Added 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.
Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Added CWE CWE-918
Added Reference https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc
Added Reference https://github.com/lostisland/faraday/releases/tag/v2.14.1
Added Reference https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2

Quick Info

CVE Dictionary Entry:
CVE-2026-25765
NVD Published Date:
02/09/2026
NVD Last Modified:
02/20/2026
Source:
GitHub, Inc.