CVE-2026-132276
wcmatch is a Python library for wildcard file-name matching. Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c
- github.com/facelessuser/wcmatch/releases/tag/11.2
- github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf
- nvd.nist.gov/vuln/detail/CVE-2026-132276
- github.com/advisories/GHSA-53pm-wgxf-c6qf
- nvd.nist.gov/vuln/detail/CVE-2026-132276
- cve.org/CVERecord?id=CVE-2026-132276
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.