Skip to main content
CVE-2026-132276VulnerabilityPublished Updated

Python wcmatch: Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an

Affects python-wcmatchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-132276· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 11.2 when convenient.

Data as of 25 Nov 2026, 22:37 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.9
Patch
Available – fixed in 11.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade wcmatch to 11.2.

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=jammyOther threatsAffected
  • =8.3-2
Fixed in–
Ubuntu 24.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=nobleOther threatsAffected
  • =8.4-2
  • =8.4-2ubuntu0.1
Fixed in–
Ubuntu 26.10python-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=stonkingOther threatsAffected
  • =10.0-1
Fixed in–
Ubuntu 26.04 LTSpython-wcmatchpkg:deb/ubuntu/python-wcmatch?arch=source&distro=resoluteOther threatsAffected
  • =10.0-1
Fixed in–
PyPIwcmatchpkg:pypi/wcmatchOther threatsAffected
  • <11.2
Fixed in
  • 11.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…