# CVE-2025-61594: URI Credential Leakage Bypass over CVE-2025-27221

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-30 · Modified: 2026-04-16
- Aliases: ALPINE-CVE-2025-61594, UBUNTU-CVE-2025-61594, USN-8137-1, DEBIAN-CVE-2025-61594, CGA-89gj-vjrg-qqj2, CGA-9wxc-f4hh-7q39, CGA-g8p3-mmch-fch7, CGA-gwhx-f97m-3p6c, CGA-mj49-4xh2-5v3x, CGA-rfjj-pjxv-63fw, CGA-vx36-48jj-9h28, CGA-wpqw-hfg7-h923, openSUSE-SU-2025:15614-1, openSUSE-SU-2026:11204-1, CGA-222h-jh57-xjh5, CGA-2g7x-p9h6-4c67, CGA-2m3c-88rh-x998, CGA-2mp5-9rxq-j73v, CGA-2qj6-m863-7965, CGA-33g7-6cx7-w9gx, CGA-35m8-q9vr-3wx9, CGA-36r5-65rq-2ggm, CGA-3j52-c78w-x6hj, CGA-3pf7-hv4p-m7wx, CGA-446r-9656-7w92, CGA-447v-f5x2-7r6g, CGA-488j-7gw6-ghv4, CGA-55wc-g47m-5qh7, CGA-5wrq-7xqm-rx76, CGA-656f-2jpw-x7q4, CGA-66jj-v46j-72j4, CGA-79mg-5jgx-4c6w, CGA-79pp-v6qc-cf7p, CGA-7jvq-v3gv-h3jh, CGA-872m-rvjv-cfpg, CGA-87qw-3r44-46qw, CGA-88mq-g29x-w2pp, CGA-89g4-85w4-9wmx, CGA-8cw4-7pxr-8rjv, CGA-8g2w-px53-3pgx, CGA-8wfv-83p8-gvr5, CGA-9799-f4rc-m7pf, CGA-98rm-4vhx-3vw2, CGA-9cxw-58rg-pprq, CGA-9mqf-ph63-34cj, CGA-9r4q-5wmm-pc56, CGA-9v9c-rcw5-pmrj, CGA-c5pj-vhrp-h894, CGA-c5qr-7w3r-vqjf, CGA-fjph-33rr-p47j, CGA-fvvp-xqj3-6v4p, CGA-fwc8-rqhv-ccfw, CGA-fxp5-cwj8-739h, CGA-g46g-jm8r-jpj3, CGA-g562-3v4p-cv4c, CGA-g5jp-gx9c-2527, CGA-g87f-2vv5-h99j, CGA-gw7j-m6w3-942f, CGA-hg3j-847r-m2vm, CGA-hphc-4jhj-45hr, CGA-hqxq-9m99-jqhx, CGA-j58h-jhc2-8p9v, CGA-jjfp-gxp8-69gr, CGA-jr25-59fw-v6h9, CGA-jvqc-22pv-mx9m, CGA-m48g-xqmm-pp8r, CGA-mc25-hf25-cv4j, CGA-mrc5-839c-w46m, CGA-mwh5-v3c5-h24h, CGA-pcpc-hrm5-px5x, CGA-pfgp-q5cr-6w45, CGA-pg32-7hcr-6hrp, CGA-pm7c-8xjh-qwfv, GHSA-j4pr-3wm6-xx2r, CGA-pw9f-rmcq-9pqq, CGA-q37r-qrcw-92fh, CGA-q6pw-xjjx-9x89, CGA-q725-wfwp-46rv, CGA-r4wv-rf6v-63wg, CGA-r63j-jph4-qv86, CGA-rfq9-49q8-vv8w, CGA-rjj6-9rg4-g9v2, CGA-rr6q-c7qv-4cr2, CGA-rwvq-3pjf-44p5, CGA-vcgm-3rm6-8pwq, CGA-vg7m-58g3-7x8c, CGA-vj7w-93r4-9grw, CGA-vq68-8m8c-m99r, CGA-w2f7-ffvh-vr88, CGA-w4hm-74mp-mvj2, CGA-wjhx-jhv2-xh43, CGA-wmh8-p79w-rf46, CGA-wx2q-865j-hpw5, CGA-x23h-f6q5-vw82, CGA-xjgq-9jvx-j47p, CGA-xm56-mvcq-jmww, CGA-xpf2-xmq5-w4mx, CGA-xwq9-7mq9-rqvm
- Record: https://cvemate.com/vulnerability/CVE-2025-61594 · JSON: https://cvemate.com/vulnerability/CVE-2025-61594/json

## Description

```text
URI is a module providing classes to handle Uniform Resource Identifiers. In versions 0.12.4 and earlier (bundled in Ruby 3.2 series) 0.13.2 and earlier (bundled in Ruby 3.3 series), 1.0.3 and earlier (bundled in Ruby 3.4 series), when using the + operator to combine URIs, sensitive information like passwords from the original URI can be leaked, violating RFC3986 and making applications vulnerable to credential exposure. This is a a bypass for the fix to CVE-2025-27221 that can expose user credentials. This issue has been fixed in versions 0.12.5, 0.13.3 and 1.0.4.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.6%, percentile 50.166%, 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 54)

- alpine ruby (Alpine Linux): \< 3.3.10-r0 \| \< 3.4.7-r0
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- 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-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard graalvm-24-truffleruby (Chainguard): All versions (No fix recorded)
- chainguard jruby-9.4 (Chainguard): \< 9.4.15.0-r4
- chainguard logstash-8.17 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ruby/uri/security/advisories/GHSA-j4pr-3wm6-xx2r>
- <https://hackerone.com/reports/2957667>
- <https://github.com/advisories/GHSA-22h5-pq3x-2gf2>
- <https://www.ruby-lang.org/en/news/2025/02/26/security-advisories>
- <https://security.alpinelinux.org/vuln/CVE-2025-61594>
- <https://ubuntu.com/security/CVE-2025-61594>
- <https://www.cve.org/CVERecord?id=CVE-2025-61594>
- <https://www.ruby-lang.org/en/news/2025/10/07/uri-cve-2025-61594/>
- <https://github.com/ruby/uri/commit/20157e3e29b125ff41f1d9662e2e3b1d066f5902>
- <https://github.com/ruby/uri/commit/7e521b2da0833d964aab43019e735aea674e1c2c>
- <https://github.com/ruby/uri/commit/d3116ca66a3b1c97dc7577f9d2d6e353f391cd6a>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uri/CVE-2025-61594.yml>
- <https://ubuntu.com/security/notices/USN-8137-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-61594>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61594.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61594>
- <https://www.suse.com/security/cve/CVE-2025-61594>
- <https://github.com/ruby/uri>
- <https://www.ruby-lang.org/en/news/2025/10/07/uri-cve-2025-61594>

---

Data as of 2026-12-05T03:51:50.416Z. 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
