# CVE-2026-4867: path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.1.13 (CNA); fix release not confirmed
- Status: published
- Published: 2026-03-26 · Modified: 2026-03-26
- Aliases: UBUNTU-CVE-2026-4867, DEBIAN-CVE-2026-4867, CGA-23fp-mxh5-798f, CGA-2fjm-p8xm-vp27, CGA-53c4-78hf-3f8v, CGA-5j7q-8h9v-wf2r, CGA-6rv9-3478-fw6g, CGA-7ch7-rxqm-cqfm, CGA-7q72-qp5x-wmv7, CGA-7r98-gffj-f552, CGA-8qr2-wfwg-wr4m, CGA-958g-wh3w-wcq5, CGA-99xh-8w4j-c3rx, CGA-cv56-xgg6-pv34, CGA-f4vh-r2mj-58rr, CGA-f9jr-g9w9-pr55, CGA-g9cj-jp3x-c653, CGA-hhgx-vvqm-9rfv, CGA-jrhw-8774-rx2v, CGA-p7h2-6vp5-h63r, CGA-phqq-mhvm-frq7, CGA-qcjv-779c-668f, CGA-qh73-f3p2-g7xh, CGA-qp5x-4m42-f2xv, CGA-r7h2-rvrq-5h7f, CGA-r8pq-cg8g-4h47, CGA-rrp7-8pm5-5p4f, CGA-vm85-9wx7-fhpm, CGA-wjmr-v4jg-8356, CGA-wp39-4jcr-qrhc, CGA-wpfv-8fcm-9jrg, CGA-wwxg-mp8h-hf6m, CGA-xf3q-4v9q-66gp, CGA-xjp9-qx23-5crm
- Record: https://cvemate.com/vulnerability/CVE-2026-4867 · JSON: https://cvemate.com/vulnerability/CVE-2026-4867/json

## Description

```text
Impact:

A bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (.). For example, /:a-:b-:c or /:a-:b-:c-:d. The backtrack protection added in path-to-regexp@0.1.12 only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking.

Patches:

Upgrade to path-to-regexp@0.1.13

Custom regex patterns in route definitions (e.g., /:a-:b([^-/]+)-:c([^-/]+)) are not affected because they override the default capture group.

Workarounds:

All versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change /:a-:b-:c to /:a-:b([^-/]+)-:c([^-/]+).

If paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.778%, percentile 57.207%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- chainguard argo-workflows-ui-3.7 (Chainguard): \< 3.7.12-r2
- chainguard argo-workflows-ui-4.0 (Chainguard): \< 4.0.3-r2
- chainguard json-server (Chainguard): \< 0.17.4-r6
- chainguard katib-earlystopping (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-goptuna-compat (Chainguard): All versions (No fix recorded)
- chainguard katib-suggestion-hyperband (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-hyperopt (Chainguard): \< 0.19.0-r40 \| \< 0.19.0-r31
- chainguard katib-suggestion-nas-darts (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-nas-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-optuna-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-pbt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-skopt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-tfevent-metricscollector (Chainguard): \< 0.19.0-r31
- chainguard kubeflow-centraldashboard (Chainguard): \< 1.10.0-r18
- chainguard kubeflow-pipelines-frontend (Chainguard): \< 2.16.0-r12
- chainguard sqlpad (Chainguard): \< 7.5.7-r17
- wolfi argo-workflows-ui-3.7 (Wolfi): \< 3.7.12-r2
- wolfi argo-workflows-ui-4.0 (Wolfi): \< 4.0.3-r2
- wolfi json-server (Wolfi): \< 0.17.4-r6
- wolfi katib-earlystopping (Wolfi): \< 0.19.0-r31

## References

- <https://github.com/advisories/GHSA-9wv6-86v2-598j>
- <https://blakeembrey.com/posts/2024-09-web-redos>
- <https://cna.openjsf.org/security-advisories.html>
- <https://ubuntu.com/security/CVE-2026-4867>
- <https://www.cve.org/CVERecord?id=CVE-2026-4867>
- <https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2>
- <https://security-tracker.debian.org/tracker/CVE-2026-4867>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4867.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4867>

---

Data as of 2026-12-05T12:39:48.698Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
