Skip to main content
VulnerabilityPublished Updated

CVE-2026-33671: Node anymatch · Picomatch is a glob matcher written JavaScript

Affects node-anymatchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-33671· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 4.0.4 : patch node-anymatch soon.

Data as of 24 Nov 2026, 21:15 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 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.4
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: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSnode-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=resoluteOther threatsAffected
  • =3.1.3+~cs4.6.1-2
  • =3.1.3+~cs8.0.6-1
Fixed in–
Ubuntu 25.10node-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=questingOther threatsAffected
  • =3.1.3+~cs4.6.1-2
Fixed in–
Ubuntu 24.04 LTSnode-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=nobleOther threatsAffected
  • =3.1.3+~cs4.6.1-2
Fixed in–
Ubuntu 22.04 LTSnode-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=jammyOther threatsAffected
  • =3.1.1+~2.2.2-1
  • =3.1.2+~cs4.5.6-1
Fixed in–
Ubuntu 20.04 LTSnode-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=focalOther threatsAffected
  • =3.0.3+~2.0.7-3
  • =3.1.1+~2.1.1-1
Fixed in–
Ubuntu 18.04 LTSnode-anymatchpkg:deb/ubuntu/node-anymatch?arch=source&distro=bionicOther threatsAffected
  • =1.3.0-1
Fixed in–

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

Description

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.

References

Community reviews

Loading reviews…