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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-436",
"CWE-74"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141538.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "651722f370f679ce4cdf64ed1d2c9527d5e6958b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "addressable-2.10.0",
"range": [
{
"fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
}
],
"source": "REFERENCES_TAG"
}
]
}