cvelo
P3 · MediumCVSS 4.8EPSS 0.4%

Addressable URI userinfo setters store delimiters raw, so the serialized URI names a different host

  • CVE-2026-141538
  • GHSA-qrq6-rcpx-pmm6
  • EUVD-2026-140767

Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable::URI#user=, #password=, #userinfo=, and matching Addressable::URI.new options store userinfo values without rejecting or encoding host-changing delimiters. Values containing /, ?, or # can end userinfo early when Addressable::URI#to_s serializes the URI. An application that validates the URI object but sends the serialized string can disclose headers or request bodies to an attacker-controlled host. This issue is fixed in version 2.10.0.

Text from the CVE.org record.

Recommendation

  • addressable project addressable

    • If you run a version from 2.0.0 to before 2.10.0update to 2.10.0 or laterMinor version change: check the release notes

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • addressable project addressable

    Affected versionsFixed in
    from 2.0.0 to before 2.10.02.10.0
  • addressableRubyGems

    Affected versionsFixed in
    from 2.0.0 up to 2.9.2none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.