Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-33671
March 26, 2026
Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted extglob patterns. Certain patterns using extglob quantifiers such as "+()" and "*()", especially when combined with overlapping alternatives or nested extglobs, are compiled into regular expressions that can exhibit catastrophic backtracking on non-matching input. Applications are impacted when they allow untrusted users to supply glob patterns that are passed to "picomatch" for compilation or matching. In those cases, an attacker can cause excessive CPU consumption and block the Node.js event loop, resulting in a denial of service. Applications that only use trusted, developer-controlled glob patterns are much less likely to be exposed in a security-relevant way. This issue is fixed in picomatch 4.0.4, 3.0.2 and 2.3.2. Users should upgrade to one of these versions or later, depending on their supported release line. If upgrading is not immediately possible, avoid passing untrusted glob patterns to "picomatch". Possible mitigations include disabling extglob support for untrusted patterns by using "noextglob: true", rejecting or sanitizing patterns containing nested extglobs or extglob quantifiers such as "+()" and "*()", enforcing strict allowlists for accepted pattern syntax, running matching in an isolated worker or separate process with time and resource limits, and applying application-level request throttling and input validation for any endpoint that accepts glob patterns.
Affected Packages
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=4.0.1 <4.0.4
Fix Suggestion:
Update to version 4.0.4
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=1.0.1 <2.3.2
Fix Suggestion:
Update to version 2.3.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=4.0.1 <4.0.4
Fix Suggestion:
Update to version 4.0.4
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=4.0.1 <4.0.4
Fix Suggestion:
Update to version 4.0.4
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=1.0.1 <2.3.2
Fix Suggestion:
Update to version 2.3.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=4.0.1 <4.0.4
Fix Suggestion:
Update to version 4.0.4
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=1.0.1 <2.3.2
Fix Suggestion:
Update to version 2.3.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/micromatch/picomatch.git (GITHUB):
Affected version(s) >=1.0.1 <2.3.2
Fix Suggestion:
Update to version 2.3.2
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
picomatch (NPM):
Affected version(s) >=1.0.0 <2.3.2
Fix Suggestion:
Update to version 2.3.2
picomatch (NPM):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
picomatch (NPM):
Affected version(s) >=1.0.0 <2.3.2
Fix Suggestion:
Update to version 2.3.2
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
picomatch (NPM):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
picomatch (NPM):
Affected version(s) >=3.0.0 <3.0.2
Fix Suggestion:
Update to version 3.0.2
picomatch (NPM):
Affected version(s) >=1.0.0 <2.3.2
Fix Suggestion:
Update to version 2.3.2
picomatch (NPM):
Affected version(s) >=1.0.0 <2.3.2
Fix Suggestion:
Update to version 2.3.2
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
picomatch (NPM):
Affected version(s) >=4.0.0 <4.0.4
Fix Suggestion:
Update to version 4.0.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.04