CVE Database›Document archive›CVE-2026-33672

CVE-2026-33672

picomatch: Picomatch: Data integrity compromised via method injection with crafted POSIX bracket expressions

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · March 27, 2026

Updated · October 21, 2026

Description

A flaw was found in picomatch, a JavaScript glob matcher. A remote attacker could exploit a method injection vulnerability by providing specially crafted POSIX bracket expressions, such as [[:constructor:]]. This allows the attacker to inject inherited method names into generated regular expressions, leading to incorrect glob matching behavior. This issue can cause security-relevant logic errors in applications that use picomatch for filtering, validation, or access control, potentially compromising data integrity.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, applications should sanitize or reject untrusted glob patterns, particularly those containing POSIX character classes like [[:...:]]. Avoid using POSIX bracket expressions if user input is involved. No service restart or reload is typically required for this operational control, but applications should be re-evaluated to ensure proper input handling.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CWE-624 · Executable Regular Expression Error