CVE-2026-33672
Last modified
CVE-2026-33672 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jonschlinkert | Picomatch | < 2.3.2 |
| Jonschlinkert | Picomatch | >= 3.0.0, < 3.0.2 |
| Jonschlinkert | Picomatch | >= 4.0.0, < 4.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33672?
How severe is CVE-2026-33672?
How do I fix CVE-2026-33672?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33667OpenProject is an open-source project management application…7.4
- CVE-2026-33668Vikunja is an open-source self-hosted task management platfo…8.1
- CVE-2026-33669SiYuan is a personal knowledge management system. Prior to v…7.5
- CVE-2026-3367The Lockme OAuth2 calendars integration plugin for WordPress…4.4
- CVE-2026-33670SiYuan is a personal knowledge management system. Prior to v…7.5
- CVE-2026-33671Picomatch is a glob matcher written JavaScript. Versions pri…7.5
- CVE-2026-33673PrestaShop is an open source e-commerce web application. Ver…5.4
- CVE-2026-33674PrestaShop is an open source e-commerce web application. Ver…5.3
- CVE-2026-33675Vikunja is an open-source self-hosted task management platfo…5.4
- CVE-2026-33676Vikunja is an open-source self-hosted task management platfo…6.5
- CVE-2026-33677Vikunja is an open-source self-hosted task management platfo…6.5
- CVE-2026-33678Vikunja is an open-source self-hosted task management platfo…8.1
Are you affected by CVE-2026-33672?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
