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
- Affected
- sporkmonger · addressable · addressable
- 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
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-grhv-8jgq-r74x
- https://nvd.nist.gov/vuln/detail/CVE-2026-141527
- https://github.com/sporkmonger/addressable/commit/576662e4791df3cfd17c944041a98f516d3c0734
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0
- https://github.com/advisories/GHSA-grhv-8jgq-r74x
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-141527