CVE-2026-132276mediumCWE-1333

CVE-2026-132276: medium-severity vulnerability in facelessuser wcmatch

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

Published

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

33Vexday Risk Score

No sign of exploitation. It has a public proof of concept.

ssvc Attendcvss 5.9epss 0.9%
from disclosure to weapon1 day
Published on NVDNov 20
1st PoC+1d
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
facelessuser · wcmatch
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.