CVE-2025-61594
Published:December 30, 2025
Updated:April 26, 2026
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.
Affected Packages
https://github.com/ruby/uri.git (GITHUB):
Affected version(s) >=v0.13.0 <v0.13.3Fix Suggestion:
Update to version v0.13.3https://github.com/ruby/uri.git (GITHUB):
Affected version(s) >=v0.12.0 <v0.12.5Fix Suggestion:
Update to version v0.12.5https://github.com/ruby/uri.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.0.4Fix Suggestion:
Update to version v1.0.4uri (RUBY):
Affected version(s) >=0.10.0 <0.12.5Fix Suggestion:
Update to version 0.12.5uri (RUBY):
Affected version(s) >=0.13.0 <0.13.3Fix Suggestion:
Update to version 0.13.3uri (RUBY):
Affected version(s) >=1.0.0 <1.0.4Fix Suggestion:
Update to version 1.0.4Related ResourcesĀ (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.1
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
4.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.01