CVE-2026-4867
path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.527% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by openjsCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:58:43.188Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:43.188Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.854Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:32.632Z | OSV |
| affected | verified | 2026-11-19T12:58:43.188Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:43.188Z | CVE Program |
Affected versions and configuration
path-to-regexp path-to-regexp; default status: unaffected: 0 to < 0.1.13 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "path-to-regexp",
"product": "path-to-regexp",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.1.13",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/path-to-regexp",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-4867",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-03-26T16:52:08.810671Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-03-26T16:52:14.893Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-37ch-88jc-xwx2",
"aliases": [
"CVE-2024-45296",
"CVE-2026-4867",
"GHSA-9wv6-86v2-598j"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.13"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-37ch-88jc-xwx2/GHSA-37ch-88jc-xwx2.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4867",
"type": "ADVISORY"
},
{
"url": "https://blakeembrey.com/posts/2024-09-web-redos",
"type": "WEB"
},
{
"url": "https://cna.openjsf.org/security-advisories.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-9wv6-86v2-598j",
"type": "ADVISORY"
},
{
"url": "https://github.com/pillarjs/path-to-regexp",
"type": "PACKAGE"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-03-26T17:16:42Z",
"github_reviewed_at": "2026-03-27T20:04:53Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-9wv6-86v2-598j",
"aliases": [
"CVE-2024-45296",
"CVE-2026-4867",
"GHSA-37ch-88jc-xwx2"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.2.0"
},
{
"fixed": "1.9.0"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-9wv6-86v2-598j/GHSA-9wv6-86v2-598j.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.10"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-9wv6-86v2-598j/GHSA-9wv6-86v2-598j.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "8.0.0"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-9wv6-86v2-598j/GHSA-9wv6-86v2-598j.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "3.3.0"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-9wv6-86v2-598j/GHSA-9wv6-86v2-598j.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "6.3.0"
}
]
}
],
"package": {
"name": "path-to-regexp",
"purl": "pkg:npm/path-to-regexp",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-9wv6-86v2-598j/GHSA-9wv6-86v2-598j.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45296",
"type": "ADVISORY"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a701183cc4ed476f",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df0aabda9eedee6",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/925ac8e3c5780b02f58cbd4e52f95da8ad2ac485",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/d31670ae8f6e69cbfd56e835742195b7d10942ef",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/f1253b47b347dcb909e3e80b0eb2649109e59894",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp",
"type": "PACKAGE"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/releases/tag/v6.3.0",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250124-0001",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-09-09T19:15:13Z",
"github_reviewed_at": "2024-09-09T20:19:15Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 0.1.13 | Official record |
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 1.9.0 | Official record |
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 0.1.10 | Official record |
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 8.0.0 | Official record |
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 3.3.0 | Official record |
| ecosystem-boundary | npm / package | path-to-regexp | Not a distribution channel | 6.3.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:32.632ZArchived source JSON
Source publication: 2026-03-27T20:04:53.000Z
Source modification: 2026-09-10T03:50:36.768ZDocument fingerprint
9a5139da74939b900f32c25b0dbbb5839e6b4533122863bfba7c1fbe808a6ef0 - OSVConsulted: 2026-11-19T12:52:32.632ZArchived source JSON
Source publication: 2024-09-09T20:19:15.000Z
Source modification: 2026-09-10T03:50:18.832ZDocument fingerprint
9a5139da74939b900f32c25b0dbbb5839e6b4533122863bfba7c1fbe808a6ef0 - CVE ProgramConsulted: 2026-11-19T12:58:43.188ZArchived source JSON
Source publication: 2026-03-26T16:16:25.501Z
Source modification: 2026-03-26T16:52:14.893ZDocument fingerprint
580dabbfe78b26c809a43f7569db0a63e5773e959b91b788de2818470e2e678c - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.854ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
70dc132844bce71c65be43721c4018f559ab88c4e98a9a01125f21b4edae2e75
Official status history
- UNKNOWN → PUBLISHED · · evidence