CVE-2026-141532 — Addressable — CWE-436
### 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.
### 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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141532
CVSS 3.7/10 · LOW · 01.12.2026
CWE: CWE-436
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### 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) check…
Affected: addressable
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L).
🛡️ REMEDIATION
→ Apply vendor security update for addressable.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📌 Low priority — routine update sufficient.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]