CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-4867

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

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 openjs
CVSS: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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:58:43.188ZCVE Program
epssverified2026-11-19T16:04:51.854ZFIRST EPSS
patchesverified2026-11-19T12:52:32.632ZOSV
affectedverified2026-11-19T12:58:43.188ZCVE Program
lifecycleverified2026-11-19T12:58:43.188ZCVE 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 JSON
OSV · 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel0.1.13Official record
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel1.9.0Official record
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel0.1.10Official record
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel8.0.0Official record
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel3.3.0Official record
ecosystem-boundarynpm / packagepath-to-regexpNot a distribution channel6.3.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history