Addressable::Template builds its regexp
Affects addressableSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.10.0 when convenient.
Data as of 2 Dec 2026, 00:18 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade addressable to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsaddressable | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version 2.10.0 of Addressable is available and should be applied to resolve this issue. Until upgrading, avoid building templates from untrusted sources or limit their length. Reject templates containing non-ASCII characters or long runs of adjacent expressions, or percent-encode non-ASCII characters before template construction. Avoid calling methods that trigger regexp building (#match, #extract, #variables, #freeze) on untrusted templates. The regexp is cached per template, so repeated calls without rebuilding reduce impact. No other actions are required.
Description
Addressable::Template versions 2.9.1 through before 2.10.0 have a performance issue where building a regular expression from patterns containing non-ASCII characters or many adjacent expressions takes quadratic time relative to the pattern length. This can cause significant delays when processing large or complex templates. The issue affects applications that build templates from untrusted input, as the cost is in building the regexp, not matching URIs. The vulnerability is fixed in version 2.10.0.
References
- github.com/sporkmonger/addressable/security/advisories/GHSA-h78h-gj97-g737 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141529 (opens in a new tab)
- github.com/sporkmonger/addressable/commit/ebe911f8623bcc664d2e6df079c96c325ad181c8 (opens in a new tab)
- github.com/sporkmonger/addressable (opens in a new tab)
- github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0 (opens in a new tab)