CVE-2026-141524 — Addressable — CWE-20 · CWE-915
### Impact `Addressable::Template#match` and `#extract` take the name of a variable in a `;`, `?` or `&` expression from the URI, not from the template, when the variable isn't exploded. The template `/search{?q}` matches `/search?admin=true` and gives `{"q" => nil, "admin" => "true"}`: the mapping has a variable the template doesn't have, and `q` is missing its value. The URI can also give its value to another of the template's variables, which takes the first value it's given. `/files{;version}/{id}` matches `/files;id=secret/42` and gives `id` the value `"secret"`, not the `42` in its place in the path. A URI Template can only expand such a variable to its own name followed by `=` (Sections 3.2.7 to 3.2.9 of RFC 6570), and matching assigns the parts of a URI "to the named variables" (Section 1.4). So these URIs aren't expansions of the template, and the mappings name variables that the URI's text doesn't give them. An application is affected if it matches an untrusted URI against a template with an unexploded `;`, `?` or `&` expression, and does one of these: - uses the mapping's names as a list of the parameters it accepts, for example by passing the whole mapping on to set attributes or to build a database query; - trusts that a variable's value comes from where the template puts it, as with a `;` expression before a path variable; - uses a processor whose `restore` acts on a value by its name, such as recording an identifier. `restore` is called with the name the UR
### Impact `Addressable::Template#match` and `#extract` take the name of a variable in a `;`, `?` or `&` expression from the URI, not from the template, when the variable isn't exploded. The template `/search{?q}` matches `/search?admin=true` and gives `{"q" => nil, "admin" => "true"}`: the mapping has a variable the template doesn't have, and `q` is missing its value. The URI can also give its value to another of the template's variables, which takes the first value it's given. `/files{;version}/{id}` matches `/files;id=secret/42` and gives `id` the value `"secret"`, not the `42` in its place in the path. A URI Template can only expand such a variable to its own name followed by `=` (Sections 3.2.7 to 3.2.9 of RFC 6570), and matching assigns the parts of a URI "to the named variables" (Section 1.4). So these URIs aren't expansions of the template, and the mappings name variables that the URI's text doesn't give them. An application is affected if it matches an untrusted URI against a template with an unexploded `;`, `?` or `&` expression, and does one of these: - uses the mapping's names as a list of the parameters it accepts, for example by passing the whole mapping on to set attributes or to build a database query; - trusts that a variable's value comes from where the template puts it, as with a `;` expression before a path variable; - uses a processor whose `restore` acts on a value by its name, such as recording an identifier. `restore` is called with the name the UR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141524
CVSS 3.7/10 · LOW · 01.12.2026
CWE: CWE-20, CWE-915
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact
Addressable::Template#match and #extract take the name of a variable in a ;, ? or & expression from the URI, not from the template, when the variable isn't exploded. The template /search{?q} matches /search?admin=true and gives {"q" => nil, "admin" => "true"}: the mapping has a variable the template doesn't have, and q is missing its value. The URI can also give it…
Affected: addressable
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L).
🛡️ REMEDIATION
→ Apply vendor security update for addressable.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📌 Low priority — routine update sufficient.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]