CVE-2026-106454: Twisted · IMAP wildcardToRegexp() ReDoS
Affects magic-wormholeSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 0.24.0_6 when convenient.
Data as of 3 Nov 2026, 03:16 UTC
- Patch
- Available – fixed in 0.24.0_6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 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 2 Nov 2026.
What to do
Upgrade magic-wormhole to 0.24.0_6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmagic-wormholepkg:brew/magic-wormholeOther 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 fix is available in Twisted version 0.24.0_6 that properly escapes non-wildcard characters before compiling the regex, preventing ReDoS. Users should upgrade to this version or later. No additional mitigation is required if patched.
Description
CVE-2026-106454 is a Regular Expression Denial of Service (ReDoS) vulnerability in the Twisted framework's IMAP implementation. The function wildcardToRegexp() improperly compiles user-supplied IMAP wildcard patterns into Python regular expressions without escaping non-wildcard characters. This allows an authenticated IMAP client to craft regex patterns that cause catastrophic backtracking, blocking the single-threaded Twisted reactor and freezing all server I/O. An attacker with valid IMAP credentials can create a mailbox with a specially crafted name and issue a LIST command with a malicious pattern to stall the server for extended periods. The vulnerability is fixed in Twisted version 0.24.0_6 by properly escaping non-wildcard characters before regex compilation.
References
- github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-106454 (opens in a new tab)
- github.com/twisted/twisted/pull/12788 (opens in a new tab)
- github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f (opens in a new tab)
- github.com/twisted/twisted (opens in a new tab)