Addressable::Template#match and #extract take variable names from the URI, so a URI can add or reassign variables
CVE-2026-141524
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;…
Assessment
- CVSS
- 3.7 (v3.1)
- Severity
- Low
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 December 2026
- Last updated
- 1 December 2026
- Affected
- sporkmonger · addressable · addressable
- Weakness
- CWE-20, CWE-915
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
At the source
References
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-q5vw-6v74-fg2g
- https://nvd.nist.gov/vuln/detail/CVE-2026-141524
- https://github.com/sporkmonger/addressable/commit/de9e4048f65b2fed2ed6a0b020f41dad77fe53f5
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0
- https://github.com/advisories/GHSA-q5vw-6v74-fg2g
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-141524