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

Source: https://aplosec.si/cve/CVE-2026-112366/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-112366

High 8.7 · Reported · No fix listed · CWE-1333 · Multiple credited contributors · npm

# Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns

CVE-2026-112366 · published 2026-10-19

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-112366 affects picomatch (npm) through 4.0.7: ReDoS via repeated extglob patterns (CWE-1333). No fixed release is listed. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-10-19 by VulnCheck. Credit: maximilliangrand, Zachariah Mithani.

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/picomatch-through-4.0.7-redos-via-single-branch-repeated-extglob-patterns](https://www.vulncheck.com/advisories/picomatch-through-4.0.7-redos-via-single-branch-repeated-extglob-patterns)

- [Fix pull requesthttps://github.com/micromatch/picomatch/pull/194](https://github.com/micromatch/picomatch/pull/194)

- [Vulnerable codehttps://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L287-L307](https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L287-L307)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-112366](https://www.cve.org/CVERecord?id=CVE-2026-112366)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-112366)

**Package:** picomatch

**Ecosystem:** npm

**Affected:** through 4.0.7

**Fixed:** None

**Weakness:** CWE-1333

**CNA:** VulnCheck

**Credit:** maximilliangrand finder · Zachariah Mithani finder
