CVE Explorer
CVE-2026-4867
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/path-to-regexp","product":"path-to-regexp","vendor":"path-to-regexp","versions":[{"lessThan":"0.1.13","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1333","description":"CWE-1333: Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://blakeembrey.com/posts/2024-09-web-redos"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/references/1
{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/references/2
{"url":"https://github.com/advisories/GHSA-9wv6-86v2-598j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f8eee239154453b94ed88d41f7a993e48928a7b7d983b445eb5bf0c891a3bcc0 · sha256:0db11019431ea2aa… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.