cvelo
P4 · InfoCVSS 3.7EPSS 0.7%

Addressable::Template#match and #extract take variable names from the URI, so a URI can add or reassign variables

  • CVE-2026-141524
  • GHSA-q5vw-6v74-fg2g
  • EUVD-2026-140734

Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 until 2.10.0, Addressable::Template#match and #extract accept names supplied by an untrusted URI for unexploded semicolon, query, and continuation expressions instead of limiting matches to variables declared by the template. Variable addition affects the full range, while reassignment of another template variable and processor match or restore effects begin in 2.3.6. An attacker can add mapping keys, reassign a template variable's value, bypass a processor match restriction, or cause processor restore logic to act on a URI-supplied name. 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.3.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.3.0 to before 2.10.02.10.0
  • addressableRubyGems

    Affected versionsFixed in
    from 2.3.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.