Live threats

All CVEs / Ruby-lang

CVE-2025-61594Ruby-lang Uri

Low 2.1

Priority
13
CVSS 4.0
2.1
EPSS
—
Auth required
Yes
Published
Dec 30, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-212
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Uri.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems uri < 0.12.5 0.12.5 gem "uri", ">= 0.12.5"
RubyGems uri ≥ 0.13.0 < 0.13.3 0.13.3 gem "uri", ">= 0.13.3"
RubyGems uri ≥ 1.0.0 < 1.0.4 1.0.4 gem "uri", ">= 1.0.4"

Per OSV / GitHub Advisories (GHSA-j4pr-3wm6-xx2r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-languri< 0.12.5
ruby-languri≥ 0.13.0 < 0.13.3
ruby-languri≥ 1.0.0 < 1.0.4

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.