CVE-2026-126352
Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables
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.
Fixes and workarounds
Fix
addressable (RubyGems): OSV reports a fixed version 2.9.1. Check the advisory for supported release branches.
Source: OSV GHSA-9f42-57jx-vpp3Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| addressable sporkmonger |
>= 2.3.0, < 2.9.1 (affected) | CNA: GitHub_M |
addressableaddressable
RubyGems |
2.3.2 (affected, RubyGems) 2.3.3 (affected, RubyGems) 2.3.4 (affected, RubyGems) 2.3.5 (affected, RubyGems) 2.3.6 (affected, RubyGems) 2.3.7 (affected, RubyGems) 2.3.8 (affected, RubyGems) 2.4.0 (affected, RubyGems) 2.5.0 (affected, RubyGems) 2.5.1 (affected, RubyGems) 2.5.2 (affected, RubyGems) 2.6.0 (affected, RubyGems) 2.7.0 (affected, RubyGems) 2.8.0 (affected, RubyGems) 2.8.1 (affected, RubyGems) 2.8.10 (affected, RubyGems) 2.8.2 (affected, RubyGems) 2.8.3 (affected, RubyGems) 2.8.4 (affected, RubyGems) 2.8.5 (affected, RubyGems) 2.8.6 (affected, RubyGems) 2.8.7 (affected, RubyGems) 2.8.8 (affected, RubyGems) 2.8.9 (affected, RubyGems) 2.9.0 (affected, RubyGems) Ecosystem version events: introduced 2.3.0; fixed 2.9.1 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-9f42-57jx-vpp3 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.9 medium |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA: GitHub_M |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-9f42-57jx-vpp3CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/sporkmonger/addressable/commit/f2b27b3ab252e56b3fa3519f7ebb491d54cf7b7cCNA: GitHub_M · x_refsource_MISC
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1CNA: GitHub_M · x_refsource_MISC
- https://github.com/advisories/GHSA-9f42-57jx-vpp3OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-9f42-57jx-vpp3OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.