CVE-2026-141538
Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host
- Severity
- medium CVSS 4.8 (v3.1)
- Affects
- addressable · sporkmonger
- Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
- Published
- 1 December 2026 by GitHub_M
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable::URI#user=, #password=, #userinfo=, and matching Addressable::URI.new options store userinfo values without rejecting or encoding host-changing delimiters. Values containing /, ?, or # can end userinfo early when Addressable::URI#to_s serializes the URI. An application that validates the URI object but sends the serialized string can disclose headers or request bodies to an attacker-controlled host. This issue is fixed in version 2.10.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.