Skip to main content
VulnerabilityPublished

CVE-2026-141528: Addressable · Regular Expression Denial of Service in templates with several variables

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141528· 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:18 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

Upgrade Addressable to version 2.10.0 or later, which fixes the majority of the vulnerability. For applications running on MRI Ruby versions below 3.3, JRuby, or TruffleRuby, consider upgrading MRI Ruby to 3.3 or later if possible. Avoid using vulnerable template patterns involving multiple variables in one expression followed by commas or other expressions, repeated variable names, or adjacent expressions without literals. Limit the length of user-supplied URIs before matching to reduce resource consumption. On MRI Ruby and JRuby, apply short timeouts around Template#match or Template#extract calls processing untrusted input. On MRI Ruby 3.2, enable Regexp.timeout to raise exceptions on slow matches. Note that timeouts may not be effective or safe in all environments, especially on TruffleRuby.

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 templates have several variables in certain patterns. This can cause excessive backtracking in the regular expressions generated, leading to high CPU usage and denial of service when processing maliciously crafted URIs. The vulnerability is fixed in version 2.10.0, though some complex template cases may still cause polynomial-time matching on certain Ruby runtimes prior to MRI Ruby 3.3. Users who only use URI parsing or template expansion are not affected.

References

Community reviews

Loading reviews…