{"id":"CVE-2026-132276","aliases":["GHSA-53pm-wgxf-c6qf"],"title":"wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)","originalDescription":"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.","severity":{"cvss":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00515,"percentile":0.37195},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"wcmatch","range":"<= 11.1","fixed":"11.2"},{"ecosystem":"PyPI","name":"wcmatch","range":">=0, <11.2","fixed":"11.2"}],"references":[{"url":"https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf","type":"x_refsource_CONFIRM"},{"url":"https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c","type":"x_refsource_MISC"},{"url":"https://github.com/facelessuser/wcmatch/releases/tag/11.2","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132276.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132276","type":"advisory"},{"url":"https://github.com/advisories/GHSA-53pm-wgxf-c6qf","type":"other"},{"url":"https://github.com/facelessuser/wcmatch","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-20T20:49:02.241Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132276","license":"NVD terms of use","firstSeenAt":"2026-11-20T17:31:12.212Z"},{"name":"osv","at":"2026-11-28T12:15:52.324Z","url":"https://osv.dev/vulnerability/CVE-2026-132276","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T18:04:42.496Z"},{"name":"ghsa","at":"2026-12-01T11:52:21.370Z","url":"https://github.com/advisories/GHSA-53pm-wgxf-c6qf","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T00:07:16.128Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:21.963Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-132276","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T17:28:31.993Z"}],"firstSeenAt":"2026-11-20T17:28:31.993Z","publishedAt":"2026-11-20T17:06:42.480Z","modifiedAt":"2026-11-28T10:27:20.674Z"}