molecule · wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)
Affects moleculeSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 26.10.0_1 or 3.5.1 when convenient.
Data as of 4 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 26.10.0_1, 3.5.1, 11.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 4 Dec 2026.
What to do
Upgrade molecule to 26.10.0_1 or 3.5.1; wcmatch to 11.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmoleculepkg:brew/moleculeOther threats | Affected
| Fixed in
|
PyPIwcmatchpkg:pypi/wcmatchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that fixes this vulnerability by changing the regex translation to emit every star segment except the last as an atomic group, significantly improving matching performance. Users should upgrade to fixed versions 3.5.1 or later and 26.10.0_1 or later. Until patched, applications should avoid matching untrusted input against multi-star patterns with default flags in wcmatch. No other mitigations are specified.
Description
A ReDoS (Regular Expression Denial of Service) vulnerability exists in the wcmatch library when matching untrusted file names against patterns containing multiple '*' wildcards with default flags. The matching process can take polynomial time relative to the number of stars, causing significant delays (up to over a minute) for crafted inputs. This vulnerability affects applications that use wcmatch to match untrusted file names or keys, such as upload handlers or directory scans, potentially allowing attackers to cause denial of service without authentication. A fix is available that changes the regex to use atomic groups for all but the last star segment, drastically improving performance.
References
- github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-132276 (opens in a new tab)
- github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c (opens in a new tab)
- github.com/facelessuser/wcmatch (opens in a new tab)
- github.com/facelessuser/wcmatch/releases/tag/11.2 (opens in a new tab)