CVE Professor
/
All CVEs
CVE-2026-144291

CVE-2026-144291 — Glob — CWE-20 · CWE-693

MEDIUM CVSS 6.3 ⚡ EPSS 0.9% Shodan+GitHub

### Summary `glob`'s `ignore` option composes an absolute ignore pattern by pasting the resolved `root`/`cwd` path into a glob *string*, then re-parsing that string with `minimatch`. The path is escaped with `minimatch`'s `escape()`, but `escape()` only escapes `{` and `}` when `magicalBraces` is enabled — which `glob` does not do. A root path containing braces is therefore brace-expanded during re-parsing, and the resulting ignore pattern no longer matches the real path. The exclusion is silently dropped and the excluded file is returned. ### Root cause `src/ignore.ts:84-88` ```ts const slashRoot = cwd?.resolve(root ?? '/').fullpath() ?? '/' this.slashRoot = escape( slashRoot.replace(/\\/g, '/').replace(/\/$/, ''), { windowsPathsNoEscape }, // <-- no `magicalBraces` ) ``` `src/ignore.ts:121-125` ```ts const glob = p.root() === '/' ? `${this.slashRoot}/${p.rest()?.globString() ?? ''}` : p.globString() const m = new Minimatch(glob, this.mmopts) // <-- brace expansion happens here ``` The composed string is parsed as a glob, so `{7,8}` becomes two alternatives. ### Why this is a vulnerability and not a cosmetic issue The `root` option exists precisely so that absolute patterns and absolute ignore rules are anchored at a chosen directory. The two code paths handle `root` differently: | path | `root` handling | braces in root | |---|---|---| | pattern (`src/processor.ts`) | `t.resolve(this.opts.root)` — **path resolution** | works correctly | |

### Summary `glob`'s `ignore` option composes an absolute ignore pattern by pasting the resolved `root`/`cwd` path into a glob *string*, then re-parsing that string with `minimatch`. The path is escaped with `minimatch`'s `escape()`, but `escape()` only escapes `{` and `}` when `magicalBraces` is enabled — which `glob` does not do. A root path containing braces is therefore brace-expanded during re-parsing, and the resulting ignore pattern no longer matches the real path. The exclusion is silently dropped and the excluded file is returned. ### Root cause `src/ignore.ts:84-88` ```ts const slashRoot = cwd?.resolve(root ?? '/').fullpath() ?? '/' this.slashRoot = escape( slashRoot.replace(/\\/g, '/').replace(/\/$/, ''), { windowsPathsNoEscape }, // <-- no `magicalBraces` ) ``` `src/ignore.ts:121-125` ```ts const glob = p.root() === '/' ? `${this.slashRoot}/${p.rest()?.globString() ?? ''}` : p.globString() const m = new Minimatch(glob, this.mmopts) // <-- brace expansion happens here ``` The composed string is parsed as a glob, so `{7,8}` becomes two alternatives. ### Why this is a vulnerability and not a cosmetic issue The `root` option exists precisely so that absolute patterns and absolute ignore rules are anchored at a chosen directory. The two code paths handle `root` differently: | path | `root` handling | braces in root | |---|---|---| | pattern (`src/processor.ts`) | `t.resolve(this.opts.root)` — **path resolution** | works correctly | |

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
0.9%
30-day probability
In the 61. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-144291
CVSS 6.3/10 · MEDIUM · 03.12.2026
CWE: CWE-20, CWE-693
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary

glob's ignore option composes an absolute ignore pattern by pasting the
resolved root/cwd path into a glob string, then re-parsing that string
with minimatch. The path is escaped with minimatch's escape(), but
escape() only escapes { and } when magicalBraces is enabled — which
glob does not do. A root path containing braces is therefore brace-expanded
du…
Affected: glob

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for glob.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
6.3 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-20 CWE-693
Affected Products (1)
glob
References & Advisories (4)
Related CVEs
8.7
CVE-2026-144607
Tencent WeKnora 0.3.2 through 0.9.1 contains an incorrect authorization vulnerability that allows any self-reg
6.9
CVE-2026-145057
SiYuan before 3.8.11 contains a missing authorization vulnerability that allows unauthenticated attackers to f
6.9
CVE-2026-145084
FreeRDP before 3.33.1 contains a global buffer overflow in location_send() in the client location dynamic chan
6.3
CVE-2026-144595
Tandoor Recipes before 2.7.3 contains an authorization bypass vulnerability that allows authenticated space ow
9.4
CVE-2026-64884
An incomplete restricted-class check in the Velocity template sandbox (SecureIntrospectorImpl) in dotCMS versi
9.2
CVE-2026-115991
Exposure of sensitive information in the content lock-check endpoints (PUT /api/content/canLock and GET /api/v
8.2
CVE-2026-144623
Micronaut core HTTP client 4.10.24 through 4.10.37 and 5.0.1 through 5.3.0 contains a credential leak vulnerab