CVE-2026-138148
published medium CVSS 4.0 · 6.9picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| micromatch | — | picomatch0 through 4.0.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned; Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| micromatch | picomatch | 0 through 4.0.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-185 Incorrect Regular Expression
References
5- 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://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09
- https://github.com/micromatch/picomatch/pull/202
- VulnCheck Advisory: picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators
Provider assertions
2VulnCheck · cna
picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4e158991766a1d30d728d41cfe89e0d387c5b847b79fc33a3a0ed857685eb02b
- Ingested
- 30 Nov 2026, 18:59:00 UTC
- Source record
- Official CVE record