CVE-2025-61594 Details
Description
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.
A vulnerability exists in the Ruby URI gem, specifically in versions prior to 0.12.5, 0.13.0 through 0.13.2, and 1.0.0 through 1.0.3. This vulnerability bypasses a previous fix for CVE-2025-27221, allowing for the unintentional exposure of user credentials. When the '+' operator is used to merge URIs, sensitive data such as passwords can be leaked from the original URI, in violation of RFC3986. This behavior creates a risk of credential exposure in applications.
Users are advised to upgrade to URI gem versions 0.12.5, 0.13.3, or 1.0.4 and later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-212 | Improper Removal of Sensitive Information Before Storage or Transfer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ruby-lang uri | < 0.12.5 >= 0.13.0, < 0.13.3 >= 1.0.0, < 1.0.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | CVE Modified | [email protected] |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Dec 30, 2025 | New CVE Received | [email protected] |