CVE-2026-132276

GHSA-53pm-wgxf-c6qf · published 20 Nov 2026 · updated 21 Nov 2026

wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in wcmatch 11.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
facelessuser<11.2
pypi: wcmatch<11.2, <=11.111.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-132276 severity on Zeptric[![CVE-2026-132276](https://zeptric.io/badge/cve/CVE-2026-132276.svg)](https://zeptric.io/cve/CVE-2026-132276)