CVE-2026-141527: Addressable · Regular Expression Denial of Service in templates with literal text between expressions
Affects addressableSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.10.0 when convenient.
Data as of 2 Dec 2026, 00:19 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- 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:HExploitation 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 fix is available in Addressable version 2.10.0. Users should upgrade to this version to resolve the vulnerability. Additionally, upgrading to MRI Ruby 3.3 or later mitigates the issue on the Ruby runtime side. If upgrading is not immediately possible, limiting the length of user-supplied URIs before matching can reduce risk, though it only bounds the problem. Applying a timeout (e.g., Ruby's Timeout.timeout) around calls to Template#match or Template#extract can interrupt excessive processing but may not be safe in all applications. Users who do not use URI template matching or only use Template#expand are not affected and require no action.
Description
Addressable versions from 2.3.0 up to but not including 2.10.0 contain a Regular Expression Denial of Service (ReDoS) vulnerability in URI template matching when literal text appears between expressions. This vulnerability causes excessive backtracking in regular expressions, leading to high CPU usage and denial of service when processing crafted URIs. The issue affects Ruby implementations with backtracking regex engines such as MRI Ruby versions before 3.2 and JRuby. The vulnerability is fixed in Addressable 2.10.0, though some slow matching cases remain on older Ruby versions. Mitigations include upgrading to Addressable 2.10.0 or MRI Ruby 3.3+, limiting URI length, or applying timeouts around matching calls.
References
- github.com/sporkmonger/addressable/security/advisories/GHSA-grhv-8jgq-r74x (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141527 (opens in a new tab)
- github.com/sporkmonger/addressable/commit/576662e4791df3cfd17c944041a98f516d3c0734 (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)