Skip to main content
VulnerabilityPublished

CVE-2026-141527: Addressable · Regular Expression Denial of Service in templates with literal text between expressions

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141527· Medium 5.9

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

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemsaddressableAffected
  • >=2.3.0 <2.10.0
Fixed in
  • 2.10.0

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

Community reviews

Loading reviews…