npm / picomatch
picomatch
What changed in picomatch 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
5 security6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpicomatch 411 changes
Security 5
Fixes the security issue identified as CVE-2026-33671.
Fixes the security issue identified as CVE-2026-33672.
Picomatch has a ReDoS vulnerability via extglob quantifiers
Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching
Fixes the security issues identified as CVE-2026-33671 and CVE-2026-33672.
Fixes and other changes 6
Fixed handling of terminal globstars in parenthesized patterns.
Returns complete pattern parts from scan.
Scans the full pattern when tokens are requested.
Rewriting risky repeated extglobs now preserves all branches.
The windows option is now honored when matching basenames.
Fixes an exception when a glob pattern contains a constructor.