picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 28, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 2026
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.
| Product | Versions |
|---|---|
| picomatch micromatch | 4.0.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-185 Incorrect Regular Expression
References
- https://github.com/micromatch/picomatch/pull/202Issue TrackerPatch
- https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09Patch
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397Technical Details
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376Technical Details
- VulnCheck Advisory: picomatch through 4.0.7 Glob Filter Bypass via Globstar Line TerminatorsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.