Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit long non-matching path via app input
-
DeliveryPath reaches glob.globmatch/globfilter/compile or PurePath.globmatch with GLOBSTAR
-
ExploitMultiple '**' segments trigger O(n^k) regex backtracking
-
ExecutionCPU core saturated for seconds to minutes
-
ImpactService availability degraded or denied
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete conditions must all hold, per the vendor advisory: (1) the application enables the GLOBSTAR flag (glob.GLOBSTAR or pathlib.GLOBSTAR), which is NOT enabled by default; (2) it matches attacker-controlled paths via glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch - e.g. archive member names, object-store keys, upload paths, or request-derived router/filter paths; and (3) the application's pattern contains three or more '' globstar segments separated by other text (the pattern is normally author-written, not attacker-supplied). Limiting factors: GLOBSTAR being off by default and the three-plus-globstar pattern requirement sharply narrow exposure. Path length matters - around 1 KB is enough for four '', and filesystem paths are capped at 4,096 bytes on Linux, though archive/object-store names are not. If the REALPATH flag is set, the path must actually exist to reach the flaw, further limiting attacker control. |
| Impact | The input CVSS 4.0 score of 8.2 is driven entirely by availability impact (VA:H) with no confidentiality or integrity effect, and the vector itself tempers urgency: AC:H and AT:P (attack requirements present) reflect that exploitation depends on a non-default configuration rather than a default-reachable code path. AV:N/PR:N/UI:N are correct - an attacker supplies a path with no authentication and no interaction - but the AT:P requirement maps directly to the advisory's preconditions: GLOBSTAR must be enabled (it is off by default) and the application pattern must contain three or more '**' segments separated by text. No EPSS score is provided in the input, so probabilistic exploitation likelihood cannot be weighed here. KEV status is not listed (treat as not present), so there is no confirmed active exploitation. A full proof-of-concept exists in the GHSA advisory, but a working DoS PoC is not the same signal as active exploitation - the two must not be conflated. The vuln.today decision label is 'this_week', consistent with a serious but availability-only, config-gated issue rather than an emergency. Net: this is a genuine, patch-worthy ReDoS, but its real-world priority is bounded by the non-default GLOBSTAR requirement and the application-controlled pattern shape, not a universally remote-exploitable critical. |
| Exploit ScenarioDerived | An application enables GLOBSTAR and matches attacker-controlled path strings (archive member names, object-store keys, upload paths, or request-derived router/filter paths) against a pattern containing three or more '' segments such as '/src//test//*.py'. The attacker submits a few kilobytes of carefully constructed non-matching path, forcing roughly O(n^k) regex backtracking that pins a CPU core for seconds to minutes per request. A full working proof-of-concept is published in the GHSA advisory, requiring no network, install, or file access to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
wcmatch, the Python wildcard-matching library, can be driven into polynomial-time regular expression backtracking when a pattern containing three or more ** (GLOBSTAR) segments is matched against a long, non-matching attacker-controlled path, pinning a CPU core for seconds to minutes. Exposure requires a non-default configuration: GLOBSTAR must be explicitly enabled (glob.GLOBSTAR or pathlib.GLOBSTAR) and the application must feed untrusted strings - archive member names, object-store keys, upload paths, request-derived routes - into glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch, while the offending multi-globstar pattern is normally written by the application rather than supplied by the attacker. Availability-only impact (CVSS 4.0 base 8.2, VA:H with AC:H/AT:P and no confidentiality or integrity effect); the vendor advisory includes a public proof-of-concept snippet, but there is no indication of active exploitation, and the flaw is fixed in wcmatch 13.0.
RemediationAI
Vendor-released patch: upgrade to wcmatch 13.0 (pip install --upgrade wcmatch), which wraps a and the text up to the next in an atomic group so that segment is matched once, making rejection time linear for patterns built from literals, ?, classes, stars, number ranges and extended groups; details are in the advisory at https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52 and the fix commit https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e. If upgrading is not immediately possible, the vendor-listed risk reductions are: bound the length of untrusted paths before matching (on 12.0.4 a ~1 KB path costs under 0.1 s with three and about 0.5 s with four); allow at most two in patterns applied to untrusted input (roughly 16 ms for a 3 KB path); avoid enabling GLOBSTAR where is unnecessary; and run matching inside a worker with a wall-clock limit so a single request cannot hold a core, at the cost of one process or thread per match and a bounded-but-nonzero latency for legitimate long inputs. On 13.0, enable DOTMATCH together with NODOTDIR to eliminate the remaining hidden-name and .*/./.. cases, keep at most one followed by dot-capable text in patterns applied to untrusted paths, and note that with REALPATH every ** counts and only existing paths reach the matcher.
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
wcmatch translates glob patterns into regular expressions, and each becomes a lazy repetition able to consume any number of path directories; literal or wildcard text between two globstars must then be rediscovered somewhere after each repetition, so a non-matching path causes the regex engine to enumerate roughly n^k placements for k globstars over a path of length n. This is CWE-1333 (inefficient regular expression complexity), the ReDoS class, and specifically a leftover of GHSA-53pm-wgxf-c6qf, which since release 11.2 wrapped each non-final single * plus the text up to the next star in an atomic group so only the first match is attempted - the same treatment was never applied to . The 13.0 fix extends the atomic grouping to a followed by another , covering literal text, ?, character classes, stars, number ranges and extended glob groups, and applies to REALPATH matching as well. Documented residual cases keep super-linear behavior: text that can match a hidden name (an extended group with a dot-leading alternative such as /@(src|.cache)//test//*.py, or a dot after groups that can match nothing such as ?(a).git), .* under DOTMATCH that can match . and .., and with REALPATH an existing path that crosses a symlink consumed by a . Enabling DOTMATCH together with NODOTDIR absorbs the first three cases; the symlink case and configurations without DOTMATCH remain power-law bounded, and with REALPATH every ** contributes. Notably the vendor measured microseconds for identical inputs when GLOBSTAR is off, because a single * cannot cross a path separator, and the regex translation is effectively linear when the dot-related preconditions do not apply.
Know when Wcmatch 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:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:N as paths arrive remotely and PR:N/UI:N as no auth or interaction is needed; AC:H because exploitation depends on non-default GLOBSTAR plus a three-plus-globstar pattern; impact is availability-only (A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths against patterns with three or more globstar segments. Attackers can supply a few KB of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, triggering roughly O(n^k) backtracking that consumes a CPU core for minutes.
Articles & Coverage 1
Executive ViewAI
A high-severity availability flaw in the wcmatch Python wildcard-matching library can allow attacker-controlled input to consume a full CPU core for an extended period, potentially degrading or stalling any service that performs pattern matching against untrusted strings such as uploaded file names, archive members, or object-store keys. Because exposure depends on a non-default GLOBSTAR configuration, only teams that have deliberately enabled this feature and route untrusted data through these functions are at risk, but those that are should treat this as a priority service-availability concern for production capacity and customer-facing reliability.
Vendor-released patch is available per the advisory; where immediate upgrade is not possible, disable GLOBSTAR, restrict matching patterns to trusted application-defined allowlists, cap input length on untrusted strings, and enforce per-request CPU/time limits.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-140784
GHSA-vvgr-fj3f-x236
NVD
CVE.org
Exploit-DB