Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host
CVE-2026-141538
Impact Addressable::URI#user=, #password=, #userinfo= and the matching Addressable::URI.new options store the value they are given without encoding or rejecting delimiters. A value containing /, ? or # ends the userinfo early when the URI is serialized, so #tos names a different host than #host and #origin report. The URI object keeps the component as assigned, and its own accessors agree with each other: host is the host the application set, and origin is built from it. #tos joins the components with their delimiters but doesn't encode them, so user = "alice@evil.example/" serializes as https://alice@evil.example/@api.example.com/…. Addressable and Ruby's URI both read evil.example as the host of that string. A [ or ] in the userinfo makes the serialized URI fail to parse, a : in the user moves the rest of it into the password, and browsers read a \ as a /, ending the userinfo there. #normalize encodes all of these correctly. An application that puts an untrusted value into the userinfo of a URI for a trusted host, checks host or origin, and then passes tos to an HTTP client sends the request to a host the attacker chose. Headers or a body meant for the trusted service, such as…
Assessment
- CVSS
- 4.8 (v3.1)
- Severity
- Medium
- EPSS
- 0.00383% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 December 2026
- Last updated
- 1 December 2026
- Affected
- sporkmonger · addressable · addressable
- Weakness
- CWE-436, CWE-74
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-141538