CVE-2026-4926

path-to-regexp vulnerable to Denial of Service via sequential optional groups

HIGH
7.5
CVSS Score
Published: March 26, 2026 at 06:59 PM UTC
Updated: September 9, 2026 at 05:27 PM UTC
18 products affected across 3 vendorsPath To RegexpEnterprise LinuxOpenShift Container Platform

Using path-to-regexp by path-to-regexp?

Get instant alerts when new vulnerabilities affect path-to-regexp - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

Description

Impact: A bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as `{a}{b}{c}:z`. The generated regex grows exponentially with the number of groups, causing denial of service. Patches: Fixed in version 8.4.0. Workarounds: Limit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

8.0.0 ≤ v < 8.4.0
Affected range stops below 8.4.0, so it looks safe — our inference, not a vendor statement
8.0.0 ≤ v < 8.4.08.0.0
Vendor states this is fixed in 8.4.0 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 0:2.5.20260422-3.el8ap (unaffected)
Vendor states this is fixed in 0:2.5.20260422-3.el9ap (unaffected)
Vendor states this is fixed in 0:2.6.9-1.el9ap (unaffected)
Vendor states this is fixed in 1777386606 (unaffected)
Vendor states this is fixed in 1779773804 (unaffected)
Vendor states this is fixed in 2 (unaffected)
All versions
Vendor states this is fixed in 1776784286 (unaffected)
Vendor states this is fixed in 1777903262 (unaffected)
Vendor states this is fixed in 10 (unaffected)
Vendor states this is fixed in 8 (unaffected)
Vendor states this is fixed in 9 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (22)

Third Party Advisory
Source: cverecord
https://cna.openjsf.org/security-advisories.html
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:10153
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:10172
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:10175
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:13545
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:13826
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:17789
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:19409

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHopenjs
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card