{"id":"CVE-2026-25765","state":"PUBLISHED","title":"Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url","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.","publishedAt":"2026-02-09T20:30:58.774Z","updatedAt":"2026-02-10T15:59:26.645Z","severity":{"score":5.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["lostisland faraday"],"affected":[{"vendor":"lostisland","product":"faraday","versions":[{"version":"< 2.14.1","status":"affected"}]}],"references":["https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2","https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc","https://github.com/lostisland/faraday/releases/tag/v2.14.1"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25765.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25765","state":"PUBLISHED","datePublished":"2026-02-09T20:30:58.774Z","dateUpdated":"2026-02-10T15:59:26.645Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-05T18:35:52.358Z"},"containers":{"cna":{"title":"Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url","descriptions":[{"lang":"en","value":"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":[{"vendor":"lostisland","product":"faraday","versions":[{"version":"< 2.14.1","status":"affected"}]}],"references":[{"url":"https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2","name":"https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc","name":"https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc","tags":["x_refsource_MISC"]},{"url":"https://github.com/lostisland/faraday/releases/tag/v2.14.1","name":"https://github.com/lostisland/faraday/releases/tag/v2.14.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-09T20:30:58.774Z"},"source":{"advisory":"GHSA-33mh-2634-fwr2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:39:44.597673Z","id":"CVE-2026-25765","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T15:59:26.645Z"}}]}}}