Addressable URI#request_uri returns control characters unencoded with possible HTTP request splitting
- CVE-2026-141536
- GHSA-qg8x-qm93-fw27
- EUVD-2026-140760
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.1.2 until 2.10.0, Addressable::URI#request_uri returns stored control characters and spaces without encoding them. An HTTP client that writes this value directly into an HTTP request line can allow an untrusted URI to terminate the line early and inject headers. With keep-alive, and depending on client and server behavior, the injected text could potentially begin an additional request on the same connection. This issue is fixed in version 2.10.0.
Text from the CVE.org record.
Recommendation
addressable project addressable
- If you run a version from 2.1.2 to before 2.10.0update to 2.10.0 or laterMinor version change: check the release notes
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
addressable project addressable
Affected versions Fixed in from 2.1.2 to before 2.10.0 2.10.0 addressableRubyGems
Affected versions Fixed in from 2.1.2 up to 2.9.2 none stated
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.