Skip to content
Fencer Vulns
medium 5.3

CVE-2026-33672 json

Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching

published 2026-03-25 7 mo ago modified 2026-09-10 1 mo ago also GHSA-3v7f-55p6-f55p , EUVD-2026-16438

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 37%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm picomatch 2.3.2, 3.0.2, 4.0.4
  • jonschlinkert picomatch 2.3.2, 3.0.2, 4.0.4
  • node-anymatch Debian 14 3.1.3+~cs8.0.6-1

debian advisories DEBIAN-CVE-2026-33672

  • nodejs24 Azure Linux 3.0 24.14.1-2

azure linux advisories AZL-81038

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-33672 updated cvss 5.3

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

  • Red Hat Cryostat 4 picomatch Red Hat Migration Toolkit for Applications 8 mta/mta-ui-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel9, workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp20/system, 3scale-amp21/system, 3scale-amp22/system, 3scale-amp24/system, 3scale-amp25/system, 3scale-amp26/system, +3 more Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat AMQ Broker 7 picomatch
    +8 more products
    Red Hat Ansible Automation Platform 2 automation-gateway, automation-platform-ui, automation-eda-controller Red Hat build of Apache Camel - HawtIO 4 picomatch Red Hat build of Apicurio Registry 2 picomatch Red Hat Build of Keycloak picomatch Red Hat build of OptaPlanner 8 picomatch Red Hat Build of Podman Desktop podman-desktop-macos-1-0, podman-desktop-windows-1-0 Red Hat Data Grid 8 picomatch Red Hat Enterprise Linux 8 npm, pcs, nodejs, grafana, pcs-snmp, nodejs-libs, +17 more
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 9 npm, pcs, rust, cargo, clippy, nodejs, +25 more
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 10 rust, nodejs22, nodejs24, linux-sgx, nodejs-nodemon Red Hat Fuse 7 picomatch Red Hat JBoss Enterprise Application Platform 7 picomatch Red Hat JBoss Enterprise Application Platform 8 picomatch Red Hat JBoss Enterprise Application Platform Expansion Pack picomatch Red Hat OpenShift AI (RHOAI) rhoai/odh-data-science-pipelines-argo-argoexec-rhel8, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8
    +10 more products
    Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-console-rhel9, openshift4/ose-monitoring-plugin-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9 Red Hat Process Automation 7 picomatch Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 nodejs-sass Red Hat Single Sign-On 7 picomatch Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat streams for Apache Kafka 2 picomatch Red Hat streams for Apache Kafka 3 picomatch
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527
    fixed: vendor fix RHSA-2026:86618
  • Red Hat Openshift Data Foundation 4.18 odf4/cephcsi-rhel9 1786705347, odf4/odf-cli-rhel9 1786705938, odf4/mcg-core-rhel9 1786705558, odf4/odf-console-rhel9 1786706577, odf4/mcg-rhel9-operator 1786705646, odf4/ocs-rhel9-operator 1786705802, +13 more
    fixed: vendor fix RHSA-2026:56431
  • Red Hat Openshift Data Foundation 4.22 odf4/cephcsi-rhel9 1787057250, odf4/odf-cli-rhel9 1787058706, odf4/mcg-core-rhel9 1787058450, odf4/odf-drbd-rhel9 1787059538, odf4/odf-console-rhel9 1787059072, odf4/devicefinder-rhel9 1787057603, +22 more
    fixed: vendor fix RHSA-2026:56928
  • Red Hat Ceph Storage 9.2 rhceph/alloy-rhel10 1790774976, rhceph/grafana-rhel10 1790774121, rhceph/keepalived-rhel10 1790842990, rhceph/oauth2-proxy-rhel10 1790774021, rhceph/snmp-notifier-rhel10 1790773439, rhceph/rhceph-haproxy-rhel10 1790846345 Red Hat Openshift Data Foundation 4.18 odf4/mcg-operator-bundle 1786708633, odf4/ocs-operator-bundle 1786708778, odf4/odf-operator-bundle 1786709119, odf4/cephcsi-operator-bundle 1786708508, odf4/odr-hub-operator-bundle 1786709184, odf4/rook-ceph-operator-bundle 1786709254, +7 more Red Hat Openshift Data Foundation 4.22 odf4/mcg-operator-bundle 1787065167, odf4/ocs-operator-bundle 1787066001, odf4/odf-operator-bundle 1787066421, odf4/cephcsi-operator-bundle 1787065131, odf4/odr-hub-operator-bundle 1787066815, odf4/rook-ceph-operator-bundle 1787067321, +10 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
7 mo ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm picomatch
>=4.0.0, <4.0.4
>=3.0.0, <3.0.2
<2.3.2
4.0.4
3.0.2
2.3.2

Affected products

  • micromatch picomatch

Classification

Weakness
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.