Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:glob | <= 14.0.5 | 14.0.6 |
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 r…
Read on GitHub Advisory Database
On 12/05/2026, 06:47 AM, GitHub Advisory Database published "Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js. CVE: CVE-2026-144291.