CVE catalog

CVE-2026-25765

ruby-faraday: CVE-2026-25765

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-faradaysid2.15.0-1fixed
Debianruby-faradayforky2.15.0-1fixed
Debianruby-faradaytrixie2.12.2-1vulnerable
Debianruby-faradaybookworm1.1.0-7vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-faradaysourcesid2.14.1-1not yet assignedNot reportedNot reported
Debianruby-faradaysourceforky2.14.1-1not yet assignedNot reportedNot reported
Debianruby-faradaysourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianruby-faradaysourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] ruby-faraday: Minor issue [bookworm] ruby-faraday: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-faraday]Affected
    Details (2)
    • 1.1.0-7 · all · bookworm

      Affected

      dsa · ruby-faraday · debian · bookworm; dsa · ruby-faraday · debian · 12

    • 1.1.0-7 · all · bookworm

      Affected

      dsa · ruby-faraday · debian · bookworm; dsa · ruby-faraday · debian · 12

[Debian 13 (Trixie)]

  • [ruby-faraday]Affected
    Details (2)
    • 2.12.2-1 · all · trixie

      Affected

      dsa · ruby-faraday · debian · 13

    • 2.12.2-1 · all · trixie

      Affected

      dsa · ruby-faraday · debian · 13

Observed:

References