Skip to main content
CVE-2026-141526VulnerabilityPublished

Addressable: Regular Expression Denial of Service

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141526· 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 runtime level. If upgrading is not immediately possible, avoid matching user-supplied input against vulnerable template patterns, limit the length of input URIs before matching, and consider applying a timeout around calls to Template#match or Template#extract to prevent long processing times. Note that timeouts may interrupt processing unsafely in some applications.

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 involving exploded variables adjacent to other variables. This flaw causes excessive backtracking in the regular expressions generated, leading to high CPU usage and denial of service when processing maliciously crafted URIs. The issue is fixed in version 2.10.0, although some polynomial-time matching cases remain on certain Ruby runtimes prior to MRI Ruby 3.3. Users of only URI parsing or template expansion are not affected. The vulnerability is exploitable on MRI Ruby versions before 3.2 and JRuby due to their regex engines' backtracking behavior. Mitigations include upgrading to Addressable 2.10.0 or MRI Ruby 3.3+, limiting input length, avoiding matching untrusted input on vulnerable templates, or applying timeouts around matching calls.

References

Community reviews

Loading reviews…