Shellfeed logo Shellfeed

CVE-2026-126350 · MEDIUM (CVSS 5.9)

Summary: Addressable: Regular Expression Denial of Service in Addressable templates with certain exploded expressions

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 36.9).

Details

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.

Severity

MEDIUM (CVSS 5.9) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • RubyGems addressable [2.3.0 – 2.9.1]
  • GIT github.com/sporkmonger/addressable [768b408ef1e731bb3c9fdf29fbcf23cad5c42d18 – afa66636d9fdcca11e03c85cf166651e0efa68ef]

References

Posts about CVE-2026-126350