CVE-2026-141532
### Impact `Addressable::URI#origin=` extracts the host from the assigned origin with a pattern that stops at the first `:`. When the assigned value contains userinfo with a colon, the host is taken from the userinfo instead of the authority. `Addressable::URI.parse` reads the same string correctly, so an application that validates with `parse` and assigns with `origin=` (or the reverse) checks one host and uses another. Applications that don't pass untrusted values to `origin=` are unaffected. `origin=` also truncated IPv6 hosts (`[::1]` became `[`) and dropped the port when a path followed. While this is not expected to have security impact, the same change fixes this bug as well. ### Affected Versions `URI#origin=` was introduced in Addressable 2.4.0, and the vulnerability is present in all versions with this method up through 2.9.2. It is fixed in 2.10.0. ### Workarounds - Don't pass untrusted values to `origin=`. Parse them with `Addressable::URI.parse` or `Addressable::URI.heuristic_parse` and assign `scheme`, `host` and `port` individually if needed. - Reject origins that contain an `@` character. ### Credits Reported by Praneeth (@praneeth-bala), UCSB SecLab.
Properties
- Summary
- Addressable URI#origin= takes the host from the userinfo
- Severity
- low
- Nvd fetched at
- 2026-12-02T06:37:54.190518+00:00
- Cvss score
- 3.7
- Cvss severity
- LOW
- Retrieved at
- 2026-12-02T06:39:20+00:00
- Ghsa published
- 2026-12-02T00:28:21Z
- Source url
- https://github.com/advisories/GHSA-cwmp-x65r-27fv
- Ghsa updated
- 2026-12-02T00:28:22Z
- Ghsa id
- GHSA-cwmp-x65r-27fv
- Last source
- GitHub Advisory Database
- Score
- 3.7
- Cvss version
- 3.1
- Cve id
- CVE-2026-141532
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- First seen by Signal
- 2026-12-01T22:36:00+00:00
- Name
- CVE-2026-141532
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Published at
- 2026-12-01T22:18:03.417
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph