CVE-2026-141536 — Addressable — CWE-93 · CWE-113
### Impact `Addressable::URI#request_uri` returns the path and query as stored, including carriage returns, line feeds, other control characters and spaces. `#request_uri` was designed to be written into an HTTP request line, so a client that does that with a URI built from untrusted input could have the request line ended early and extra headers, or a second request, added after it. The HTTP protocol interprets text after the line break as headers, which can add or override headers such as `Host` or `Authorization`, or, with keep-alive, could potentially start a second request on the same connection. What that might achieve depends on the client and the server it talks to. `Addressable::URI.parse` and the `path=` and `query=` setters accept control characters, and `#request_uri` joins the path and query without encoding them. RFC 9112 §3 doesn't allow CR, LF or space in a request target, and RFC 3986 doesn't allow them in a URI. `#normalize` already percent-encodes them, so code that calls `uri.normalize.request_uri` would not be affected by this vulnerability, but `uri.request_uri` alone would. Common clients don't pass the characters through. `Net::HTTP` raises `ArgumentError: A Request-Line must not contain CR or LF`. The `http` gem 5.x percent-encodes them in its own URI normalizer before calling `#request_uri`, and 6.x no longer calls `#request_uri`. Vulnerable code would need to use some other client implementation that writes `#request_uri` directly into the HTTP
### Impact `Addressable::URI#request_uri` returns the path and query as stored, including carriage returns, line feeds, other control characters and spaces. `#request_uri` was designed to be written into an HTTP request line, so a client that does that with a URI built from untrusted input could have the request line ended early and extra headers, or a second request, added after it. The HTTP protocol interprets text after the line break as headers, which can add or override headers such as `Host` or `Authorization`, or, with keep-alive, could potentially start a second request on the same connection. What that might achieve depends on the client and the server it talks to. `Addressable::URI.parse` and the `path=` and `query=` setters accept control characters, and `#request_uri` joins the path and query without encoding them. RFC 9112 §3 doesn't allow CR, LF or space in a request target, and RFC 3986 doesn't allow them in a URI. `#normalize` already percent-encodes them, so code that calls `uri.normalize.request_uri` would not be affected by this vulnerability, but `uri.request_uri` alone would. Common clients don't pass the characters through. `Net::HTTP` raises `ArgumentError: A Request-Line must not contain CR or LF`. The `http` gem 5.x percent-encodes them in its own URI normalizer before calling `#request_uri`, and 6.x no longer calls `#request_uri`. Vulnerable code would need to use some other client implementation that writes `#request_uri` directly into the HTTP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141536
CVSS 3.7/10 · LOW · 01.12.2026
CWE: CWE-93, CWE-113
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#request_uri returns the path and query as stored, including carriage returns, line feeds, other control characters and spaces. #request_uri was designed to be written into an HTTP request line, so a client that does that with a URI built from untrusted input could have the request line ended early and extra headers, or a second request, added after it. The HTTP …
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]