{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25765","id":"CVE-2026-25765","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 UR","descriptionLong":"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-09T20:30:58.774Z","updated":"2026-10-28T02:30:25.297097619Z","reserved":"2026-02-05T18:35:52.358Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["lostisland faraday"],"affectedProducts":[{"vendor":"lostisland","product":"faraday","defaultStatus":null,"versions":[{"version":"< 2.14.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"faraday","purl":"pkg:gem/faraday","ranges":[">=2.0.0 <2.14.1",">=1.0.0 <1.10.5"],"fixed":["2.14.1","1.10.5"],"advisory":"GHSA-33mh-2634-fwr2"}],"cwes":["CWE-918"],"aliases":["GHSA-33mh-2634-fwr2"],"references":[{"url":"https://github.com/lostisland/faraday/security/advisories/GHSA-33mh-2634-fwr2","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/lostisland/faraday/commit/a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/lostisland/faraday/releases/tag/v2.14.1","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25765.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25765","tags":["advisory"]},{"url":"https://github.com/lostisland/faraday/pull/1569","tags":["web"]},{"url":"https://github.com/lostisland/faraday","tags":["package"]},{"url":"https://github.com/lostisland/faraday/releases/tag/v1.10.5","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faraday/CVE-2026-25765.yml","tags":["web"]},{"url":"https://www.rfc-editor.org/rfc/rfc3986#section-5.2.2","tags":["web"]},{"url":"https://www.rfc-editor.org/rfc/rfc3986#section-5.4","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00393,"epssPercentile":0.34227,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25765","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25765","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25765","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-33mh-2634-fwr2","ok":true,"note":"GHSA-33mh-2634-fwr2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-25765","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}