CVE-2026-33672 Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
125 packages: 3 fixed, 1 partially fixed, 120 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-anymatch(Debian 12) | = 3.1.3+~cs4.6.1-2; = 3.1.3+~cs8.0.5-1; = 3.1.3+~cs8.0.6-1; All versions | No fix listed | No fix yet |
| debian/node-anymatch(Debian 13) | = 3.1.3+~cs4.6.1-2; = 3.1.3+~cs8.0.5-1; = 3.1.3+~cs8.0.6-1; All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel7(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel9(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp20/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp21/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp22/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp24/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp25/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp26/system(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/advanced-cluster-security/rhacs-main-rhel8(Red Hat advanced_cluster_security 4) | All versions | No fix listed | No fix yet |
| redhat/automation-eda-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/grafana(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/linux-sgx(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/linux-sgx(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/mta/mta-ui-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs-nodemon(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/nodejs-sass(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/nodejs22(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/nodejs24(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/nodejs:20/nodejs-nodemon(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:20/nodejs-nodemon(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22/nodejs(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22/nodejs(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22/nodejs-nodemon(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22/nodejs-nodemon(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
… and 95 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux nodejs24(Azure Linux:3.0) | All versions | No fix listed |
| azure linux nodejs24(Azure Linux:3.0) | < 24.14.1-2 | 24.14.1-2 |
| micromatch picomatch | = >= 4.0.0, < 4.0.4 | No fix listed |
| micromatch picomatch | = >= 3.0.0, < 3.0.2 | No fix listed |
| micromatch picomatch | = < 2.3.2 | No fix listed |
| npm picomatch(npm) | >= 4.0.0, < 4.0.4 | 4.0.4 |
| npm picomatch(npm) | >= 3.0.0, < 3.0.2 | 3.0.2 |
| npm picomatch(npm) | < 2.3.2 | 2.3.2 |
| debian/node-anymatch(Debian:12) | All versions | No fix listed |
| debian/node-anymatch(Debian:12) | = 3.1.3+~cs4.6.1-2 | No fix listed |
| debian/node-anymatch(Debian:12) | = 3.1.3+~cs8.0.5-1 | No fix listed |
| debian/node-anymatch(Debian:12) | = 3.1.3+~cs8.0.6-1 | No fix listed |
| debian/node-anymatch(Debian:13) | All versions | No fix listed |
| debian/node-anymatch(Debian:13) | = 3.1.3+~cs4.6.1-2 | No fix listed |
| debian/node-anymatch(Debian:13) | = 3.1.3+~cs8.0.5-1 | No fix listed |
| debian/node-anymatch(Debian:13) | = 3.1.3+~cs8.0.6-1 | No fix listed |
| debian/node-anymatch(Debian:14) | < 3.1.3+~cs8.0.6-1 | 3.1.3+~cs8.0.6-1 |
| debian/node-anymatch(Debian:14) | = 3.1.3+~cs4.6.1-2 | No fix listed |
| debian/node-anymatch(Debian:14) | = 3.1.3+~cs8.0.5-1 | No fix listed |
| redhat/rhceph/rhceph-9-rhel10:1790843527(Red Hat:ceph_storage:9.2::el10) | All versions | No fix listed |
| redhat/odf4/cephcsi-rhel9:1786705347(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/cephcsi-rhel9-operator:1786706101(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/mcg-core-rhel9:1786705558(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/mcg-rhel9-operator:1786705646(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1786706138(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
Show 116 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/odf4/ocs-client-rhel9-operator:1786705741(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/ocs-metrics-exporter-rhel9:1786705777(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/ocs-rhel9-operator:1786705802(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-cli-rhel9:1786705938(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1786706577(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-cosi-sidecar-rhel9:1786706125(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-csi-addons-rhel9-operator:1786706177(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-csi-addons-sidecar-rhel9:1786706188(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1786706679(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-rhel9-operator:1786706357(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-must-gather-rhel9:1786706612(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odf-rhel9-operator:1786706644(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/odr-rhel9-operator:1786706659(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/rook-ceph-rhel9-operator:1786706880(Red Hat:openshift_data_foundation:4.18::el9) | All versions | No fix listed |
| redhat/odf4/cephcsi-rhel9:1787057250(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/cephcsi-rhel9-operator:1787057964(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/devicefinder-rhel9:1787057603(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/mcg-core-rhel9:1787058450(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/mcg-rhel9-operator:1787057989(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-console-rhel9:1787059853(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/ocs-client-rhel9-operator:1787057849(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/ocs-metrics-exporter-rhel9:1787060257(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/ocs-rhel9-operator:1787058278(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-blackbox-exporter-rhel9:1787058658(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-cli-rhel9:1787058706(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-cloudnative-pg-rhel9-operator:1787058403(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1787059072(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-cosi-sidecar-rhel9:1787058807(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-csi-addons-rhel9-operator:1787058588(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-csi-addons-sidecar-rhel9:1787058970(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-drbd-rhel9:1787059538(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-external-snapshotter-rhel9-operator:1787059616(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-external-snapshotter-sidecar-rhel9:1787061098(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-lightspeed-rag-content-rhel9:1787059085(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-console-rhel9:1787059621(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-multicluster-rhel9-operator:1787059386(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-must-gather-rhel9:1787060080(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odf-rhel9-operator:1787060105(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odr-rhel9-operator:1787059493(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odr-volsync-plugin-mover-rhel9:1787060201(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/odr-volsync-plugin-rhel9-operator:1787060274(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/odf4/rook-ceph-rhel9-operator:1787061554(Red Hat:openshift_data_foundation:4.22::el9) | All versions | No fix listed |
| redhat/picomatch(Red Hat:cryostat:4) | All versions | No fix listed |
| redhat/mta/mta-ui-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-remediation-console-rhel9(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/3scale-amp20/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp21/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp22/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp24/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp25/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp26/system(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel7(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/advanced-cluster-security/rhacs-main-rhel8(Red Hat:advanced_cluster_security:4) | All versions | No fix listed |
| redhat/picomatch(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/picomatch(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/picomatch(Red Hat:service_registry:2) | All versions | No fix listed |
| redhat/picomatch(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/picomatch(Red Hat:optaplanner:::el6) | All versions | No fix listed |
| redhat/podman-desktop-macos-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/podman-desktop-windows-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jboss_data_grid:8) | All versions | No fix listed |
| redhat/linux-sgx(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/nodejs22(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/nodejs24(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/nodejs-nodemon(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rust(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:20/nodejs-nodemon(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:22/nodejs(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:22/nodejs-nodemon(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:24/nodejs(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:24/nodejs-nodemon(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/pcs(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/linux-sgx(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:20/nodejs-nodemon(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:22/nodejs(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:22/nodejs-nodemon(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:24/nodejs(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:24/nodejs-nodemon(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/pcs(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rust(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/ose-console(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-monitoring-plugin-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/openshift-gitops-1/argocd-rhel8(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/openshift-gitops-1/argocd-rhel9(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/picomatch(Red Hat:jboss_bpms:7) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/quay/quay-rhel9(Red Hat:quay:3) | All versions | No fix listed |
| redhat/nodejs-sass(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/picomatch(Red Hat:red_hat_single_sign_on:7) | All versions | No fix listed |
| redhat/rhtas/rekor-search-ui-rhel9(Red Hat:trusted_artifact_signer:1) | All versions | No fix listed |
| redhat/picomatch(Red Hat:amq_streams:2) | All versions | No fix listed |
| redhat/picomatch(Red Hat:amq_streams:3) | All versions | No fix listed |
| ubuntu/node-anymatch(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-anymatch(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-anymatch(Ubuntu:26.04) | All versions | No fix listed |
| jonschlinkert picomatch | < 2.3.2 | 2.3.2 |
| jonschlinkert picomatch | >= 3.0.0, < 3.0.2 | 3.0.2 |
| jonschlinkert picomatch | >= 4.0.0, < 4.0.4 | 4.0.4 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- https://github.com/micromatch/picomatch/security/advisories/GHSA-3v7f-55p6-f55p patch vendor-advisory
- https://github.com/micromatch/picomatch/commit/4516eb521f13a46b2fe1a1d2c9ef6b20ddc0e903 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-33672 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:86618 patch vendor-advisory
- RHSA-2026:56431 patch vendor-advisory
- RHSA-2026:56928 patch vendor-advisory
- Red Hat Bugzilla 2451993 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product