Read the docs

Denial of service in Addressable URI path normalization

Priority LOW 27CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-407.

Summary

Addressable versions before 2.9.1 are affected in the sporkmonger addressable package and the RubyGems addressable gem. Addressable::URI.normalize_path removes only one nested dot segment per pass, which causes quadratic work (CWE-407). An unauthenticated remote attacker can supply a sufficiently long URI that is normalized, joined or compared, consuming a worker thread and causing denial of service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00407 35th percentileScored 2026-11-16
Fix Fixed addressable (sporkmonger): 2.9.1addressable (RubyGems): 2.9.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sporkmongeraddressablebefore 2.9.12.9.1Patch availableCNA
—addressable (RubyGems)before 2.9.12.9.1Patch availableGHSA-qq38-m9mg-xjj5
  • addressable Vendorsporkmonger Affected before 2.9.1 Fixed in 2.9.1 Patch available CNA
  • addressable (RubyGems) Vendor— Affected before 2.9.1 Fixed in 2.9.1 Patch available GHSA-qq38-m9mg-xjj5

Remediation

Upgrade the sporkmonger addressable package and the RubyGems addressable gem to version 2.9.1.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA addressable (sporkmonger) Fixed in 2.9.1
  • Fix · GHSA-qq38-m9mg-xjj5 addressable (RubyGems) Fixed in 2.9.1 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-126351
  2. 2026-11-12 Alias added: GHSA-qq38-m9mg-xjj5
  3. 2026-11-12 Fix available: RubyGems/[email protected] · GHSA-qq38-m9mg-xjj5
  4. 2026-11-12 CVSS score added · GHSA-qq38-m9mg-xjj5
  5. 2026-11-12 Weakness changed · GHSA-qq38-m9mg-xjj5
  6. 2026-11-12 5 new references · GHSA-qq38-m9mg-xjj5
  7. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2026-91041 Regular expression denial of service in Addressable URI templates CVSS 3.1MEDIUM 5.9
  • TI-2026-91039 Addressable: Denial of Service in exploded template expressions CVSS 3.1MEDIUM 5.9
  • TI-2026-91042 Regular expression denial of service in Addressable template matching CVSS 3.1MEDIUM 5.9
  • TI-2026-91043 Addressable normalizes some dotted path segments to the wrong path CVSS 3.1MEDIUM 4.8
  • TI-2026-91036 Addressable display_uri shows misleading hosts for invalid Punycode A-labels CVSS 3.1MEDIUM 4.3
  • TI-2026-91037 Misleading hostnames in Addressable display_uri from bidi characters CVSS 3.1LOW 3.1

Sources