CVE-2026-126350
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 until 2.9.1, URI template expressions using the explode modifier with the slash, dot, semicolon, question-mark, or ampersand operators generate ambiguous regular expressions. When Template#match or Template#extract processes an attacker-controlled URI beginning with the operator's leading character, optional member separators allow catastrophic backtracking and denial of service on MRI Ruby before 3.2 and JRuby. Addressable 2.9.0 incompletely remediated the earlier template issue because its tests did not reach these operator-prefixed paths. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.
Affected products
1- Range: 2.3.0-2.9.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-j82w-28jv-3pmjghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-j82w-28jv-3pmj.ymlghsa
- github.com/sporkmonger/addressable/commit/26d1e9e8409a861571f9d0029022b6e9b9158b5envd
- github.com/sporkmonger/addressable/issues/364nvd
- github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1nvd
- github.com/sporkmonger/addressable/security/advisories/GHSA-j82w-28jv-3pmjnvd
News mentions
0No linked articles in our index yet.