Technical impact
picomatch, through version 4.0.7, compiles globstar ( ) patterns without the dotAll flag, causing line terminators to be ignored when matching. This flaw permits file, object key, or archive entry names that contain newline characters to bypass glob deny patterns, allowing an attacker to have excluded resources be included and exposed. The vulnerability is a filter bypass and is classified as CWE-185.
Affected Systems
The affected product is the micromatch picomatch library, version 4.0.7 and all earlier releases up to that point. Any application that uses this library to filter paths or file names is vulnerable.
Risk and Exploitability
The CVSS base score is 6.9, indicating moderate severity. No EPSS score is available, suggesting low publicly observed exploitation likelihood at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Attackers who can control the naming of files, objects, or archive entries—such as during upload or file system operations—can exploit this bypass. The attack vector is likely local or application-level rather than remote code execution, but could be leveraged remotely if the application accepts user-supplied names.