Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl attacker-supplied resource name
-
DeliveryInject newline into file/key/archive-entry name
-
ExploitGlobstar ** deny pattern fails to match line terminator
-
ExecutionExcluded resource passes the filter
-
ImpactSensitive resource included and exposed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Incorrect input validation
|
| Exploitation Conditions | Exploitation requires two concrete conditions, both present by default in the library itself but gated at the application level. First, the consuming application must use picomatch globstar () patterns as a security-relevant deny/exclusion filter (for example excluding sensitive file paths, S3/object keys, or ZIP/tar archive entries). Second, the attacker must be able to control the resource name being matched and inject a line terminator - newline (\n), carriage return (\r), or CRLF (\r\n) - into it. The defect (globstar regex compiled without dotAll) is present in all picomatch versions through 4.0.7 regardless of options, so no special picomatch configuration is needed. Limiting factors that reduce real-world impact: the application must actually rely on matching as a trust boundary, and the storage/transport layer must permit newline characters in names; systems that use explicit allowlists, sanitize or reject newline characters in names, or do not use picomatch for exclusion are not exposed. |
| Impact | Signals point to a genuine but conditional, moderate-priority issue rather than a top-tier emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with score 6.9 describes a network-reachable, low-complexity bypass needing no privileges or user interaction, but impact is limited to low confidentiality (VC:L; VI/VA = N), consistent with a filter-bypass that exposes resources rather than granting code execution or data modification. The vuln.today Decision label is 'this_month' (moderate urgency), not act_now or emergency. No EPSS score, no CISA KEV listing, and no PoC/exploit reference are present in the supplied data, so there is no evidence of active or at-scale exploitation - the absence of EPSS in particular means exploitation probability cannot be quantified from this input. The practical risk hinges on a specific usage pattern: the CVSS 'network, no privileges' metrics describe reachability of the picomatch call, but real-world exploitation only matters where an application uses globstar ** patterns as a security-relevant deny/exclusion filter over attacker-influenced names. Where that pattern exists the flaw is reliably triggerable; where it does not, the high CVSS reachability overstates real risk. Net: prioritize for patching this cycle, especially in systems using picomatch for allow/deny path filtering, but this is not a drop-everything emergency on the available signals. |
| Exploit ScenarioDerived | An application uses picomatch globstar (**) patterns to exclude sensitive files, object keys, or archive entries from being processed or served, and an attacker controls those names. The attacker creates a resource whose name contains a newline (\n, \r, or \r\n); because the compiled globstar regex uses '.' without the dotAll flag, it fails to match the line terminator, so the deny pattern misses the name and the excluded resource is included and exposed. No public exploit was identified in the supplied data, though the vendor PR and tests demonstrate the matching failure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 28, 2026
Glob filter bypass in the picomatch JavaScript library (all versions through 4.0.7) lets unauthenticated remote attackers push resources past '**' deny patterns by embedding a newline, carriage return or CRLF inside the file name, object key or archive entry name being matched - the compiled globstar regex is not dotAll, so it never matches line terminators and the exclusion silently fails open. Only applications that use picomatch globstar patterns as a security-relevant exclusion filter (excluding sensitive paths, bucket keys or archive entries) and that allow attacker-controlled names are exposed; impact is limited to confidentiality (CVSS 4.0 score 6.9, VC:L, no integrity or availability effect). There is no confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis; an upstream fix exists as a pull request and commit, priority guidance is 'this_month'.
RemediationAI
Apply the upstream fix: picomatch PR #202 (commit 838c9d791cbd0e7c92e858f71ae38f6597416c09) changes both emitted globstar groups from '.' to '[\s\S]' so '' matches names containing \n, \r and \r\n; the patch is available from the vendor, but because the references are a pull request and a commit rather than a tagged release, a released patched version above 4.0.7 is not independently confirmed - pin to the first published release that contains this commit and re-verify the advisory at https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators. Where upgrading is not immediately possible, the defect only becomes exploitable when a '' deny/exclude pattern is the trust boundary and attacker-controlled names can carry line terminators, so compensate by rejecting or normalizing \n, \r and \r\n in file names, object keys and archive entry names before they reach the matcher (trade-off: renames or rejects caller-visible identifiers and may break legitimate names), or by replacing '**' exclusion patterns with an explicit allowlist or exact-string comparison on normalized paths (trade-off: requires enumerating permitted resources and maintaining that list). Applications that never use picomatch for exclusion filtering, or that already sanitize terminators in names, are not exposed and do not need emergency action; priority guidance for the remainder is 'this_month'.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
picomatch is the glob-to-regular-expression engine behind widely used Node.js tooling (micromatch and, transitively, file watchers, archivers, bundlers, object-storage sync utilities). It compiles a glob into a JavaScript RegExp; the globstar segment '' is emitted at lib/parse.js (around lines 395-397) and again in the fastpaths path (around lines 1373-1376) as a capture group whose body is a lazy '.*?' repeated under a negative lookahead that blocks dot-prefixed/relative segments. Because the dot metacharacter in JS regex only matches characters other than line terminators unless the 's' (dotAll) flag is set, and no dotAll flag is applied on these code paths, a compiled '' cannot cover a subject string containing \n, \r or \r\n. The matching primitive is therefore wrong for names that embed terminators - CWE-185 (Incorrect Regular Expression) - and any option combination is affected because the defect is in the emitted pattern itself. The upstream patch replaces the '.' in both emitted groups with the character class [\s\S], which matches terminators as well, and adds tests asserting isMatch of names containing \n, \r and \r\n against '', '/*', '/bar' and '/**'. The security consequence is asymmetric: in a positive-match (allowlist) context the bug merely causes false negatives, but in a deny/exclusion context - the 'ignore', 'exclude' or 'blocked paths' list pattern - it fails open, so a resource the operator intended to be filtered out is instead included and rendered accessible. The CPE cpe:2.3:a:micromatch:picomatch identifies the affected package; every downstream consumer that delegates glob filtering to it inherits the behavior.
Know when Picomatch gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable filter bypass needing no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is limited exposure of excluded resources, so C:L and I:N/A:N with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Same weakness CWE-185 – Incorrect Regular Expression
View allSame technique Authentication Bypass
View allVendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bookworm, trixie | vulnerable | 3.1.3+~cs4.6.1-2 | - |
| forky, sid | vulnerable | 3.1.3+~cs8.0.10-1 | - |
| (unstable) | fixed | (unfixed) | - |
EUVD-2026-137528
GHSA-xf29-59h2-f9gj
NVD
CVE.org
EPSS
Exploit-DB