Skip to main content
CVE-2026-132276VulnerabilityPublished Updated

molecule · wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)

Affects moleculeSource GCVE Database

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

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

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
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: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 4 Dec 2026.

What to do

Upgrade molecule to 26.10.0_1 or 3.5.1; wcmatch to 11.2.

Affected software

ProductAffectedFixed in
Homebrewmoleculepkg:brew/moleculeOther threatsAffected
  • >=3.3.1 <3.5.1
  • >=6.0.0 <26.10.0_1
Fixed in
  • 3.5.1
  • 26.10.0_1
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.

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

Community reviews

Loading reviews…