7.5

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

Published
AliasesUBUNTU-CVE-2026-4867DEBIAN-CVE-2026-4867CGA-23fp-mxh5-798f
Published 26-03-2026Last modified 26-03-2026

Vulnerability summary

CVE-2026-4867 is a high (CVSS 7.5) vulnerability in path-to-regexp. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 57.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.78%
0%100%
Low · +0.26 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 26-03-2026
    PublishedVulnerability first disclosed.
  2. 26-03-2026
    Last modifiedVulnerability information updated.

Description

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 [email protected] 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 [email protected] 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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

Increase +0.26 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard16 products
  • argo-workflows-ui-3.7< 3.7.12-r2
  • argo-workflows-ui-4.0< 4.0.3-r2
  • json-server< 0.17.4-r6
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
Wolfi16 products
  • argo-workflows-ui-3.7< 3.7.12-r2
  • argo-workflows-ui-4.0< 4.0.3-r2
  • json-server< 0.17.4-r6
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
Debian1 product
  • node-path-to-regexp< 1.0.1-1
Path-to-regexp1 product
Ubuntu1 product
  • node-path-to-regexpAll versions (No fix recorded)

5 vendors · 35 products

References

9 links