CVE-2026-4926

High

Description

Impact: A bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as `{a}{b}{c}:z`. The generated regex grows exponentially with the number of groups, causing denial of service. Patches: Fixed in version 8.4.0. Workarounds: Limit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.

SeverityHigh
CVSS7.5
Exploit probability—
ProductPillarjs Path-to-regexp
PublishedMar 26, 2026
First seenMar 26, 2026

How to fix

Affected products

ProductAffected versionsFixed in
pillarjs path-to-regexp8.0.0 ≤ v < 8.4.08.4.0
path-to-regexpnpm8.0.0 ≤ v < 8.4.08.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.