# CVE-2026-25765: Faraday affected by SSRF via protocol-relative URL host override in build\_exclusive\_url

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-09 · Modified: 2026-02-10
- Aliases: UBUNTU-CVE-2026-25765, DEBIAN-CVE-2026-25765, CGA-35w8-7fm2-8j29, CGA-3f5r-76jg-cv2v, CGA-3hc5-5x85-phrr, CGA-55qc-9xjp-79jh, CGA-7w22-vvrm-ghpp, CGA-8r7r-6c9q-v9jf, CGA-96fv-25c8-v4c2, CGA-97x4-qmqp-457g, CGA-99x8-mgh2-c4c4, CGA-fhfr-g656-4f4p, CGA-gfpg-m58j-w337, CGA-hqff-4hwx-wvwr, CGA-hrvw-hrhx-685g, CGA-v36x-vqqm-fg86, CGA-2rv7-jx86-8j6v, CGA-2wwh-h5xh-9jrr, CGA-33cx-r922-528m, CGA-34c7-qhmw-43qc, CGA-3hf8-6frg-39qf, CGA-3rj6-3vq5-9g47, CGA-43w4-hxf4-ch66, CGA-479j-2mx7-3599, CGA-4q3x-2457-ggm5, CGA-552m-h7cr-3w66, CGA-58gg-qjvf-33mj, CGA-5h32-q2vh-58m5, CGA-5hx4-x29p-29p2, CGA-5mmr-xmpc-rfx6, CGA-5mw9-qx39-x6mq, CGA-5p6r-3mfg-jhjj, CGA-628p-mcvw-wp3p, CGA-6425-7cw5-85cj, CGA-6c56-mmfw-cmr6, CGA-6h8v-8x8j-j94g, CGA-6hwm-5p38-6743, CGA-7wcm-8f6x-vfvf, CGA-7xxf-rhfq-pcxp, CGA-836c-2v69-5j4p, CGA-849q-xcqx-64v3, CGA-8876-pwr4-r3pv, CGA-8mfq-4x55-7w6m, CGA-949p-vmvg-m4vj, CGA-9m32-g8hc-9w7f, CGA-9q3p-pmx8-8mjp, CGA-9v66-v58c-5c4v, CGA-9xx2-chc9-jg22, CGA-c5w4-6752-vxj8, CGA-c68c-5554-mj29, CGA-c6qr-4xrf-xpf4, CGA-c8wv-5g4v-6jvv, CGA-c93h-jw2j-59fc, CGA-cj9m-x625-gvf3, CGA-f9vr-q65p-35wf, CGA-ffr6-7g8f-73fj, CGA-fpqg-qqqq-fr4w, CGA-fw74-q3v3-688w, CGA-g529-5vr5-g3qf, CGA-g7ff-gg5m-gg7p, CGA-gm47-hm5f-vrfq, CGA-gx89-5p95-77gh, CGA-h87g-vhc5-72q5, CGA-hfq2-ff42-p5v5, CGA-hg8j-6h4v-q4v6, CGA-hwp4-v9qx-9jgv, CGA-j43f-wxf7-c2x2, CGA-j7c6-q627-6h92, CGA-j7r5-7vww-5fpc, CGA-jm6p-c25m-9mhr, CGA-jp82-p4m4-cgcq, CGA-jq7r-2mr7-pjpw, CGA-jvvc-c96h-5hvm, CGA-m733-jwv6-vg83, CGA-m955-4hmr-x7vg, CGA-m9fx-c3gp-v979, CGA-mc9p-j586-g5f2, CGA-mqq6-fmfv-h59h, CGA-mqrg-5m8f-mcjq, CGA-p5f5-78rx-8495, CGA-pc87-c97w-fjxm, CGA-pf93-phrx-v745, CGA-pgvq-f9vx-rm55, CGA-pj4g-mpcj-rhr3, CGA-pj5j-5383-cgxr, CGA-ppjp-r3gr-5rp4, GHSA-33mh-2634-fwr2, CGA-pwpx-3jx3-5m99, CGA-q2fr-4qwc-7vff, CGA-q548-ppmv-wmfq, CGA-q5gr-v6xm-rr6p, CGA-q83h-pg3x-9fhv, CGA-qf6x-xpg5-r2v5, CGA-qm6r-gp4p-9vr6, CGA-r2qf-77fp-9hr8, CGA-r3gh-hvrg-32w7, CGA-r8r3-hrwr-5wwf, CGA-rcx7-7hj5-9pmq, CGA-rfx3-rvxw-pxg5, CGA-rgv2-fwgw-6rw4, CGA-rvm6-78fg-x758, CGA-v3jp-p76q-xjf7, CGA-v7g3-mv2x-6r4x, CGA-v7wq-x7pq-8pww, CGA-vqhm-fqmg-2xrj, CGA-vv46-6wgc-qcww, CGA-w669-6356-4529, CGA-w7gp-rrq5-fj2j, CGA-wm3f-m248-27pg, CGA-wr9q-28g8-2vcj, CGA-x6j9-3v4p-4x45, CGA-x837-r848-rq8w, CGA-xqxq-fqhp-fjrx
- Record: https://cvemate.com/vulnerability/CVE-2026-25765 · JSON: https://cvemate.com/vulnerability/CVE-2026-25765/json

## Description

```text
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.
```

## Signals

- CVSS: 5.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- EPSS: 0.39%, percentile 35.227%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 65)

- chainguard cinc-auditor (Chainguard): \< 7.0.95-r6
- chainguard gitlab-cng-18.9 (Chainguard): \< 18.9.1-r0
- chainguard gitlab-exporter-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-exporter-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-exporter-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-exporter-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-exporter-18.9 (Chainguard): \< 18.9.5-r0
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.5-r2
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2026-25765>
- <https://www.cve.org/CVERecord?id=CVE-2026-25765>
- <https://security-tracker.debian.org/tracker/CVE-2026-25765>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25765.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25765>
- <https://github.com/lostisland/faraday/pull/1569>
- <https://github.com/lostisland/faraday>
- <https://github.com/lostisland/faraday/releases/tag/v1.10.5>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faraday/CVE-2026-25765.yml>
- <https://www.rfc-editor.org/rfc/rfc3986#section-5.2.2>
- <https://www.rfc-editor.org/rfc/rfc3986#section-5.4>

---

Data as of 2026-12-05T08:38:50.506Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
