Threat Advisory

Attackers Can Spoof Hosts Through Addressable Flaws and Trigger Denial of Service

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: Medium
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

Multiple security vulnerabilities have been identified in the Addressable Ruby library, affecting versions from 2.3.0 through 2.9.2. These flaws impact the URI template matching and parsing components, posing risks of denial of service, information disclosure, and request manipulation. The overall risk is moderate to high, depending on the specific runtime environment and how the library is utilized within an application.

CVE-2026-141524 (CVSS 3.7 — Low): The Template match and extract methods incorrectly derive variable names from the URI rather than the template definition. This allows an attacker to craft a URI that adds or reassigns variables, potentially bypassing validation logic or injecting unexpected parameters into application state.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

Multiple security vulnerabilities have been identified in the Addressable Ruby library, affecting versions from 2.3.0 through 2.9.2. These flaws impact the URI template matching and parsing components, posing risks of denial of service, information disclosure, and request manipulation. The overall risk is moderate to high, depending on the specific runtime environment and how the library is utilized within an application.

CVE-2026-141524 (CVSS 3.7 — Low): The Template match and extract methods incorrectly derive variable names from the URI rather than the template definition. This allows an attacker to craft a URI that adds or reassigns variables, potentially bypassing validation logic or injecting unexpected parameters into application state.[emaillocker id="1283"]

CVE-2026-141525 (CVSS 5.9 — Medium): A regular expression denial of service vulnerability exists in Addressable templates when running on MRI Ruby 3.2 and TruffleRuby. The issue arises from lookaround assertions in generated regular expressions that cause excessive backtracking, leading to uncontrolled resource consumption when processing maliciously crafted URIs.

CVE-2026-141527 (CVSS 5.9 — Medium): Templates containing literal text between expressions are vulnerable to regular expression denial of service due to excessive backtracking. This occurs when variables preceding the literal text can also match that text, resulting in polynomial-time complexity that can be exploited to cause service disruption.

CVE-2026-141526 (CVSS 5.9 — Medium): A regular expression denial of service vulnerability affects templates with exploded variables positioned next to other variables. The generated regular expressions are susceptible to excessive backtracking, allowing an attacker to trigger uncontrolled resource consumption by submitting specific URI patterns.

CVE-2026-141528 (CVSS 5.9 — Medium): Templates with several variables are vulnerable to regular expression denial of service through excessive backtracking. This flaw allows an attacker to cause uncontrolled resource consumption by exploiting the complexity of matching URIs against templates containing multiple variable definitions.

CVE-2026-141529 (CVSS 3.7 — Low): The Template class builds its regular expression in quadratic time for patterns containing non-ASCII characters or many adjacent expressions. This inefficiency can lead to performance degradation and potential denial of service when processing complex or maliciously constructed URI templates.

CVE-2026-141531 (CVSS 3.1 — Low): The display_uri method displays a deceptive label boundary for host labels that decode to the U+3002 character. This visual ambiguity can mislead users or automated systems about the actual structure of the host name, potentially facilitating spoofing or confusion attacks.

CVE-2026-141539 (CVSS 4.8 — Medium): The native IDNA backend truncates a host at a percent-encoded NUL character during normalization. This behavior can result in an incorrect host name being processed, potentially leading to security bypasses or misrouting of requests to unintended destinations.

CVE-2026-141538 (CVSS 4.8 — Medium): URI userinfo setters store delimiters in their raw form, causing the serialized URI to name a different host than intended. This flaw can lead to host confusion and potential security issues where the application operates on a different host than the one specified in the original URI.

CVE-2026-141537 (CVSS 3.7 — Low): URI normalization takes quadratic time when processing long runs of combining marks. This performance issue can be exploited to cause denial of service by submitting URIs with extensive sequences of combining characters, leading to excessive CPU usage.

CVE-2026-141535 (CVSS 3.7 — Low): The URI hostname method incorrectly strips brackets from hosts that are not IP literals. This behavior can result in malformed host names being processed, potentially causing errors or unexpected behavior in applications that rely on accurate host identification.

CVE-2026-141536 (CVSS 3.7 — Low): The URI request_uri method returns control characters unencoded, which can lead to HTTP request splitting. An attacker could exploit this to inject additional headers or manipulate the structure of HTTP requests, potentially bypassing security controls.

These vulnerabilities collectively present a significant risk to applications relying on the Addressable library for URI handling, particularly those exposed to untrusted input. Users of affected versions are most at risk of denial of service and potential security bypasses. It is recommended to update to the latest secure version to mitigate these issues.

RECOMMENDATION:

We recommend you to update addressable to version 2.10.0.

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu