Python wcmatch: Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an
Affects python-wcmatchSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 11.2 when convenient.
Data as of 25 Nov 2026, 22:37 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 11.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade wcmatch to 11.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10python-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
PyPIwcmatchpkg:pypi/wcmatchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-132276 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-132276 (opens in a new tab)
- github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c (opens in a new tab)
- github.com/facelessuser/wcmatch/releases/tag/11.2 (opens in a new tab)
- github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf (opens in a new tab)