CVE-2026-138148
picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators
Medium · 6.9
- CVSS
- 6.9
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- micromatch picomatch
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**) patterns are compiled without the dotAll flag and fail to match line terminators. Attackers who control file, object key or archive entry names containing newline characters can evade ** deny patterns, causing excluded resources to be included and exposed.
Sources
- NVD · first seen 12h ago · NVD terms of use
- OSV · first seen 11h ago · CC-BY 4.0
- CVE List · first seen 12h ago · CVE Terms of Use
References
- https://github.com/micromatch/picomatch/pull/202 issue-tracking
- https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09 patch
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397 technical-description
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376 technical-description
- https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138148.json advisory
- https://github.com/micromatch/picomatch package
- https://nvd.nist.gov/vuln/detail/CVE-2026-138148 advisory