CVE-2026-126350
Addressable is an alternative implementation to the URI …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sporkmonger/addressable/commit/26d1e9e8409a861571f9d0029022b6e9b9158b5e
- github.com/sporkmonger/addressable/issues/364
- github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- github.com/sporkmonger/addressable/security/advisories/GHSA-j82w-28jv-3pmj
- github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-j82w-28jv-3pmj.yml
- github.com/advisories/GHSA-j82w-28jv-3pmj
- nvd.nist.gov/vuln/detail/CVE-2026-126350
- cve.org/CVERecord?id=CVE-2026-126350
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.