# CVE-2026-140006: minimatch: minimatch.escape() output matches more or less than the literal input

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-c859-jr93-m5j4, CGA-6gp6-gphq-6gm5, CGA-9vwf-95hc-mpr6, CGA-j297-mhp5-4hpx, CGA-mxgh-jr37-qwg3, CGA-55vw-29vq-v4px, CGA-79qf-r5cx-6534, CGA-mf56-gg88-xp88, CGA-r58w-m2xc-rp9j, CGA-vfxr-vjx3-48c8, DEBIAN-CVE-2026-140006, CGA-295f-7v43-p7qh, CGA-3hrw-q4g5-gg9r, CGA-4vc9-f576-vrqr, CGA-5gvp-9994-927w, CGA-5mg9-43vc-chxj, CGA-5pc9-hjcj-9c6x, CGA-62qq-657j-95hg, CGA-637j-v2h3-f7q5, CGA-6883-75m9-gjpv, CGA-7cjj-7m9m-rj3x, CGA-884f-j79v-cgf7, CGA-8rrp-gpxw-mwfg, CGA-9fwg-rqm5-5f9v, CGA-c6xr-qmg2-772w, CGA-chrx-2vfw-h649, CGA-cjf8-2qc4-wpmp, CGA-f322-fg6w-rh7q, CGA-fh32-g36x-hvgv, CGA-h5ph-p4wm-j97x, CGA-h7cp-p7rq-m37h, CGA-h9j2-wqrh-vr6f, CGA-hwhm-5wgm-wh8f, CGA-j73x-ph9p-vmp8, CGA-j8g7-8vjm-r6p5, CGA-j9cp-8xxf-8rpq, CGA-mqp7-gxqm-8926, CGA-mxgw-rp73-4vjv, CGA-p742-879c-79rg, CGA-pr42-qxfg-6fc3, CGA-qxrx-mwgv-5h8w, CGA-r3p6-pc29-qmph, CGA-rgqr-fg74-xm89, CGA-w69x-234w-p669, CGA-w872-cx66-8rh3, CGA-wggc-q2pw-qx3m, CGA-x8q8-w57q-h7cq, CGA-xmq4-98rj-pw45, CGA-xqfr-4x5f-9mv3, CGA-xv8r-mjfp-r63p, CGA-2239-3wcx-4r45, CGA-2jwr-gmmj-x5hm, CGA-2m45-jw67-jc7f, CGA-2mg5-w782-w758, CGA-2qpc-wmvr-mqj7, CGA-32pv-4f4w-364v, CGA-34cq-jvg6-xgc6, CGA-36hm-x7hj-5r2x, CGA-3cf7-ww3j-rhww, CGA-4994-49j8-8m87, CGA-4hgh-w6mq-w964, CGA-4q54-f95r-6vmp, CGA-4rx8-gr5c-jw34, CGA-54fg-xcr5-hx67, CGA-56x4-x6rj-vmv6, CGA-58jg-225x-qq63, CGA-5h77-pc5r-3vx9, CGA-5mv3-x5j7-6q2f, CGA-5qgm-fhf5-j5v2, CGA-5wrq-433f-9fr4, CGA-5wvv-7r7r-qph6, CGA-626p-h6hh-5v33, CGA-64jm-93fx-66rg, CGA-64mx-p4jw-pq85, CGA-6785-2m6h-9g83, CGA-684v-2f5v-qc5j, CGA-6gw3-923p-cg2f, CGA-6h7h-h9hr-589c, CGA-72fq-3xhf-cg72, CGA-7pch-cm94-xhrg, CGA-7w32-mrh8-qr69, CGA-84c7-gfr9-j644, CGA-84p5-fm56-vxh3, CGA-85qv-333p-6qg4, CGA-8622-g382-q4xh, CGA-8739-qpwf-3m72, CGA-8pw9-xcjf-4545, CGA-8qwg-wgw5-76q9, CGA-8w74-x3pc-mq52, CGA-9388-25h5-9xvc, CGA-938j-fxx3-m5x7, CGA-94wp-5r6m-xpc9, CGA-9f2f-fpqw-c737, CGA-9vq4-9v6h-rgj4, CGA-c7c3-w5wg-ccgw, CGA-c7x6-jm8r-w9qg, CGA-cg7j-6cp3-7j8f, CGA-cmww-6vc4-x46r, CGA-f43f-p564-x9x3, CGA-f4g5-v5hf-v9qv, CGA-f88h-j45v-9px2, CGA-f8jh-jmff-w999, CGA-fchx-86gj-3h5r, CGA-fcm3-q5vg-g7pf, CGA-fjqh-59x9-p639, CGA-fqmm-5gmq-5pf5, CGA-frrp-5jx9-m2g4, CGA-g297-947x-5xh2, CGA-g4jh-jpvm-xcgx, CGA-g7qg-x798-fvxp, CGA-gcx2-p5vp-c3cx, CGA-gfqq-7ww2-6mfj, CGA-gh6h-53qv-3xcj, CGA-h5w2-44r4-9pqq, CGA-h5xj-m8v5-fch7, CGA-hv6m-hmxc-7cj4, CGA-hx3x-39fg-hg7x, CGA-j49x-q8qp-6hjv, CGA-j5cq-pr8m-6c8q, CGA-j5r7-grpv-6qgh, CGA-j6x6-2vrw-8xgj, CGA-j7cq-q9hp-7mpv, CGA-j9vc-6q5j-g25v, CGA-jcv4-gc83-8xmf, CGA-jj2g-vpc5-3wxr, CGA-jj4h-hm6c-qf9c, CGA-jqv2-jh5h-qf2p, CGA-m43r-98wc-2292, CGA-m5rh-c47p-9p22, CGA-m77m-j4mp-533x, CGA-m84m-2m9f-477m, CGA-m8g7-xr3m-3x6c, CGA-mcxh-vm57-684r, CGA-mf27-5h6r-9qhv, CGA-mqhx-pj5j-h97m, CGA-mv62-xv24-crw3, CGA-p3p3-65c9-78xg, CGA-p5h4-32f7-pqq3, CGA-p778-rr95-92cm, CGA-pwr4-8m66-v496, CGA-px9x-223h-hjm3, CGA-q2rw-323h-6mfr, CGA-q4q2-p6r7-xcv5, CGA-q5rx-j6fx-pfv2, CGA-qc9x-qm36-3mhh, CGA-qp3p-gc8v-45c5, CGA-qq4f-gqgj-qjfw, CGA-r44c-xj4x-x9jv, CGA-r57q-75pf-qrj2, CGA-r778-vx33-p36q, CGA-r78j-4x8m-mchx, CGA-rgmm-m7fq-2vch, CGA-rmj4-w3v3-g2v5, CGA-rxh7-9w46-crgh, CGA-v4q3-57px-xp99, CGA-v74v-7fjg-gj2j, CGA-v82c-6f5c-gm85, CGA-vccc-m825-9358, CGA-vf2g-p2cj-hwpq, CGA-vfcf-h7c2-jj3w, CGA-vhp5-p4hp-v98j, CGA-vrpq-pv28-m7mm, CGA-w32x-pqg6-5ff2, CGA-w43v-3vqg-x59q, CGA-w563-wh83-96rv, CGA-w656-j3fr-6f4w, CGA-wpf3-2437-x4jv, CGA-wq9q-prjq-c24j, CGA-x5qj-2j6q-cpw6, CGA-x8fm-8g7g-5hww, CGA-xg33-57w5-wcpx, CGA-xpm9-3c6m-4rm8, CGA-xq6j-gh2w-hw9w, CGA-xqjw-v7jf-89v4, CGA-xwqx-4fh4-f344, CGA-256j-79q3-xgc2, CGA-2cpq-pjjf-gxcm, CGA-2x43-9qwh-h5rv, CGA-2xqj-5rcr-2pq7, CGA-39rj-m8c3-3vxj, CGA-3f9v-cmv8-c4v5, CGA-3mx3-vq57-f9v7, CGA-4rgv-pvq2-wf6j, CGA-5mcf-cpm4-gjjm, CGA-5p99-fjfh-c4q9, CGA-hvf2-9f4f-872f, CGA-jxh4-33pf-hv96, CGA-rx7p-crjw-7p7h, CGA-cgwx-h83j-pw86, CGA-87wf-ffvf-x462, CGA-cfx4-pg5j-rgx6, CGA-fprv-2229-4983, CGA-gpcv-grj2-qjfv, CGA-jv46-w8jh-5x98, CGA-rrx3-w5x2-7r47, UBUNTU-CVE-2026-140006, CGA-r64h-9vc6-8p29, CGA-6235-xcwg-2q3p, CGA-f63h-854f-74vh
- Record: https://cvemate.com/vulnerability/CVE-2026-140006 · JSON: https://cvemate.com/vulnerability/CVE-2026-140006/json

## Description

```text
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied literal input: leading ! can become negation, leading # can become a comment, braceExpand() can collapse an escaped backslash and reactivate a following magic character when an expanded brace group is present and the installed brace-expansion release has the affected behavior (2.x or 5.0.4 through 5.0.12), and windowsPathsNoEscape combined with magicalBraces can leave braces active. Applications that escape attacker-controlled text and then use the result as an authorization, filtering, or path-selection pattern may match unintended strings or fail to match the intended literal. This issue is fixed in version 11.0.8.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.43%, percentile 39.092%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 85)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded)
- chainguard argo-workflows-ui-3.7 (Chainguard): All versions (No fix recorded)
- chainguard authentik-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-2026.2 (Chainguard): All versions (No fix recorded) \| \< 2026.2.7-r21
- chainguard authentik-2026.5 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.5 (Chainguard): All versions (No fix recorded) \| \< 2026.5.9-r4
- chainguard bash-language-server (Chainguard): All versions (No fix recorded) \| \< 5.8.1-r3
- chainguard cdxgen-slim (Chainguard): All versions (No fix recorded)
- chainguard codeceptjs-codeceptjs (Chainguard): All versions (No fix recorded) \| \< 4.2.7-r1
- chainguard dotstatsuite-supercore (Chainguard): All versions (No fix recorded) \| \< 3.1.0\_git20261022-r10
- chainguard eco-jess (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.1-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.1.3-r11
- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.2.4-r10

## References

- <https://github.com/isaacs/minimatch/security/advisories/GHSA-c859-jr93-m5j4>
- <https://github.com/isaacs/minimatch/commit/784603e09641970d2ba2caf8c73a95d1015cc67d>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140006>
- <https://github.com/isaacs/minimatch>
- <https://security-tracker.debian.org/tracker/CVE-2026-140006>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140006.json>
- <https://ubuntu.com/security/CVE-2026-140006>
- <https://www.cve.org/CVERecord?id=CVE-2026-140006>

---

Data as of 2026-12-05T06:45:05.439Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
