Skip to main content

Addressable CVE-2026-126351

| EUVDEUVD-2026-124731 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-11-12 security-advisories@github.com GHSA-qq38-m9mg-xjj5
5.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint normalizing untrusted URIs
  2. Delivery
    Craft long path with many nested dot segments
  3. Exploit
    Submit URI triggering quadratic normalize_path
  4. Execution
    Worker thread consumed for seconds
  5. Persist
    Repeat to exhaust worker pool
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Exploitation requires that the target application pass an attacker-controlled URI to one of the normalizing/comparing/joining methods: Addressable::URI#normalize, #normalized_path, #join, #, or #= (all of which call normalize_path). Code paths that only call URI.parse, or that never normalize, compare, or join untrusted URIs, are NOT exploitable. The limiting factor is input length and dot-segment density: cost scales with the square of path length, so a URI-length cap sharply reduces impact (the advisory notes ~8 KB request-line limits common in web servers hold cost to ~150 ms/call, while 34 KB reaches ~3.5s on MRI Ruby 4.0). URIs sourced from places without length limits (request bodies, headers such as Location, stored data) are the realistic risk surface. No authentication is required per PR:N and no user interaction per UI:N; affects all Addressable versions prior to 2.9.1 on every Ruby implementation including MRI 3.2+.

Impact

This is a genuine but moderate-priority availability issue, not a high-severity emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9) scores only availability impact with no confidentiality or integrity loss, matching the CWE-407 algorithmic-complexity (quadratic normalization) root cause described by the GitHub Security Advisory. KEV status is NOT present in the input, so there is no confirmed active exploitation; no EPSS score was supplied, so exploitation probability cannot be quantified from this data. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with a remotely-reachable DoS that is impactful but not credential- or RCE-bearing. The AC:H in the supplied vector is the one signal worth scrutinizing: the advisory shows that a trivially constructed path (e.g. '/' + 'a/'*n + '../'*n) drives the cost, and a 34 KB path takes ~3.5s on MRI Ruby 4.0, so the attacker-side complexity of crafting a payload is actually low - the AC:H rating appears to understate ease of payload construction, though real impact is gated by whether the deploying application normalizes/compares/joins untrusted URIs. Net: treat as a real patch-this-cycle item for Ruby services that process untrusted URIs, but not a drop-everything issue absent KEV/EPSS evidence.

Exploit ScenarioDerived

A Ruby web application or service accepts a URL from untrusted input (request line, body, a Location/redirect header, or stored data) and calls Addressable::URI#normalize, #join, # or #= on it. An attacker submits a long path packed with nested dot segments (e.g. '/a/a/a/.../../..'), forcing quadratic-time normalization that ties up a worker thread for seconds per request; repeating this exhausts the worker pool and denies service. No public, confirmed working exploit code is identified in the input, though the advisory includes an illustrative payload pattern; attack vector is network (AV:N) and no authentication is required (PR:N).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

Quadratic-time path normalization in the Ruby Addressable gem (all versions prior to 2.9.1) lets a crafted URI with many nested dot segments tie up a worker thread, causing denial of service. The flaw lives in Addressable::URI.normalize_path and is inherited by URI#normalize, #normalized_path, #join, # and #=, so applications that normalize, compare or join attacker-controlled URIs are exposed on every Ruby implementation, including MRI 3.2+. Cost grows with the square of path length - roughly 3.5 seconds for a 34 KB path on MRI Ruby 4.0 - so the practical risk is highest where URIs arrive without length limits, such as request bodies, Location headers or stored data; URI.parse alone and code that never normalizes, compares or joins untrusted URIs are unaffected. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor fix is version 2.9.1.

RemediationAI

Upgrade the addressable gem to 2.9.1 (release: https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1; fix commit 25c7c412a2f7e06c3cac92872e831f6d053703c5), which replaces the repeated-scan normalization with a single linear pass. Until the upgrade can be applied, the vendor-documented workarounds are to cap the length of URIs accepted from user input before calling normalize, == or join on them - web servers commonly limit request lines to about 8 KB, which holds per-call cost to roughly 150 ms, but URIs from request bodies, Location headers or stored data may not be length-limited - and to reject paths containing many dot segments before normalizing them. Note that these workarounds reduce but do not eliminate the quadratic cost, and the same 2.9.1 release also fixes related normalization errors (dot segments surviving a '..' above the root, and line feeds treated as segment boundaries), so upgrading is preferred over relying on mitigations.

Affected VersionsENISA

addressable < 2.9.1

Affected Packages

rubygems addressable fix: 2.9.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Addressable::URI is a pure-Ruby alternative to the standard library's URI implementation, and normalize_path implements the remove_dot_segments algorithm from RFC 3986 section 5.2.4. The vulnerable implementation applied a set of regular expressions (RULE_2A, RULE_2B_2C, RULE_2D, RULE_PREFIXED_PARENT) in a loop, rewriting the entire path string on each pass while eliminating only one nested dot segment per iteration, which produces the CWE-407 inefficient-algorithmic-complexity behavior: work grows quadratically with the number of dot segments and total path length. Because the same routine is called by URI#normalize, #normalized_path, #join, # and #=, even an equality comparison against an untrusted URI can trigger the expensive path. The upstream fix (commit 25c7c412) replaces the repeated-regex loop with a single linear pass that splits the path on slashes, walks the segments once with an output stack to resolve '.' and '..' entries, and then strips leading dotted segments; the legacy RULE_* constants are deprecated and slated for removal in 2.10.0. The same release also corrects two related normalization bugs - dot segments retained after a '..' above the root, and raw line feeds treated as segment boundaries. Note that the CVSS vector supplied with the advisory (AC:H) differs from the assessed vector (AC:L); the exploitation prerequisite is that untrusted input actually reaches one of these normalization methods.

Know when Ruby gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Payload is trivially crafted (long dot-segment path) so AC:L; network-reachable and no auth per the advisory (AV:N/PR:N); only availability affected, no C/I impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 23:03 EUVD
CVE Published
Nov 12, 2026 - 22:19 cve.org
MEDIUM 5.9

DescriptionCVE.org

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Prior to 2.9.1, Addressable::URI.normalize_path repeatedly scans and rewrites paths while removing only one nested dot segment per pass, producing quadratic work. URI#normalize, URI#normalized_path, URI#join, URI#, and URI#= inherit the behavior, so processing a sufficiently long attacker-controlled URI can consume a worker thread and cause denial of service on every Ruby implementation. URI.parse alone and code that never normalizes, compares, or joins untrusted URIs are unaffected. This issue is fixed in version 2.9.1.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
High
extremely common Ruby gem, transitive dependency of many web libraries and apps
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ruby

View all
CVE-2017-17405 HIGH POC
8.8 Dec 15

Ruby before 2.4.3 allows Net::FTP command injection. Rated high severity (CVSS 8.8), this vulnerability is remotely expl

CVE-2017-17790 CRITICAL POC
9.8 Dec 20

The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injectio

CVE-2017-14064 CRITICAL POC
9.8 Aug 31

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call

CVE-2016-2336 CRITICAL POC
9.8 Jan 06

Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Rated critical severi

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2026-44266 CRITICAL POC
9.8 Nov 03

Ruby code execution in Elo (npm @enspirit/elo) through 1.0.0 lets an attacker who controls Elo source gain arbitrary Rub

CVE-2016-2337 CRITICAL POC
9.8 Jan 06

Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2016-2339 CRITICAL POC
9.8 Jan 06

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Rub

CVE-2017-9225 CRITICAL POC
9.8 May 24

An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7

CVE-2026-27614 CRITICAL POC
9.3 Feb 25

Stored XSS in Bugsink error tracking tool before 2.0.13 allows unauthenticated attackers to inject persistent scripts th

CVE-2017-0898 CRITICAL POC
9.1 Sep 15

Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) w

CVE-2013-4164 MEDIUM POC
6.8 Nov 23

Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and tru

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy