Skip to main content
VulnerabilityPublished

CVE-2026-33671: micromatch picomatch · ReDoS

Affects micromatch picomatchSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 4.0.4 : patch micromatch picomatch soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.4, 3.0.2, 2.3.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade picomatch to 4.0.4, 3.0.2 or 2.3.2; picomatch to 2.3.2.

Affected software

ProductAffectedFixed in
micromatchpicomatchAffected
  • >=4.0.0 <4.0.4
Fixed in
  • 4.0.4
micromatchpicomatchAffected
  • >=3.0.0 <3.0.2
Fixed in
  • 3.0.2
micromatchpicomatchAffected
  • <2.3.2
Fixed in
  • 2.3.2
npmpicomatchpkg:npm/picomatchOther threatsAffected
  • <2.3.2
Fixed in
  • 2.3.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in picomatch versions 4.0.4, 3.0.2, and 2.3.2. Users should upgrade to one of these versions or later according to their supported release line. If upgrading is not immediately feasible, avoid passing untrusted glob patterns to picomatch. Additional mitigations include disabling extglob support for untrusted input by setting 'noextglob: true', rejecting or sanitizing patterns containing nested extglobs or quantifiers like +() and *(), enforcing strict allowlists for accepted pattern syntax, running matching operations in isolated workers or separate processes with resource limits, and applying application-level request throttling and input validation on endpoints accepting glob patterns.

Description

Picomatch versions prior to 4.0.4, 3.0.2, and 2.3.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability due to inefficient handling of certain extglob patterns. Crafted patterns using quantifiers like +() and *(), especially with nested or overlapping extglobs, can cause catastrophic backtracking, leading to excessive CPU usage and blocking the Node.js event loop. This results in a denial of service condition when untrusted user input is processed.

References

Community reviews

Loading reviews…