path-to-regexp: Uncontrolled Resource Consumption
CVE-2026-4926 is a high-severity uncontrolled resource consumption vulnerability in path-to-regexp, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 8.4.0 as the first without the flaw, so updating path-to-regexp to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.82% chance of exploitation within 30 days, higher than 58% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update path-to-regexp to 8.4.0 or a later version.
- Read the advisory on cna.openjsf.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Path-to-regexp | path-to-regexp | 8.0.0 up to, but not including, 8.4.0 | 8.4.0 |
| Red Hat | Cryostat 4 on RHEL 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | Not specified in the record | Not stated |
| Red Hat | Migration Toolkit for Virtualization 2.1 | Not specified in the record | Not stated |
| Red Hat | Migration Toolkit for Virtualization 2.9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | Not specified in the record | Not stated |
| Red Hat | Red Hat Developer Hub 1.8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Developer Hub 1.9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Edge Manager 1.0 | Not specified in the record | Not stated |
| Red Hat | Red Hat Edge Manager 1.1 | Not specified in the record | Not stated |
| Red Hat | Red Hat Migration Toolkit for Applications 8.1 | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift AI 2.25 | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift Dev Spaces 3.27 | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift distributed tracing 3.9.3 | Not specified in the record | Not stated |
| Red Hat | Red Hat Trusted Artifact Signer 1.3 | Not specified in the record | Not stated |
| Red Hat | Cryostat 4 | Not specified in the record | Not stated |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Not specified in the record | Not stated |
| Red Hat | Multicluster Engine for Kubernetes | Not specified in the record | Not stated |
| Red Hat | Network Observability Operator | Not specified in the record | Not stated |
| Red Hat | OpenShift Lightspeed | Not specified in the record | Not stated |
| Red Hat | OpenShift Pipelines | Not specified in the record | Not stated |
| Red Hat | OpenShift Service Mesh 2 | Not specified in the record | Not stated |
| Red Hat | OpenShift Service Mesh 3 | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE; 27 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA |
| CVSS 3.1 | 7.5 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
How developers prevent this class of flaw
- Ensure that protocols have specific limits of scale placed on them.
- Ensure that all failures in resource allocation place the system into a safe posture.
More Uncontrolled Resource Consumption vulnerabilities (CWE-400)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- cna.openjsf.org/security-advisories.htmlThird Party Advisory
Other references
- access.redhat.com/errata/RHSA-2026:10153
- access.redhat.com/errata/RHSA-2026:10172
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:13545
- access.redhat.com/errata/RHSA-2026:13826
- access.redhat.com/errata/RHSA-2026:17789
- access.redhat.com/errata/RHSA-2026:19409
- access.redhat.com/errata/RHSA-2026:19410
- access.redhat.com/errata/RHSA-2026:24761
- access.redhat.com/errata/RHSA-2026:24762
- access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com/errata/RHSA-2026:36651
- access.redhat.com/errata/RHSA-2026:40118
- access.redhat.com/errata/RHSA-2026:40945
- access.redhat.com/errata/RHSA-2026:50300
Other vulnerabilities in path-to-regexp
- 7.5 High severity
Recent Uncontrolled Resource Consumption vulnerabilities
- 8.6 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.