Vulnerability in Facelessuser Wcmatch
CVE-2026-132276
- CVSS v3
- 5.9 Medium
- Public exploits
- 1 repository
- EPSS
- 0.005 · 37.2th percentile
- Published
- 2026-11-20
What to do
- Fixed in
11.2- Affected
- 1 affected product
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.005, 37.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Facelessuser Wcmatch — versions < 11.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- googlesky/CVE-2026-132276 (last pushed 2026-11-21): wcmatch <=11.1: each '*' becomes lazy .*? — a developer-constant pattern '*_*_*_*_*.csv' backtracks O(n^k) on an attacker-controlled name (255 bytes ~86s vs stdlib <1ms). Real fnmatch 11.1 vs 11.2: p…