CVE-2026-126352: Addressable Regular Expression DoS
Published 2026-11-12 · Updated 2026-11-13 · Source security-advisories@github.com
Not known to be exploited · medium severity — update Addressable to a fixed release (2.9.1, 3.2) on your normal schedule.
What to do
- Update Addressable to a fixed release: 2.9.1 or 3.2 (whichever matches your release branch).
- Until it is patched, do not leave Addressable reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Limit input length and apply request timeouts in front of the affected service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Addressable | Releases before the fixed versions | 2.9.1 or 3.2 (whichever matches your release branch) |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Regular Expression DoS
Crafted input makes a regular expression take excessive time, tying up the service.
Classified as CWE-1333.
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 until 2.9.1, URI templates with several variables in one expression or several adjacent expressions generate ambiguous regular expressions. Affected forms include multi-variable expressions using operators other than plus and number sign, large plus or number-sign expressions, and adjacent single-variable expressions. Template#match or Template#extract can backtrack polynomially or exponentially on attacker-controlled URIs, causing denial of service on MRI Ruby before 3.2 and JRuby, with the large plus and number-sign form also affecting MRI Ruby 3.2 and TruffleRuby 40.0. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.
Advisory text as published in the NVD record.