CVE-2026-141527: Addressable · Regular Expression Denial of Service in templates with literal text between expressions
Affects asciidoctorSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.0.19 when convenient.
Data as of 3 Dec 2026, 01:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 2.0.19, 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 2 Dec 2026.
What to do
Upgrade asciidoctor to 2.0.19; addressable to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewasciidoctorpkg:brew/asciidoctorOther threats | Affected
| Fixed in
|
RubyGemsaddressablepkg:gem/addressableOther threats | 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 Ruby to MRI Ruby 3.3 or later mitigates the issue on MRI Ruby runtimes. For JRuby users or those unable to upgrade immediately, limiting the length of user-supplied URIs before matching and applying short timeouts (e.g., using Timeout.timeout) around Template#match or Template#extract calls can reduce risk. Note that timeouts may interrupt matching arbitrarily and may not be safe in all applications.
Description
Addressable versions from 2.3.0 (excluding yanked 2.3.0 and 2.3.1) through 2.9.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability in URI template matching when templates have literal text between expressions. This vulnerability causes excessive backtracking in regular expression matching, leading to high CPU consumption and denial of service when processing crafted URIs. The issue is fixed in version 2.10.0, although some slow matching cases remain on certain Ruby runtimes. MRI Ruby 3.2+ and TruffleRuby 40.0 are not affected. Workarounds include upgrading Ruby to 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)