freenode

← CVE tracker

CVE-2026-141524

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

Severity
low CVSS 3.7 (v3.1)
Affects
addressable · sporkmonger
Weakness
CWE-20: Improper Input Validation
Published
1 December 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.