CVE-2026-138148: micromatch picomatch · Incorrect Regular Expression
Affects micromatch picomatchSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 28 Nov 2026, 02:02 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 27 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| micromatchpicomatch | Affected
| Fixed in– |
npmpicomatchpkg:npm/picomatchOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should be cautious when relying on globstar (**) patterns for security filtering, especially if inputs can contain newline characters.
Description
picomatch versions up to 4.0.7 have a vulnerability in their glob pattern matching where globstar (**) patterns do not match newline characters due to missing dotAll flag. This allows attackers controlling file or object names with newline characters to bypass deny filters and access resources that should be excluded.
References
- github.com/micromatch/picomatch/pull/202 (opens in a new tab)
- github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09 (opens in a new tab)
- github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js (opens in a new tab)
- github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js (opens in a new tab)
- vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators (opens in a new tab)