GHSA-xf29-59h2-f9gjMediumCVSS 5.3
picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**)...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-138148
- https://github.com/micromatch/picomatch/pull/202
- https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397
- https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators
- https://github.com/advisories/GHSA-xf29-59h2-f9gj