NetSight
medium4.8

CVE-2026-126354

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library.

Impact

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.2.5 until 2.9.1, Addressable::URI.normalize_path can resolve a path containing leading parent segments and later parent segments to a different path than an RFC 3986 resolver. URI#normalize, URI#join, URI#==, and URI#=== inherit the result. An application that authorizes the Addressable-normalized path but sends the original URI to another resolver can allow access outside the intended path allowlist. Applications that use the same normalized value for authorization and the request, or reject parent segments, are unaffected. This issue is fixed in version 2.9.1.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsaddressable>= 2.2.5, < 2.9.12.9.1

Affected products · Sporkmonger

ProductAffected versions
Addressable
from 2.2.5, before 2.9.1

Weakness classification

References