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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T17:06:42.480Z
- Modified: 2026-11-21T00:00:04.019Z
- Also known as: GHSA-53pm-wgxf-c6qf
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- facelessuser wcmatch: < 11.2
- wcmatch (PyPI): before 11.2

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf> (exploit, web)
- <https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c> (web)
- <https://github.com/facelessuser/wcmatch/releases/tag/11.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-132276> (advisory)
- <https://github.com/facelessuser/wcmatch> (package)

## Sources

- CVE List: [CVE-2026-132276](https://www.cve.org/CVERecord?id=CVE-2026-132276), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-53pm-wgxf-c6qf](https://github.com/advisories/GHSA-53pm-wgxf-c6qf), CC-BY-4.0, modified 2026-11-21
- NVD: [CVE-2026-132276](https://nvd.nist.gov/vuln/detail/CVE-2026-132276), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-132276 · Whole record: https://cve.day/CVE-2026-132276.json · Rebuilt by cve.day 2026-11-25T22:59:52.432Z
