Skip to main content

Addressable EUVDEUVD-2026-140734

| CVE-2026-141524 LOW
Improper Input Validation (CWE-20)
2026-12-01 GitHub_M GHSA-q5vw-6v74-fg2g
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted URI to app endpoint
  2. Exploit
    Template#match/#extract reads URI-supplied variable names
  3. Execution
    Mapping gains unintended keys or reassigns a variable
  4. Impact
    Application mass-assigns or trusts tainted values

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires BOTH: (1) the application matches an untrusted/attacker-controlled URI against an Addressable::Template that contains an unexploded ';', '?', or '&' expression (e.g. /search{?q} or /files{;version}/{id}); and (2) the application then uses the extracted mapping unsafely - treating the mapping's keys as its accepted parameter list (mass-assignment/query building), trusting that a value came from its templated position, or relying on a processor's match pattern to restrict a value or on processor restore to act on a value by name. Limiting factors that reduce real-world risk: exploded variables (e.g. {?q*}) are NOT affected, templates without ;/?/& expressions are NOT affected, #expand is NOT affected, and the most dangerous behaviors (variable reassignment, processor match/restore abuse) only exist from version 2.3.6 onward; before 2.3.6 a URI can only add extra mapping keys. Impact is confined to data integrity and is contingent on the consuming code path.

Impact

This is a genuine but low-priority logic flaw. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N = 3.7, Low) correctly captures an unauthenticated, network-reachable issue whose only impact is limited integrity (I:L) - no confidentiality or availability loss. The vuln.today decision label is 'monitor', consistent with the low score. No EPSS probability is provided in the input and the CVE is not on the CISA KEV list, so there is no evidence of active or widespread exploitation; a working proof-of-concept is published in the vendor GHSA advisory, which raises reproducibility but is distinct from in-the-wild use. No SSVC decision fields (automatable/technical impact) were supplied. The AC:H rating reflects that exploitation is not against a default library call but requires a specific template form AND an application that consumes the resulting mapping unsafely - so real-world risk is heavily dependent on how downstream applications use Addressable::Template#match/#extract, not on the library's mere presence. Net: a real correctness/injection bug worth patching on a normal cycle, not an emergency; the 'Authentication Bypass' tag overstates the typical impact, which is closer to parameter/mass-assignment injection and match-restriction bypass.

Exploit ScenarioDerived

A Ruby application matches an attacker-controlled incoming URI against a template such as /search{?q} and then passes the resulting mapping to mass-assign model attributes or to build a query. The attacker requests /search?admin=true, injecting an 'admin' key the template never declared, or uses /files;id=secret/42 to reassign a path variable's value - bypassing a processor match restriction in the process. A runnable proof-of-concept demonstrating both cases is published in the vendor advisory.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' template expression from the attacker-supplied URI instead of from the template, so versions 2.3.0 through 2.9.2 accept URIs that are not valid expansions of the template - for example '/search{?q}' extracting '/search?admin=true' yields an injected 'admin' key alongside a nil 'q', and '/files{;version}/{id}' extracting '/files;id=secret/42' hands 'secret' to the path variable 'id'. Impact is integrity-only and highly contingent on the consuming application: it matters where matched mappings are used as an accepted-parameter list for mass assignment or query building, where a value's templated position is trusted, or where a processor's match pattern or restore callback is relied upon for restriction. Reassignment of another template variable and processor match/restore effects begin in 2.3.6. The vendor advisory includes an illustrative proof-of-concept snippet, but no working exploit code and no CISA KEV entry were identified at time of analysis; the fix ships in 2.10.0.

RemediationAI

Upgrade the addressable gem to 2.10.0, the vendor-released fixed version, which restricts unexploded ';', '?' and '&' expressions to matching only their own variable names, limits processor match patterns to the variable's value, and calls restore only with the template's names; the change is in commit de9e4048f65b2fed2ed6a0b020f41dad77fe53f5 and the tagged release https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0, with advisory GHSA-q5vw-6v74-fg2g. Be aware that the fix causes previously accepted URIs to return nil, so review callers that may have depended on the loose behavior. If an immediate upgrade is not possible, the vendor documents three workarounds with their trade-offs: after matching, select only the names in template.variables and accept the URI only if template.expand(mapping) reproduces it - this rejects all the attack URIs but also rejects benign equivalents such as a query whose parameters appear in a different order; enforce a processor's value restrictions in restore rather than only in match; and avoid acting on values inside a processor's restore callback, instead acting on the mapping after it passes the strict-expansion check. Applications whose templates contain no ';', '?' or '&' expressions, or that use exploded variables or #expand only, are not exposed.

Affected VersionsENISA

addressable 2.3.0, < 2.10.0

Affected Packages

rubygems addressable fix: 2.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Addressable::Template implements RFC 6570 URI Template expansion and matching. For the named operators ';' (path-style), '?' (query) and '&' (continuation), a variable that is not exploded is written as 'name=value', and matching is supposed to assign URI text to the template's declared variables only (RFC 6570 section 1.4 and sections 3.2.7-3.2.9). In the affected code, Addressable::Template#match and #extract parsed the pair name out of the URI and used it as the mapping key, so a URI could contribute keys the template never declared and could also supply the value for a different variable of the same expression - the first value assigned wins, which is how a path-position variable can be overridden by a query or matrix parameter. The root cause is an input validation flaw (CWE-20, with the advisory also classifying it as CWE-915 improperly controlled modification of dynamically-determined object attributes), because untrusted URI structure directly determines mapping keys. The upstream fix (commit de9e4048) introduces a NAMED_OPERATORS constant and a named_values check: a pair in a ';', '?' or '&' expression is read only when its name is one of that expression's variables and only as many times as the expression declares it, otherwise matching fails; processor match patterns for such variables now match only the value after 'name=', as documented, and restore is called only with the template's names. Exploded variables such as {?q*} are unaffected because names they take from the URI stay inside the variable's value; templates with no ';', '?' or '&' expression and #expand are not affected.

Know when Addressable gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 3.7 LOW

Untrusted URI is network-supplied (AV:N) and needs no auth or interaction (PR:N/UI:N), but requires a specific template form and unsafe app consumption (AC:H); only limited data integrity is affected (I:L, C:N/A:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 22:03 EUVD
CVE Published
Dec 01, 2026 - 20:55 cve.org
LOW 3.7

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
High
very widely used Ruby URI library, common transitive dependency in Ruby apps
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

19
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-35611 HIGH
7.5 Apr 07

Regular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe

CVE-2021-32740 HIGH
7.5 Jul 06

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi

CVE-2026-141528 MEDIUM
5.9 Dec 01

Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce

CVE-2026-141527 MEDIUM
5.9 Dec 01

Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra

CVE-2026-141526 MEDIUM
5.9 Dec 01

Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and T

CVE-2026-141525 MEDIUM
5.9 Dec 01

Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r

CVE-2026-141539 MEDIUM
4.8 Dec 01

Hostname filtering bypass in the Addressable Ruby URI library (versions 2.2.5 through 2.9.2, fixed in 2.10.0) causes a p

CVE-2026-141538 MEDIUM
4.8 Dec 01

Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:

CVE-2026-141529 LOW
3.7 Dec 01

Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv

CVE-2026-141535 LOW
3.7 Dec 01

SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination ch

CVE-2026-141537 LOW
3.7 Dec 01

Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on

CVE-2026-141536 LOW
3.7 Dec 01

Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control char

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy