# CVE-2026-4926: path-to-regexp vulnerable to Denial of Service via sequential optional groups

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 63% of CVEs (2026-11-30)
- Published: 2026-03-26T18:59:38.000Z
- Modified: 2026-09-17T12:04:38.293Z
- Also known as: GHSA-j3q9-mxjg-w52f
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## 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.

(As written by CVE List.)

## Affected

- path-to-regexp path-to-regexp: from 8.0.0 before 8.4.0 (not affected: 8.4.0)
- cryostat/cryostat-openshift-console-plugin-rhel9: no versions given (not affected: from 4.2.0-9 before *)
- automation-gateway: no versions given (not affected: from 0:2.5.20260422-3.el8ap before *; from 0:2.5.20260422-3.el9ap before *)
- automation-platform-ui: no versions given (not affected: from 0:2.6.9-1.el9ap before *)
- migration-toolkit-virtualization/mtv-console-plugin-rhel9: no versions given (not affected: from 1779139872 before *; from 1778927462 before *)
- ansible-automation-platform-tech-preview/mcp-server-rhel9: no versions given (not affected: from 1777386606 before *)
- ansible-automation-platform-26/gateway-rhel9: no versions given (not affected: from 1779773804 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1776784286 before *; from 1777903262 before *)
- rhem/flightctl-ui-ocp-rhel9: no versions given (not affected: from 1783502765 before *; from 1784126822 before *)
- rhem/flightctl-ui-rhel9: no versions given (not affected: from 1783502438 before *; from 1784127736 before *)
- rhem/flightctl-ui-ocp-rhel10: no versions given (not affected: from 1784194938 before *)
- rhem/flightctl-ui-rhel10: no versions given (not affected: from 1784194574 before *)
- mta/mta-ui-rhel9: no versions given (not affected: from 1785169013 before *)
- rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9: no versions given (not affected: from 1787801527 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1776744110 before *)
- devspaces/jetbrains-ide-rhel9: no versions given (not affected: from 1776795400 before *)
- rhosdt/tempo-jaeger-query-rhel9: no versions given (not affected: from 1776435608 before *)
- rhtas/rhtas-console-ui-rhel9: no versions given (not affected: from 1776673130 before *; from 1776889929 before *)
- io.cryostat-cryostat: no versions given
- openshift-logging/elasticsearch6-rhel9: no versions given
- openshift-logging/elasticsearch-operator-bundle: no versions given
- openshift-logging/elasticsearch-proxy-rhel9: no versions given
- openshift-logging/elasticsearch-rhel9-operator: no versions given
- openshift-logging/kibana6-rhel8: no versions given
- openshift-logging/logging-curator5-rhel9: no versions given
- multicluster-engine/console-mce-rhel9: no versions given
- network-observability/network-observability-console-plugin-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel9: no versions given
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given
- openshift-service-mesh/kiali-rhel8: no versions given
- openshift-service-mesh/kiali-operator-bundle: no versions given
- openshift-service-mesh/kiali-ossmc-rhel9: no versions given
- openshift-service-mesh/kiali-rhel9: no versions given
- openshift-service-mesh/kiali-rhel9-operator: no versions given
- rhacm2/console-rhel9: no versions given
- advanced-cluster-security/rhacs-main-rhel8: no versions given
- amq7-tech-preview/amq-broker-jolokia-api-server-rhel9: no versions given
- org.jolokia-jolokia-parent: no versions given
- automation-controller: no versions given
- automation-eda-controller: no versions given
- io.hawt-project: no versions given
- io.apicurio-apicurio-registry: no versions given
- podman-desktop-macos-1-0: no versions given
- podman-desktop-windows-1-0: no versions given
- org.infinispan-infinispan-console: no versions given
- rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor: no versions given
- linux-sgx: no versions given
- mozjs60: no versions given
- pcs: no versions given
- gjs: no versions given
- io.apicurio-apicurito: no versions given
- io.hawt-hawtio-online: no versions given
- io.syndesis-syndesis-parent: no versions given
- org.keycloak-keycloak-parent: no versions given
- rhoai/odh-data-science-pipelines-argo-argoexec-rhel8: no versions given
- rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- openshift4/ose-agent-installer-ui-rhel9: no versions given
- and 22 more: see the JSON

## Every score

- openjs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://cna.openjsf.org/security-advisories.html> (third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-4926> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2451867> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4926.json>
- <https://access.redhat.com/errata/RHSA-2026:24761> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24762> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17789> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19409> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19410> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24866> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13545> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9742> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13826> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36651> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40945> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40118> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50300> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65126> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10175> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9385> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10172> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10153> (vendor-advisory)
- <https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-j3q9-mxjg-w52f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4926> (advisory)
- <https://github.com/pillarjs/path-to-regexp> (package)

## Sources

- CVE List: [CVE-2026-4926](https://www.cve.org/CVERecord?id=CVE-2026-4926), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-j3q9-mxjg-w52f](https://github.com/advisories/GHSA-j3q9-mxjg-w52f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-4926](https://nvd.nist.gov/vuln/detail/CVE-2026-4926), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-4926 · Whole record: https://cve.day/CVE-2026-4926.json · Rebuilt by cve.day 2026-11-25T22:59:17.112Z
