p PatchFirst

CVE-2026-126354

CVE-2026-126354 · Addressable URI normalization resolves some dotted path segments to the wrong path

CVSS 4.8 · Medium · EPSS 0.3% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

gem list --exact addressable
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-addressable"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system · ruby

Affected products and versions

  • addressable

    Versions
    • >= 2.2.5, < 2.9.1: Affected

    No fix published

  • addressable RubyGems

    Versions
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.3.2
    • 2.3.3
    All versions (29)
    • 2.3.4
    • 2.3.5
    • 2.3.6
    • 2.3.7
    • 2.3.8
    • 2.4.0
    • 2.5.0
    • 2.5.1
    • 2.5.2
    • 2.6.0
    • 2.7.0
    • 2.8.0
    • 2.8.1
    • 2.8.10
    • 2.8.2
    • 2.8.3
    • 2.8.4
    • 2.8.5
    • 2.8.6
    • 2.8.7
    • 2.8.8
    • 2.8.9
    • 2.9.0
    Affected ranges
    • ECOSYSTEM: ≥ 2.2.5, < 2.9.1

    Update to 2.9.1

  • ruby-addressable Ubuntu Pro 16.04 LTS

    Versions
    • 2.3.8-1
    • 2.3.8-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 18.04 LTS

    Versions
    • 2.5.1-2
    • 2.5.2-1
    • 2.5.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 20.04 LTS

    Versions
    • 2.5.2-1
    • 2.7.0-1
    • 2.7.0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 22.04 LTS

    Versions
    • 2.7.0-2
    • 2.8.0-3
    • 2.8.0-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 24.04 LTS

    Versions
    • 2.8.1-1
    • 2.8.5-1
    • 2.8.5-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu 26.10

    Versions
    • 2.8.7-2
    • 2.9.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 26.04 LTS

    Versions
    • 2.8.7-2
    • 2.8.7-2ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →