CVE-2026-4867
Public on
Last Modified:
Description
A flaw was found in path-to-regexp. A remote attacker could exploit this vulnerability by crafting a malicious URL with three or more parameters in a single segment, separated by non-period characters. This causes the component to generate a bad regular expression, leading to catastrophic backtracking. The overlapping capture groups can consume excessive processing resources, resulting in a Denial of Service (DoS) for the affected application.
Mitigation
To mitigate this issue, applications using `path-to-regexp` can implement custom regular expressions for parameters beyond the first in a single URL segment. For example, a route like `/:a-:b-:c` can be rewritten as `/:a-:b([^-/]+)-:c([^-/]+)`. Alternatively, limiting the maximum length of incoming URLs can also reduce the risk of exploitation. These changes require application-level configuration and may necessitate a service restart to take effect.
Additional information
- This content is not included.Bugzilla 2451783: path-to-regexp: path-to-regexp: Denial of Service via catastrophic backtracking from malformed URL parameters
- Content from cwe.mitre.org is not included.CWE-1333: Inefficient Regular Expression Complexity
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2026-4867
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2026-4867
Content from blakeembrey.com is not included.https://blakeembrey.com/posts/2024-09-web-redos
Content from cna.openjsf.org is not included.https://cna.openjsf.org/security-advisories.html
Content from github.com is not included.https://github.com/advisories/GHSA-9wv6-86v2-598j
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cluster Observability Operator 1.5.0 | cluster-observability-operator/logging-console-plugin-pf4-rhel9 | Fixed | RHSA-2026:34342 |
| Cluster Observability Operator 1.5.0 | cluster-observability-operator/logging-console-plugin-pf5-rhel9 | Fixed | RHSA-2026:34342 |
| Cluster Observability Operator 1.5.0 | cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9 | Fixed | RHSA-2026:34342 |
| Cryostat 4 | cryostat/cryostat-openshift-console-plugin-rhel9 | Fix deferred | |
| Cryostat 4 | path-to-regexp | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-operator-bundle | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-proxy-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-rhel9-operator | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-curator5-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-ui-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-console-plugin-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-ossmc-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9-operator | Fix deferred | |
| Red Hat AMQ Broker 7 | amq7-tech-preview/amq-broker-jolokia-api-server-rhel9 | Fix deferred | |
| Red Hat AMQ Broker 7 | path-to-regexp | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/mcp-server-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Fix deferred | |
| Red Hat Build of Podman Desktop | podman-desktop-macos-1-0 | Fix deferred | |
| Red Hat Build of Podman Desktop | podman-desktop-windows-1-0 | Fix deferred | |
| Red Hat Data Grid 8 | path-to-regexp | Fix deferred | |
| Red Hat Developer Hub | rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor | Fix deferred | |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Fix deferred | |
| Red Hat Edge Manager 1 | rhem/flightctl-ui-ocp-rhel9 | Fix deferred | |
| Red Hat Edge Manager 1 | rhem/flightctl-ui-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux 10 | linux-sgx | Fix deferred | |
| Red Hat Enterprise Linux 8 | mozjs60 | Fix deferred | |
| Red Hat Enterprise Linux 8 | pcs | Fix deferred | |
| Red Hat Enterprise Linux 9 | gjs | Fix deferred | |
| Red Hat Enterprise Linux 9 | linux-sgx | Fix deferred | |
| Red Hat Enterprise Linux 9 | pcs | Fix deferred | |
| Red Hat Fuse 7 | path-to-regexp | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 7 | path-to-regexp | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 8 | path-to-regexp | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | path-to-regexp | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-agent-installer-ui-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-monitoring-plugin-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/jetbrains-ide-rhel9 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/console-plugin-rhel8 | Fix deferred | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin | Fix deferred | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin-rhel9 | Fix deferred | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-jaeger-query-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/mcg-core-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/ocs-client-console-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/odf-console-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/odf-multicluster-console-rhel9 | Fix deferred | |
| Red Hat Process Automation 7 | path-to-regexp | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | |
| Red Hat Satellite 6 | nodejs-react-router | Fix deferred | |
| Red Hat Satellite 6 | nodejs-react-router-dom | Fix deferred | |
| Red Hat Single Sign-On 7 | path-to-regexp | Fix deferred | |
| Red Hat Trusted Artifact Signer | rhtas/rhtas-console-ui-rhel9 | Fix deferred | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Fix deferred | |
| Red Hat build of Apache Camel - HawtIO 4 | path-to-regexp | Fix deferred | |
| Red Hat build of Apicurio Registry 2 | path-to-regexp | Fix deferred | |
| Red Hat build of OptaPlanner 8 | path-to-regexp | Fix deferred | |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Fix deferred |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 5.3 | N/A | 7.5 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality Impact | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
cve.org CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.