CVE Feed
5.9 Medium

Addressable: Regular Expression Denial of Service in templates with literal text between expressions

CVE-2026-141527

Impact Within the URI template implementation in Addressable, templates with literal text between expressions generate regular expressions vulnerable to excessive backtracking when a variable before the literal text can also match it. Realistic templates are affected: /{year}-{month}-{day}, where each variable can contain - /v{major}.{minor}.{patch}, where each variable can contain . {+base}/{+path}/{+file}, where each variable can contain / {+path}/{name}-{+rest}, where path can contain / and name can contain - A run of the literal's characters can be divided among k variables in O(n^k) ways. When Template#match or Template#extract is called with a maliciously crafted URI, this can result in uncontrolled resource consumption, leading to denial of service. With 2.9.2, /{year}-{month}-{day} and {+base}/{+path}/{+file} each take about 10 seconds to reject 2 KB of input on MRI Ruby 2.7, and over 15 seconds on JRuby. Because the cost is cubic for these templates, request-size limits of a few kilobytes don't prevent it. GHSA-9f42-57jx-vpp3 covered expressions next to each other with no literal text between them. This shape wasn't covered by that advisory or its fix. Users of the URI…

Assessment

CVSS
5.9 (v3.1)
Severity
Medium
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
Weakness
CWE-1333
Assigner
GitHub_M

CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

At the source

References

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
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-141527