Skip to main content
VulnerabilityPublished Updated

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

Affects node-anymatchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-33672· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 4.0.4 : update node-anymatch when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% 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:L/A:N

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 a method injection vulnerability affecting the `POSIX_REGEX_SOURCE` object. Because the object inherits from `Object.prototype`, specially crafted POSIX bracket expressions (e.g., `[[:constructor:]]`) can reference inherited method names. These methods are implicitly converted to strings and injected into the generated regular expression. This leads to incorrect glob matching behavior (integrity impact), where patterns may match unintended filenames. The issue does not enable remote code execution, but it can cause security-relevant logic errors in applications that rely on glob matching for filtering, validation, or access control. All users of affected `picomatch` versions that process untrusted or user-controlled glob patterns are potentially impacted. 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 sanitizing or rejecting untrusted glob patterns, especially those containing POSIX character classes like `[[:...:]]`; avoiding the use of POSIX bracket expressions if user input is involved; and manually patching the library by modifying `POSIX_REGEX_SOURCE` to use a null prototype.

References

Community reviews

Loading reviews…