CVE-2026-112366: Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns

Published Oct 19, 2026
·
Updated

Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +() or +(a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.

Affected Software

1 affected component
npm/picomatch<=4.0.7

Event History

Oct 19, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are realistically exposed to this issue?

Node.js applications using npm/picomatch through 4.0.7 are exposed when an attacker can supply or influence glob patterns that the application passes to Picomatch. The impact is blocking the Node.js event loop, resulting in denial of service.

2

What does an attacker need to exploit it?

No authentication or user interaction is required. The attacker needs a path to provide a crafted single-branch repeated extglob pattern, such as +(*) or +(*a), along with input that triggers exponential regular-expression backtracking.

3

How can I determine whether my application is affected?

Check whether your dependency tree includes picomatch version 4.0.7 or earlier, and identify code paths that process externally influenced glob patterns. Patterns using repeated extglobs with a single branch, including +(*) and +(*a), are relevant indicators.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203