CVE-2026-126350
Regular Expression Denial of Service in Addressable templates with certain exploded expressions
Overview
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 template expressions using the explode modifier with the slash, dot, semicolon, question-mark, or ampersand operators generate ambiguous regular expressions. When Template#match or Template#extract processes an attacker-controlled URI beginning with the operator's leading character, optional member separators allow catastrophic backtracking and denial of service on MRI Ruby before 3.2 and JRuby. Addressable 2.9.0 incompletely remediated the earlier template issue because its tests did not reach these operator-prefixed paths. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | addressable | >=2.3.0, <2.9.1 | 2.9.1 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| pghero +1 | 3.8.0-r15 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-8-19 | 8.19.25-r2 | |
| logstash-9-3 | 9.3.8-r4 |
4 more rows
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-9-3 | 9.3.8-r4 | |
| logstash-9-4 | 9.4.9-r3 |
References
- github.com https://github.com/advisories/GHSA-h27x-rffw-24p4
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-j82w-28jv-3pmj.yml
- github.com https://github.com/sporkmonger/addressable
- github.com https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.9.1
- github.com https://github.com/sporkmonger/addressable/commit/26d1e9e8409a861571f9d0029022b6e9b9158b5e
- github.com https://github.com/sporkmonger/addressable/compare/addressable-2.9.0...addressable-2.9.1
- github.com https://github.com/sporkmonger/addressable/issues/364
- github.com https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- github.com https://github.com/sporkmonger/addressable/security/advisories/GHSA-j82w-28jv-3pmj
- rubygems.org https://rubygems.org/gems/addressable/versions/2.9.1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.