{"id":"CVE-2026-132276","summary":"wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)","details":"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.","aliases":["GHSA-53pm-wgxf-c6qf"],"modified":"2026-11-20T18:00:10.351027295Z","published":"2026-11-20T17:06:42.480Z","database_specific":{"cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132276.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132276.json"},{"type":"FIX","url":"https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c"},{"type":"WEB","url":"https://github.com/facelessuser/wcmatch/releases/tag/11.2"},{"type":"ADVISORY","url":"https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132276"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/facelessuser/wcmatch","events":[{"introduced":"0"},{"fixed":"e5305eb42463a857c57e6f8184b2e22e07a09291"},{"fixed":"83491aadde57780330f993620083e979f645c80c"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"11.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"83491aadde57780330f993620083e979f645c80c"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"11.2","range":[{"fixed":"e5305eb42463a857c57e6f8184b2e22e07a09291"}]}]}}],"versions":["11.1","11.0.1","11.0","10.2.1","10.2","10.1","10.0","9.0","8.5.2","8.5.1","8.5","8.4.1","8.4","8.3","8.2","8.1.2","8.1.1","8.1","8.0.1","8.0","7.2","7.1","7.0.1","7.0","6.1","6.0.3","6.0.2","6.0.1","6.0.0","5.1.0","5.0.3","5.0.2","5.0.1","5.0.0","4.3.1","4.3.0","4.2.0","4.1.0","4.0.1","4.0.0","3.0.2","3.0.1","3.0.0","2.2.1","2.2.0","2.1.0","2.0.3","2.0.2","2.0.1","2.0.0","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-132276.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}