Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint matching untrusted names
-
DeliverySubmit crafted long non-matching filename
-
ExploitForce backtracking across multi-star lazy regex
-
ExecutionExhaust single CPU core for minutes
-
ImpactDegrade or deny service
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 | Exploitation requires that the application call wcmatch under default flags - specifically fnmatch.fnmatch(), glob.globmatch(), or a filesystem glob/WcMatch scan - using a developer-supplied pattern that contains several |
| Impact | This is a genuine but moderate-priority denial-of-service issue, not a critical emergency. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9) and CWE-1333 (inefficient regular expression) align with the GHSA advisory: impact is purely availability (A:H, with C:N/I:N) via polynomial-time ReDoS, and AC:H reflects that exploitation depends on the application itself using a multi-star pattern. The attacker controls only the matched name, never the pattern, which remains a developer constant - so the flaw is only reachable in applications that happen to use patterns like |
| Exploit ScenarioDerived | An application uses wcmatch under default flags to match untrusted, user-supplied file names against a constant pattern containing several star wildcards separated by literals (e.g. an upload handler or object-store key filter using |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Denial of service in the Python wcmatch library through 11.1 lets remote attackers pin a single CPU core for tens of seconds per request by feeding a crafted name to an application that matches it against a developer-supplied pattern containing several star wildcards separated by literals (for example *_*_*_*_*.csv), which is the ordinary default-flag path used by fnmatch.fnmatch(), glob.globmatch() and filesystem glob/WcMatch scans. Backtracking across the lazy star segments makes a single non-matching comparison run in polynomial time, and the advisory reports a 255-byte name taking roughly 73 seconds with fnmatch.fnmatch() and 86 seconds with glob.globmatch() where the standard library answers in under a millisecond. The issue is fixed in 11.2; no CISA KEV entry or confirmed in-the-wild exploitation is recorded, though a public PoC reference (a timing benchmark script) accompanies the GitHub advisory GHSA-53pm-wgxf-c6qf, and exploitation is constrained because the pattern itself must be a multi-star constant that the attacker cannot control.
RemediationAI
Vendor-released patch: wcmatch 11.2 - upgrade with pip install --upgrade 'wcmatch>=11.2' and confirm the installed version, since 11.2 is the release that emits non-final star segments as atomic groups and rejects the advisory's 255-byte test name in under a millisecond (see https://github.com/facelessuser/wcmatch/releases/tag/11.2 and the fix commit https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c). Because 11.2 requires Python 3.11 or newer and drops 3.10 support, hosts still running Python 3.10 cannot take the fixed build without first upgrading the interpreter; until that is possible, the actionable compensating controls are to rewrite the application-supplied patterns so they contain at most one * per segment or are expressed as explicit regexes (removes the polynomial blow-up but changes pattern semantics and needs regression testing), to reject or truncate candidate names that approach the 255-byte filesystem maximum before calling fnmatch/globmatch (bounded but not eliminated cost - a few hundred bytes is already enough to be expensive, so the cap must be tight and validated against your own patterns), to run matching inside a worker process or thread pool with a hard timeout so a pathological comparison is abandoned rather than blocking the request handler (costs a process/thread per match and adds latency), and to switch to the standard-library fnmatch/fnmatchcase where the extended wcmatch features are not actually used, since CPython already applies the atomic-group fix. Restrict untrusted users from writing arbitrary file names into directories that are scanned with multi-star patterns, or filter those scans through a pre-check on the candidate names, as a further stopgap.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
wcmatch compiles glob patterns to regular expressions in wcmatch/_wcparse.py, where every * becomes a lazy .*? (_STAR) or [^/]*? (_PATH_STAR) emitted by _handle_star() around lines 1405-1424; a pattern like *_*_*_*_*.csv therefore translates to ^(?s:(?=.)(?![.]).*?_.*?_.*?_.*?_.*?\.csv)$. When the subject is a long run of the separator literal that does not end in .csv, the regex engine enumerates every possible split of the input between the lazy stars, giving O(n^k) behaviour for k stars - the CWE-1333 inefficient regular expression complexity class. CPython addressed the identical problem in its own fnmatch (bpo-40480) by making every star segment except the last atomic. The upstream fix in 11.2 does the same: star segments are wrapped in atomic groups using (?>.*?_) on Python 3.11 and later, or the equivalent lookahead/backreference construct on 3.10, and the accompanying tests show the atomic wrapping is deliberately skipped for segments that contain variable-length extglob groups (e.g. @(...), ?(...), +(...), !(...)) so that match semantics are preserved. The trigger requires only default flags and no extglob; the affected call paths are fnmatch.fnmatch(), glob.globmatch(), and directory scans such as glob.glob() over directories where another user can create names.
Know when Python 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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable untrusted name with no auth or interaction (AV:N/PR:N/UI:N); AC:H because the app must use a multi-star pattern; availability-only CPU DoS, so C:N/I:N/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
wcmatch is a Python library for wildcard file-name matching. Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an application-supplied pattern containing several star wildcards separated by literals makes the lazy .? and [^/]? segments, including _STAR and _PATH_STAR emitted by _handle_star() in wcmatch/_wcparse.py, backtrack across possible splits, so a single comparison can consume prolonged CPU time. The pattern remains a developer-controlled constant and only the name is attacker-controlled; affected paths include fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans where another user can create names, without enabling extglob or any non-default flag. This issue is fixed in 11.2.
Blast Radius
ecosystem impact- 135 pypi packages depend on wcmatch (14 direct, 123 indirect)
Ecosystem-wide dependent count for version 11.2.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-131679
GHSA-53pm-wgxf-c6qf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB