CVE-2026-141598
wcmatch before 13.0 contains a regular expression denial of service …
wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths against patterns with three or more globstar segments. Attackers can supply a few KB of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, triggering roughly O(n^k) backtracking that consumes a CPU core for minutes.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247
- github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e
- github.com/facelessuser/wcmatch/releases/tag/13.0
- github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52
- www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-h
- nvd.nist.gov/vuln/detail/CVE-2026-141598
- cve.org/CVERecord?id=CVE-2026-141598
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.