CVE-2024-52798
path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.787% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.7 · published by GitHub_MCVSS: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
Assessment source · checked 2026-11-19T12:57:20.628Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:20.628Z | CVE Program |
| epss | verified | 2026-11-19T18:27:11.402Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:32.632Z | OSV |
| affected | verified | 2026-11-19T12:57:20.628Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:20.628Z | CVE Program |
Affected versions and configuration
pillarjs path-to-regexp; default status: unknown: < 0.1.12 [affected; scheme: unspecified]
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": "pillarjs",
"product": "path-to-regexp",
"versions": [
{
"status": "affected",
"version": "< 0.1.12"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-52798",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-12-09T14:53:29.827845Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:*:*:*"
],
"vendor": "pillarjs",
"product": "path-to-regexp",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.1.12",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-12-09T14:54:43.939Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://security.netapp.com/advisory/ntap-20250124-0002/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-01-24T20:03:11.852Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-rhx6-c78j-4q9w",
"aliases": [
"CVE-2024-52798"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.12"
}
]
}
],
"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/12/GHSA-rhx6-c78j-4q9w/GHSA-rhx6-c78j-4q9w.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-rhx6-c78j-4q9w",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52798",
"type": "ADVISORY"
},
{
"url": "https://github.com/pillarjs/path-to-regexp/commit/f01c26a013b1889f0c217c643964513acf17f6a4",
"type": "WEB"
},
{
"url": "https://blakeembrey.com/posts/2024-09-web-redos",
"type": "WEB"
},
{
"url": "https://github.com/pillarjs/path-to-regexp",
"type": "PACKAGE"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250124-0002",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2024-12-05T23:15:06Z",
"github_reviewed_at": "2024-12-05T22:40:47Z"
}
}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.12 | 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: 2024-12-05T22:40:47.000Z
Source modification: 2026-09-10T03:50:56.223ZDocument fingerprint
9a5139da74939b900f32c25b0dbbb5839e6b4533122863bfba7c1fbe808a6ef0 - FIRST EPSSConsulted: 2026-11-19T18:27:11.402ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c07aa8e6fdfc310c84fe1ac9be92e31e56fc57bead56722404a3841425dfa449 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:20.628ZArchived source JSON
Source publication: 2024-12-05T22:45:42.774Z
Source modification: 2025-01-24T20:03:11.852ZDocument fingerprint
1d5a83ffca33399ed9a9755e2653d9d34410b6bae588829af3b38c2a89e328fd
Official status history
- UNKNOWN → PUBLISHED · · evidence