
PEACH
Un cadre d’isolation des locataires
CVE-2026-132276 is a Regular Expression Denial of Service (ReDoS) vulnerability in the wcmatch Python library for wildcard file-name matching. Prior to version 11.2, matching an attacker-controlled filename against a developer-supplied pattern containing multiple * wildcards separated by literals (e.g., *_*_*_*_*.csv) causes polynomial-time backtracking, allowing a single comparison to consume tens of seconds of CPU time. The vulnerability affects all wcmatch versions up to and including 11.1 under default flags, impacting fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory).
The root cause is CWE-1333 (Inefficient Regular Expression Complexity): each * wildcard is translated by _handle_star() in wcmatch/_wcparse.py into a lazy regex segment (.*? as _STAR, or [^/]*? as _PATH_STAR). When multiple such segments appear in sequence, the regex engine must try every possible way to split a non-matching input string across the stars, resulting in O(n^k) complexity for k stars and a name of length n. For example, the pattern *_*_*_*_*.csv becomes ^(?s:(?=.)(?![.]).*?_.*?_.*?_.*?_.*?\.csv)$, which takes ~73 seconds to reject a 255-byte filename of underscores on CPython 3.13, versus under 1 millisecond for the standard library. The attack requires no authentication, no special flags, and no attacker-controlled pattern — only the ability to supply or create a filename that is matched against a multi-star developer pattern (GitHub Advisory, Fix Commit).
Successful exploitation causes CPU exhaustion on the affected server, blocking a single CPU core for tens of seconds to minutes per crafted filename. Applications vulnerable to this include upload handlers, archive or object-store key filters, and glob/WcMatch directory scans where untrusted users can create filenames. There is no confidentiality or integrity impact; the sole consequence is a Denial of Service that can render the application unresponsive to legitimate users (GitHub Advisory).
A proof-of-concept exploit is publicly available in the GitHub Security Advisory, demonstrating that a 255-byte filename of underscore characters causes fnmatch.fnmatch() to take ~72.7 seconds and glob.globmatch() to take ~85.75 seconds, compared to under 1 millisecond for the Python standard library. No authentication or user interaction is required, though exploitation requires the attacker to be able to supply or create a filename that is matched against a vulnerable multi-star pattern. The EPSS score is 0.0 and there is no evidence of in-the-wild exploitation or CISA KEV catalog listing at this time (GitHub Advisory, Feedly).
wcmatch versions prior to 11.2 that matches user-controlled filenames or paths against patterns containing multiple * wildcards separated by literals (e.g., upload handlers, file filters, or directory scanners).'_' * 255), which will not match the target pattern but will maximize backtracking.fnmatch.fnmatch(name, '*_*_*_*_*.csv') or glob.globmatch('uploads/' + '_'*255, 'uploads/*_*_*_*_*.csv').wcmatch glob operations.Upgrade wcmatch to version 11.2 or later, which fixes the vulnerability by wrapping each star segment except the last in an atomic group ((?>...)), preventing the regex engine from backtracking across star boundaries — the same approach used by CPython's own fnmatch fix (bpo-40480). Note that the fix requires Python 3.11 or later, as atomic groups are not available in Python 3.10; version 11.2 also drops support for Python 3.10. No configuration-based workaround is available for the default-flag code paths; the only remediation is upgrading the library (GitHub Advisory, Release 11.2, Fix Commit).
The vulnerability was discovered and reported by researcher @gistrec, who is credited in both the GitHub Security Advisory and the fix commit. The maintainer (facelessuser) promptly addressed the issue in version 11.2, adopting the same atomic-group approach used by CPython to fix an analogous backtracking problem in its standard library fnmatch (bpo-40480). No significant broader media coverage or social media discussion has been observed beyond the advisory itself (GitHub Advisory, Release 11.2).
Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."