Loading...
Skip to main content

CVE-2025-61594 — Vulnerability in uri — CVE Details

LOW

URI Credential Leakage Bypass over CVE-2025-27221

Published December 30, 2025Updated September 10, 2026Source: osv

Summary

### Impact In affected URI version, a bypass exists for the fix to CVE-2025-27221 that can expose user credentials. 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. The vulnerability affects the `uri` gem bundled with the following Ruby series: * 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) ### Patches Upgrade to 0.12.5, 0.13.3 or 1.0.4 ### References * https://www.ruby-lang.org/en/news/2025/02/26/security-advisories/ * https://hackerone.com/reports/2957667

Advisory Timeline

  • First published December 30, 2025 (286 days ago).
  • Last revised September 10, 2026 — 253 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update uri to 1.0.4 or later
gem install uri -v 1.0.4
Bundler
Update uri to 0.12.5 or later
gem install uri -v 0.12.5
Bundler
Update uri to 0.13.3 or later
gem install uri -v 0.13.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
uri
rubygems
1.0.0, 1.0.1, 1.0.2, 1.0.31.0.4
uri
rubygems
0.10.0, 0.10.0.1, 0.10.0.2, 0.10.0.3 (+12 more)0.12.5
uri
rubygems
0.13.0, 0.13.1, 0.13.20.13.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2025-61594?
URI Credential Leakage Bypass over CVE-2025-27221 This vulnerability has been assigned a severity rating of LOW (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2025-61594?
CVE-2025-61594 affects uri. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61594 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-j4pr-3wm6-xx2r

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies