← 漏洞与更新

中危漏洞公告JavaScript / Node.js

Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces

受影响

软件包受影响版本修复版本
npm:glob<= 14.0.514.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…

在 GitHub Advisory Database 阅读

2026/12/05 06:47,GitHub Advisory Database 发布了“Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js。CVE:CVE-2026-144291。