
CVE catalog
CVE-2026-33672
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 obje
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.43% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-anymatch | sid | 3.1.3+~cs8.0.6-1 | fixed |
| Debian | node-anymatch | forky | 3.1.3+~cs8.0.6-1 | fixed |
| Debian | node-anymatch | trixie | 3.1.3+~cs4.6.1-2 | vulnerable |
| Debian | node-anymatch | bookworm | 3.1.3+~cs4.6.1-2 | vulnerable |
| Cpe | node-anymatch | Not reported | Not reported | vulnerable |
| Cpe | picomatch | Not reported | 2.3.2 | fixed |
| Cpe | picomatch | Not reported | 3.0.2 | fixed |
| Cpe | picomatch | Not reported | 4.0.4 | fixed |
| Npm | picomatch | Not reported | 2.3.2 | fixed |
| Npm | picomatch | Not reported | 3.0.2 | fixed |
| Npm | picomatch | Not reported | 2.3.2 | fixed |
| Ubuntu | node-anymatch | 18.04 | 1.3.0-1 | vulnerable |
| Ubuntu | node-anymatch | 20.04 | 3.0.3+~2.0.7-3 | vulnerable |
| Ubuntu | node-anymatch | 20.04 | 3.1.1+~2.1.1-1 | vulnerable |
| Ubuntu | node-anymatch | 22.04 | 3.1.1+~2.2.2-1 | vulnerable |
| Ubuntu | node-anymatch | 22.04 | 3.1.2+~cs4.5.6-1 | vulnerable |
| Ubuntu | node-anymatch | 24.04 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 25.10 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 26.04 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 26.04 | 3.1.3+~cs8.0.6-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-anymatch | source | sid | 3.1.3+~cs8.0.6-1 | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | forky | 3.1.3+~cs8.0.6-1 | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | trixie | (unfixed) | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | bookworm | (unfixed) | not yet assigned | Not reported | [1132160] |
| Cpe | picomatch | cpe | Not reported | 2.3.2 | Not reported | Not reported | Not reported |
| Cpe | picomatch | cpe | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Cpe | picomatch | cpe | Not reported | 4.0.4 | Not reported | Not reported | Not reported |
| Npm | picomatch | npm | Not reported | 2.3.2 | Not reported | GHSA-3V7F-55P6-F55P | Not reported |
| Npm | picomatch | npm | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Npm | picomatch | npm | Not reported | 2.3.2 | Not reported | Not reported | Not reported |
Notes
[trixie] node-anymatch: Minor issue [bookworm] node-anymatch: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-anymatch]Affected
Details (2)
3.1.3+~cs4.6.1-2· all · bookwormAffected
nvd · node-anymatch · debian · bookworm; nvd · node-anymatch · debian · 12
3.1.3+~cs4.6.1-2· all · bookwormAffected
nvd · node-anymatch · debian · bookworm; nvd · node-anymatch · debian · 12
[Debian 13 (Trixie)]
- [node-anymatch]Affected
Details (2)
3.1.3+~cs4.6.1-2· all · trixieAffected
nvd · node-anymatch · debian · 13
3.1.3+~cs4.6.1-2· all · trixieAffected
nvd · node-anymatch · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-33672]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-33672]
- [https://osv.dev/vulnerability/GHSA-3v7f-55p6-f55p]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-33672]
- [https://security-tracker.debian.org/tracker/CVE-2026-33672]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33672.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2933.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]