Addressable URI#origin= takes the host from the userinfo
- CVE-2026-141532
- GHSA-cwmp-x65r-27fv
- EUVD-2026-140696
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.4.0 until 2.10.0, Addressable::URI#origin= parses an assigned origin with a pattern that can take the host from colon-containing userinfo instead of from the authority. An application that validates the same string with Addressable::URI.parse but assigns it with origin= can check one host and use another. This issue is fixed in version 2.10.0.
Text from the CVE.org record.
Recommendation
addressable project addressable
- If you run a version from 2.4.0 to before 2.10.0update to 2.10.0 or laterMinor version change: check the release notes
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
addressable project addressable
Affected versions Fixed in from 2.4.0 to before 2.10.0 2.10.0 addressableRubyGems
Affected versions Fixed in from 2.4.0 up to 2.9.2 none stated
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.