Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-4867
pillarjs path-to-regexp

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.00%
within the next 30 days
CategoryDenial of service
Published26 March 2026
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: Inefficient regular expression (ReDoS).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-1333 – Inefficient regular expression (ReDoS)

Affected products

VendorProductVersions
pillarjspath-to-regexp<0.1.13

Sources

Latest in the same category

  • CVE-2026-137200 High 7.5
    Socket.IO enables bidirectional and low-latency communication for every platform. Prior to Engine.IO 6.6.12, a remote unauthenticated client can send an upgrade request to a non-Engine.IO path and disconnect before the…
    Denial of service · 30 November 2026
  • CVE-2026-137196 Medium 6.3
    Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore…
    Denial of service · 30 November 2026
  • CVE-2026-137162 Low 2.1
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered…
    Denial of service · 30 November 2026
  • CVE-2026-135775 Medium 5.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. When auto-close is…
    Denial of service · 30 November 2026
  • CVE-2026-135699 Low 2.1
    Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the…
    Denial of service · 30 November 2026
  • CVE-2026-134916 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to…
    Denial of service · 30 November 2026