Glob Filter Bypass Vulnerability in Micromatch's Picomatch Product
CVE-2026-138148
6.9MEDIUM
What is CVE-2026-138148?
The Picomatch library, used for pattern matching, contains a vulnerability that allows attackers to bypass deny patterns due to improper handling of globstar (**) expressions. In versions up to 4.0.7, glob patterns are compiled without the necessary dotAll flag, resulting in an inability to match line terminators. This flaw enables attackers with control over file, object key, or archive entry names that include newline characters to include otherwise excluded resources, leading to potential exposure of sensitive data.
Affected Version(s)
picomatch 0 <= 4.0.7
