Every CVESearch/Get API key

CVE-2026-137196

Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`

Explain with AI
ChatGPTClaudeGoogle AI
Severity
6.3Medium
Network attack, no privileges, no user interactionCVSS 4.0, CVE List
Exploitation
Proof of concept
CISA reports one, no source links it
Exploit chance
0.83% in 30 days
Percentile58th
EPSS, scored
Listed fix
14.0.6 for glob (npm)
From GitHub Advisories and OSV42 other affected packages

Overview

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

CVSS 4.0 vector

Exploitability

Attack vector
Network
Complexity
Low
Attack requirements
Present
Privileges needed
None
User interaction
None

Impact on the vulnerable system

Confidentiality
None
Integrity
None
Availability
Low

Impact on subsequent systems

Confidentiality
None
Integrity
None
Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploit chance over time

Unchanged since Dec 1, 2026
EPSS score 0.83% every day from Dec 1, 2026 to Dec 4, 2026.

Affected

Packages 43

Affected packages
PackageAffectedFixed
glob
npm
13.0.5 to 14.0.5
14.0.6
13.0.5 up to 14.0.6
14.0.6
glob
TuxCare:npm
11.1.0-tuxcare.0 up to 11.1.0-tuxcare.2, plus listed versions
11.1.011.1.0-tuxcare.1
11.1.0-tuxcare.2
13.0.7-tuxcare.0 up to 13.0.7-tuxcare.2, plus listed versions
13.0.713.0.7-tuxcare.1
13.0.7-tuxcare.2
node-glob
Debian:12
All versions, plus listed versions
10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4
Show 12 more versionsShow less
10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.0.3+~cs8.4.15-18.0.3+~cs8.4.15-28.0.3+~cs8.4.15-38.0.3+~cs8.4.15-48.1.0+~cs8.5.15-1
None listed
node-glob
Debian:13
All versions, plus listed versions
10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4
Show 8 more versionsShow less
10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.1.0+~cs8.5.15-1
None listed
node-glob
Debian:14
All versions, plus listed versions
10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4
Show 8 more versionsShow less
10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.1.0+~cs8.5.15-1
None listed
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
Show 35 more packagesShow less
Affected packages
PackageAffectedFixed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
kyverno-policy-reporter-ui
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 18 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r6
None listed
logto-1
Docker Hardened Images:Alpine:3.23
1.45.0-r0 and later, plus listed versions
1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0
Show 6 more versionsShow less
1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r6
None listed
logto-1
Docker Hardened Images:Alpine:3.24
1.45.0-r0 and later, plus listed versions
1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0
Show 6 more versionsShow less
1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r6
None listed
mapbox-mcp
Docker Hardened Images:Alpine:3.23
0.14.0-r1 and later, plus listed versions
0.14.0-r20.14.0-r30.14.0-r40.15.0-r00.15.1-r0
Show 12 more versionsShow less
0.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r60.17.0-r00.18.0-r00.18.1-r0
None listed
mapbox-mcp
Docker Hardened Images:Alpine:3.24
0.14.0-r1 and later, plus listed versions
0.14.0-r20.14.0-r30.14.0-r40.15.0-r00.15.1-r0
Show 12 more versionsShow less
0.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r60.17.0-r00.18.0-r00.18.1-r0
None listed
npm-12
Docker Hardened Images:Alpine:3.23
12.0.2-r0 and later, plus listed versions
12.1.0-r012.2.0-r012.2.1-r012.2.1-r112.2.2-r0
Show 5 more versionsShow less
12.2.2-r112.2.2-r212.2.3-r012.2.3-r112.2.3-r2
None listed
npm-12
Docker Hardened Images:Alpine:3.24
12.0.2-r0 and later, plus listed versions
12.1.0-r012.2.0-r012.2.1-r012.2.1-r112.2.2-r0
Show 5 more versionsShow less
12.2.2-r112.2.2-r212.2.3-r012.2.3-r112.2.3-r2
None listed
npm
Docker Hardened Images:Alpine:3.23
11.8.0-r0 and later, plus listed versions
11.10.0-r011.10.1-r011.11.0-r011.11.1-r011.12.0-r0
Show 25 more versionsShow less
11.12.1-r111.13.0-r011.14.0-r011.14.1-r011.15.0-r011.16.0-r011.17.0-r011.18.0-r011.19.0-r011.19.0-r111.19.0-r211.19.1-r011.20.0-r011.21.0-r011.21.1-r011.21.1-r111.21.2-r011.21.2-r111.21.2-r211.21.3-r011.21.3-r111.21.3-r211.9.0-r012.0.2-r012.1.0-r0
None listed
npm
Docker Hardened Images:Alpine:3.24
11.16.0-r1 and later, plus listed versions
11.17.0-r011.18.0-r011.18.0-r111.19.0-r011.19.0-r1
Show 13 more versionsShow less
11.19.1-r011.20.0-r011.21.0-r011.21.1-r011.21.1-r111.21.2-r011.21.2-r111.21.2-r211.21.3-r011.21.3-r111.21.3-r212.0.2-r012.1.0-r0
None listed
renovate-44
Docker Hardened Images:Alpine:3.23
44.190.0-r0 and later, plus listed versions
44.190.0-r144.206.0-r044.218.0-r044.224.1-r044.224.2-r0
Show 36 more versionsShow less
44.225.1-r044.225.2-r044.226.2-r044.227.2-r044.227.4-r044.230.1-r044.235.1-r044.235.4-r044.236.4-r044.237.3-r044.239.0-r044.239.1-r044.241.0-r044.242.0-r044.247.1-r044.247.2-r044.249.3-r044.251.0-r044.252.2-r044.252.8-r044.253.4-r044.255.2-r044.256.1-r044.257.0-r044.257.5-r044.257.6-r044.257.9-r044.259.0-r044.260.1-r044.261.1-r044.262.1-r044.262.2-r044.263.2-r044.263.5-r044.263.5-r144.264.1-r0
None listed
renovate-44
Docker Hardened Images:Alpine:3.24
44.190.0-r0 and later, plus listed versions
44.190.0-r144.206.0-r044.218.0-r044.224.1-r044.224.2-r0
Show 36 more versionsShow less
44.225.1-r044.225.2-r044.226.2-r044.227.2-r044.227.4-r044.230.1-r044.235.1-r044.235.4-r044.236.4-r044.237.3-r044.239.0-r044.239.1-r044.241.0-r044.242.0-r044.247.1-r044.247.2-r044.249.3-r044.251.0-r044.252.2-r044.252.8-r044.253.4-r044.255.2-r044.256.1-r044.257.0-r044.257.5-r044.257.6-r044.257.9-r044.259.0-r044.260.1-r044.261.1-r044.262.1-r044.262.2-r044.263.2-r044.263.5-r044.263.5-r144.264.1-r0
None listed
supabase-storage
Docker Hardened Images:Alpine:3.23
1.74.1-r0 and later, plus listed versions
1.100.0-r01.100.1-r01.101.0-r01.101.1-r01.101.2-r0
Show 44 more versionsShow less
1.101.4-r01.74.1-r11.74.1-r21.74.1-r31.84.25-r01.84.28-r01.84.32-r01.84.33-r01.84.36-r01.85.0-r01.89.12-r01.89.12-r11.89.12-r21.89.13-r01.89.13-r11.90.0-r01.90.1-r01.90.2-r01.91.0-r01.92.0-r01.94.0-r01.94.0-r11.94.2-r01.95.0-r01.95.0-r11.96.0-r01.96.1-r01.96.2-r01.96.4-r01.97.0-r01.97.1-r01.97.2-r01.97.2-r11.98.2-r01.98.4-r01.98.5-r01.98.6-r01.98.7-r01.98.8-r01.98.9-r01.99.0-r01.99.2-r01.99.3-r01.99.5-r0
None listed
supabase-storage
Docker Hardened Images:Alpine:3.24
1.74.1-r0 and later, plus listed versions
1.100.0-r01.100.1-r01.101.0-r01.101.1-r01.101.2-r0
Show 44 more versionsShow less
1.101.4-r01.74.1-r11.74.1-r21.74.1-r31.84.25-r01.84.28-r01.84.32-r01.84.33-r01.84.36-r01.85.0-r01.89.12-r01.89.12-r11.89.12-r21.89.13-r01.89.13-r11.90.0-r01.90.1-r01.90.2-r01.91.0-r01.92.0-r01.94.0-r01.94.0-r11.94.2-r01.95.0-r01.95.0-r11.96.0-r01.96.1-r01.96.2-r01.96.4-r01.97.0-r01.97.1-r01.97.2-r01.97.2-r11.98.2-r01.98.4-r01.98.5-r01.98.6-r01.98.7-r01.98.8-r01.98.9-r01.99.0-r01.99.2-r01.99.3-r01.99.5-r0
None listed
actions-runner
Docker Hardened Images:Debian:13
2.336.0-0 and later, plus listed versions
2.336.0-12.337.0-02.337.0-12.338.0-02.338.1-0
Show 4 more versionsShow less
2.338.2-02.338.2-12.338.2-22.338.2-3
None listed
filesystem-mcp
Docker Hardened Images:Debian:13
2026.7.10-0 and later, plus listed versions
2026.8.18-02026.8.31-02026.8.31-12026.8.31-22026.8.31-42026.8.31-5
None listed
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 18 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-6
None listed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 18 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-6
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 18 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-6
None listed
kyverno-policy-reporter-ui
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 18 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-6
None listed
langfuse-3
Docker Hardened Images:Debian:13
3.225.0-0 and later, plus listed versions
3.225.0-13.225.1-03.225.1-13.225.10-03.225.11-0
Show 23 more versionsShow less
3.225.12-03.225.12-13.225.12-23.225.14-03.225.15-03.225.15-13.225.15-23.225.2-03.225.3-03.225.4-03.225.5-03.225.5-13.225.7-03.225.7-13.225.8-03.225.8-13.225.9-03.227.0-03.227.0-13.227.1-03.227.1-13.227.1-23.227.1-3
None listed
litellm
Docker Hardened Images:Debian:13
1.95.0-0 and later, plus listed versions
1.100.0-01.100.1-01.101.0-01.101.0-11.102.0-0
Show 45 more versionsShow less
1.103.0-01.103.0-11.103.2-01.103.3-01.104.1-01.104.2-01.104.3-01.105.1-01.106.0-01.106.0-11.106.0-21.106.0-31.106.0-41.106.0-51.106.0-61.106.0-71.106.0-81.106.0-91.108.0-01.108.0-11.108.1-01.108.1-11.108.3-01.108.3-11.108.4-01.108.4-11.108.4-21.109.0-01.109.1-01.109.1-11.110.0-01.110.0-11.110.1-01.110.2-01.110.2-11.110.2-21.110.3-01.110.3-11.95.0-11.96.0-01.96.2-01.96.2-11.97.0-01.98.0-01.99.0-0
None listed
logto-1
Docker Hardened Images:Debian:13
1.45.0-0 and later, plus listed versions
1.45.0-11.45.0-21.45.0-31.45.0-41.46.0-0
Show 6 more versionsShow less
1.46.0-11.46.0-21.46.0-31.46.0-41.46.0-51.46.0-6
None listed
mapbox-mcp
Docker Hardened Images:Debian:13
0.14.0-0 and later, plus listed versions
0.14.0-10.15.0-00.15.1-00.15.1-10.16.0-0
Show 6 more versionsShow less
0.16.0-10.16.0-20.16.0-30.17.0-00.18.0-00.18.1-0
None listed
npm-12
Docker Hardened Images:Debian:13
12.0.2-0 and later, plus listed versions
12.1.0-012.2.0-012.2.1-012.2.1-112.2.2-0
Show 5 more versionsShow less
12.2.2-112.2.3-012.2.3-112.2.3-212.2.3-3
None listed
npm
Docker Hardened Images:Debian:13
11.16.0-0 and later, plus listed versions
11.17.0-011.17.0-111.18.0-011.19.0-011.19.0-1
Show 15 more versionsShow less
11.19.0-211.19.0-311.19.1-011.20.0-011.21.0-011.21.1-011.21.1-111.21.2-011.21.2-111.21.3-011.21.3-111.21.3-211.21.3-312.0.2-012.1.0-0
None listed
renovate-44
Docker Hardened Images:Debian:13
44.190.0-0 and later, plus listed versions
44.190.0-144.212.0-044.219.0-044.224.2-044.225.1-0
Show 34 more versionsShow less
44.225.2-044.226.2-044.227.2-044.227.4-044.230.1-044.235.1-044.235.4-044.236.4-044.237.3-044.239.0-044.239.1-044.242.0-044.247.1-044.247.2-044.249.3-044.251.0-044.252.2-044.252.8-044.253.4-044.255.2-044.256.1-044.257.0-044.257.5-044.257.6-044.257.9-044.259.0-044.260.1-044.261.1-044.262.1-044.262.2-044.263.2-044.263.5-044.263.5-144.264.1-0
None listed
supabase-storage
Docker Hardened Images:Debian:13
1.74.1-0 and later, plus listed versions
1.100.0-01.100.1-01.101.0-01.101.1-01.101.2-0
Show 45 more versionsShow less
1.101.4-01.79.30-01.79.30-11.79.30-21.84.25-01.84.28-01.84.32-01.84.33-01.84.36-01.84.36-11.85.0-01.89.12-01.89.12-11.89.12-21.89.13-01.89.13-11.90.0-01.90.1-01.90.2-01.91.0-01.92.0-01.94.0-01.94.2-01.94.2-11.95.0-01.95.0-11.96.0-01.96.1-01.96.2-01.96.4-01.97.0-01.97.1-01.97.2-01.97.2-11.98.2-01.98.4-01.98.5-01.98.6-01.98.7-01.98.8-01.98.9-01.99.0-01.99.2-01.99.3-01.99.5-0
None listed
superset
Docker Hardened Images:Debian:13
6.1.0-0 and later, plus listed versions
6.1.0-16.1.0-106.1.0-116.1.0-126.1.0-13
Show 40 more versionsShow less
6.1.0-146.1.0-156.1.0-166.1.0-176.1.0-186.1.0-196.1.0-26.1.0-206.1.0-216.1.0-226.1.0-236.1.0-246.1.0-256.1.0-266.1.0-276.1.0-286.1.0-296.1.0-36.1.0-306.1.0-316.1.0-326.1.0-336.1.0-346.1.0-356.1.0-366.1.0-376.1.0-386.1.0-396.1.0-46.1.0-406.1.0-416.1.0-426.1.0-436.1.0-446.1.0-456.1.0-56.1.0-66.1.0-76.1.0-86.1.0-9
None listed
unleash-8
Docker Hardened Images:Debian:13
8.1.0-0 and later, plus listed versions
8.1.0-18.1.0-28.2.0-08.2.0-18.2.0-2
Show 8 more versionsShow less
8.2.0-38.2.0-48.2.1-08.3.0-08.3.1-08.3.1-18.3.1-28.3.1-3
None listed
uptime-kuma-1
Docker Hardened Images:Debian:13
1.23.17-0 and later, plus listed versions
1.23.17-11.23.17-111.23.17-21.23.17-31.23.17-4
Show 5 more versionsShow less
1.23.17-51.23.17-61.23.17-71.23.17-81.23.17-9
None listed
uptime-kuma-2
Docker Hardened Images:Debian:13
2.5.0-0 and later, plus listed versions
2.5.0-12.5.0-22.5.10-02.5.11-02.5.11-1
Show 13 more versionsShow less
2.5.11-22.5.11-32.5.12-02.5.3-02.5.3-12.5.4-02.5.5-02.5.5-12.5.6-02.5.7-02.5.7-12.5.9-02.5.9-1
None listed

The JSON record also has 3 more versions.

Products 1

Sources

CVE List Score usedCVSS 4.06.3

Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

Record
CVE-2026-137196
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-400, CWE-405, CWE-770
Updated
2026-11-30
EUVDEUVD-2026-139679CVSS 4.06.3

Glob : ignore patterns lack the braceExpandMax limit applied to pattern

Record
EUVD-2026-139679
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Updated
2026-12-01
GitHub AdvisoriesGHSA-qxr8-q827-836cCVSS 4.06.3

Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`

glob sets braceExpandMax: 10_000 when it parses pattern patterns, but the Ignore class builds its own minimatch options and omits braceExpandMax entirely, so ignore patterns fall back to minimatch's default of 100_000. Both paths force optimizationLevel: 2, which is the exact precondition for minimatch's globparts amplification (CVE-2026-118764, GHSA-g3hv-75wg-m249) — minimatch's own default is 1.

The consequence is that the same payload is rejected in milliseconds when passed as a pattern, but is accepted and burns far more CPU when passed as an ignore pattern.

Root cause

src/glob.ts:527-529 — pattern path, limit present:

const mmo: MinimatchOptions = {
  braceExpandMax: 10_000,
  ...opts,

src/ignore.ts:71-83 — ignore path, limit missing:

this.mmopts = {
  dot: true,
  nobrace,
  nocase,
  noext,
  noglobstar,
  normalize,
  optimizationLevel: 2,     // forced, and the amplification precondition
  platform,
  nocomment: true,
  nonegate: true,
  windowsPathsNoEscape,
}                            // <-- no braceExpandMax

minimatch >= 11.0.1 fixed CVE-2026-118764 by throwing a RangeError once globParts.length >= braceExpandMax. The pattern path caps rows at 10_000; the ignore path allows 100_000. The amplified rows then go through minimatch's secondPhasePreProcess(), which is O(n²) pairwise partsMatch.

Reproduction

import { Volume, createFsFromVolume } from 'memfs'
import { glob } from 'glob'

const vol = new Volume()
const fs = createFsFromVolume(vol)
vol.fromJSON({ '/p/f.txt': 'x' })

// 14 '**/..' groups -> 2^14 = 16384 rows, over the 10_000 limit
const payload = Array.from({ length: 14 })
  .map((_, i) => `**/../x${i}/y${i}`)
  .join('/')

glob.sync(payload, { cwd: '/p', fs, platform: 'posix' })
// throws: optimizationLevel 2: too many patterns from '**/..'   (rejected fast)

glob.sync('*', { cwd: '/p', fs, ignore: [payload], platform: 'posix' })
// accepted, ~1.5-2.0 s of CPU

Measured on the published glob@14.0.4:

payload: 175 bytes
  as PATTERN :      6 ms  REJECTED (optimizationLevel 2: too many patterns from '**/..)
  as IGNORE  :   1985 ms  accepted

Impact

An attacker who can influence ignore patterns can force disproportionate CPU consumption on the event loop.

Fix

Issue is in src/ignore.ts. A minimal change closes them:

     this.mmopts = {
+      braceExpandMax: 10_000,
       dot: true,
       nobrace,
       nocase,
@@
     this.slashRoot = escape(
       slashRoot.replace(/\\/g, '/').replace(/\/$/, ''),
-      { windowsPathsNoEscape },
+      { magicalBraces: true, windowsPathsNoEscape },
     )
  • magicalBraces: true makes escape() escape { and } as well, so the composed path stays literal and is not brace-expanded on re-parse.
  • braceExpandMax: 10_000 makes the ignore path use the same limit as the pattern path.

Verified: with this patch the ignore matcher becomes [['', 'root{7,8}', 'skip.log']] (one row, literal), matches /root{7,8}/skip.log, and the amplified ignore payload is rejected with the same error as the pattern path.

Regression tests are in test/ignore-braces.ts; they fail against the unpatched source and pass with the patch. The existing suite (test/ignore.ts, test/custom-ignore.ts, test/ignore-root.ts, test/pattern.ts, test/root.ts, test/absolute.ts) remains green: 167/167.

Tested on published glob@14.0.4 (current HEAD f26bdac). Earlier versions not checked.

Record
GHSA-qxr8-q827-836c
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-400, CWE-405, CWE-770
Updated
2026-12-01
NVDCVSS 4.06.3

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

Record
CVE-2026-137196
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-400, CWE-405, CWE-770
Updated
2026-11-30
OSVCVSS 4.06.3

Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

Record
CVE-2026-137196
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-400, CWE-405, CWE-770
Updated
2026-12-01
OSVDEBIAN-CVE-2026-137196CVSS 4.06.3

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

Record
DEBIAN-CVE-2026-137196
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-12-03
Show 4 more recordsShow less
OSVDHI-ibz3-f7bt-gzdp-74cqCVSS 4.06.3

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not…

Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.

Record
DHI-ibz3-f7bt-gzdp-74cq
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-12-01
OSVGHSA-qxr8-q827-836cCVSS 4.06.3

Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`

glob sets braceExpandMax: 10_000 when it parses pattern patterns, but the Ignore class builds its own minimatch options and omits braceExpandMax entirely, so ignore patterns fall back to minimatch's default of 100_000. Both paths force optimizationLevel: 2, which is the exact precondition for minimatch's globparts amplification (CVE-2026-118764, GHSA-g3hv-75wg-m249) — minimatch's own default is 1.

The consequence is that the same payload is rejected in milliseconds when passed as a pattern, but is accepted and burns far more CPU when passed as an ignore pattern.

Root cause

src/glob.ts:527-529 — pattern path, limit present:

const mmo: MinimatchOptions = {
  braceExpandMax: 10_000,
  ...opts,

src/ignore.ts:71-83 — ignore path, limit missing:

this.mmopts = {
  dot: true,
  nobrace,
  nocase,
  noext,
  noglobstar,
  normalize,
  optimizationLevel: 2,     // forced, and the amplification precondition
  platform,
  nocomment: true,
  nonegate: true,
  windowsPathsNoEscape,
}                            // <-- no braceExpandMax

minimatch >= 11.0.1 fixed CVE-2026-118764 by throwing a RangeError once globParts.length >= braceExpandMax. The pattern path caps rows at 10_000; the ignore path allows 100_000. The amplified rows then go through minimatch's secondPhasePreProcess(), which is O(n²) pairwise partsMatch.

Reproduction

import { Volume, createFsFromVolume } from 'memfs'
import { glob } from 'glob'

const vol = new Volume()
const fs = createFsFromVolume(vol)
vol.fromJSON({ '/p/f.txt': 'x' })

// 14 '**/..' groups -> 2^14 = 16384 rows, over the 10_000 limit
const payload = Array.from({ length: 14 })
  .map((_, i) => `**/../x${i}/y${i}`)
  .join('/')

glob.sync(payload, { cwd: '/p', fs, platform: 'posix' })
// throws: optimizationLevel 2: too many patterns from '**/..'   (rejected fast)

glob.sync('*', { cwd: '/p', fs, ignore: [payload], platform: 'posix' })
// accepted, ~1.5-2.0 s of CPU

Measured on the published glob@14.0.4:

payload: 175 bytes
  as PATTERN :      6 ms  REJECTED (optimizationLevel 2: too many patterns from '**/..)
  as IGNORE  :   1985 ms  accepted

Impact

An attacker who can influence ignore patterns can force disproportionate CPU consumption on the event loop.

Fix

Issue is in src/ignore.ts. A minimal change closes them:

     this.mmopts = {
+      braceExpandMax: 10_000,
       dot: true,
       nobrace,
       nocase,
@@
     this.slashRoot = escape(
       slashRoot.replace(/\\/g, '/').replace(/\/$/, ''),
-      { windowsPathsNoEscape },
+      { magicalBraces: true, windowsPathsNoEscape },
     )
  • magicalBraces: true makes escape() escape { and } as well, so the composed path stays literal and is not brace-expanded on re-parse.
  • braceExpandMax: 10_000 makes the ignore path use the same limit as the pattern path.

Verified: with this patch the ignore matcher becomes [['', 'root{7,8}', 'skip.log']] (one row, literal), matches /root{7,8}/skip.log, and the amplified ignore payload is rejected with the same error as the pattern path.

Regression tests are in test/ignore-braces.ts; they fail against the unpatched source and pass with the patch. The existing suite (test/ignore.ts, test/custom-ignore.ts, test/ignore-root.ts, test/pattern.ts, test/root.ts, test/absolute.ts) remains green: 167/167.

Tested on published glob@14.0.4 (current HEAD f26bdac). Earlier versions not checked.

Record
GHSA-qxr8-q827-836c
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-400, CWE-405, CWE-770
Updated
2026-12-01
OSVCLSA-2026-1796122788No score

TuxCare security update for glob (1 CVE)

TuxCare rebuilt glob to address 1 CVE. Fixed in 11.1.0-tuxcare.2.

Record
CLSA-2026-1796122788
Updated
2026-12-01
OSVCLSA-2026-1796126524No score

TuxCare security update for glob (1 CVE)

TuxCare rebuilt glob to address 1 CVE. Fixed in 13.0.7-tuxcare.2.

Record
CLSA-2026-1796126524
Updated
2026-12-01

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packages, other IDs, referencesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, references, severityOSV
Published dateEUVD
Affected packages, referencesOSV
Affected packages, key facts, referencesGitHub Advisories
Other IDs, referencesNVD, OSV
Other IDs, published dateEUVD
SeverityNVD
Key facts, referencesCVE List
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open