CVE-2026-21874: zauberzeug nicegui · Missing Release of Resource after Effective Lifetime
Affects zauberzeug niceguiSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.5.0 when convenient.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.5.0, 3.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade nicegui to 3.5.0; nicegui to 3.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zauberzeugnicegui | Affected
| Fixed in
|
PyPIniceguipkg:pypi/niceguiOther 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
European organizations should immediately upgrade NiceGUI to version 3.5.0 or later, where the vulnerability is patched. Until upgrading is possible, implement monitoring on Redis connection counts and set alerts for abnormal connection usage patterns. Configure Redis to limit maximum connections per client or implement connection pooling to mitigate exhaustion risks. Employ web application firewalls or rate limiting to restrict rapid tab opening/closing behaviors from single IP addresses. Consider isolating Redis instances used by NiceGUI applications to prevent broader impact on other services. Regularly audit application dependencies and maintain an inventory of NiceGUI versions in use. Finally, educate developers and administrators about proper resource management and encourage timely patching of third-party components.
Description
CVE-2026-21874 is a medium-severity vulnerability in the NiceGUI Python UI framework versions 2.10.0 through 3.4.1. It allows unauthenticated attackers to exhaust Redis connections by repeatedly opening and closing browser tabs on applications using Redis-backed storage. The vulnerability arises because Redis connections are not properly released, leading to service degradation when the Redis connection limit is reached. Although the NiceGUI app remains operational, storage functionality breaks and errors are logged. This issue does not impact confidentiality or integrity but affects availability. The vulnerability has been patched in version 3.