CVE-2026-106454: Twisted · IMAP wildcardToRegexp() ReDoS
Affects scrapySource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 2.19.0_3 when convenient.
Data as of 3 Nov 2026, 03:16 UTC
- Patch
- Available – fixed in 2.19.0_3
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 scrapy to 2.19.0_3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewscrapypkg:brew/scrapyOther 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 in Twisted version 2.19.0_3 that properly escapes non-wildcard characters before compiling the regex, preventing ReDoS. Users should upgrade to version 2.19.0_3 or later. No other mitigation is required as the issue is fixed in this release.
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 regular expressions without escaping non-wildcard characters, allowing crafted patterns to cause catastrophic backtracking. Because Twisted uses a single-threaded event loop, this blocking regex match can freeze all server I/O, resulting in denial of service. An authenticated IMAP client can exploit this by creating a mailbox with a specially crafted name and issuing a LIST command with a malicious pattern, causing the server to hang for extended periods.
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)