Security mailing lists by PureSourceCode

CVE-2026-25765

MEDIUM 5.8CVSS 3.1

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
9 Feb 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-918
Also known as
GHSA-33mh-2634-fwr2
Sources
NVDJSONOSV GHSA-33mh-2634-fwr2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD faraday_project faraday
cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.10.5 1.10.5
NVD faraday_project faraday
cpe:2.3:a:faraday_project:faraday:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.14.1 2.14.1
OSV RubyGems faraday >= 2.0.0, < 2.14.1 2.14.1
OSV RubyGems faraday >= 1.0.0, < 1.10.5 1.10.5

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.