CVE-2026-21874 Details
Description
NiceGUI is a Python-based UI framework. From versions v2.10.0 to 3.4.1, an unauthenticated attacker can exhaust Redis connections by repeatedly opening and closing browser tabs on any NiceGUI application using Redis-backed storage. Connections are never released, leading to service degradation when Redis hits its connection limit. NiceGUI continues accepting new connections - errors are logged but the app stays up with broken storage functionality. This issue has been patched in version 3.5.0.
A vulnerability in NiceGUI versions 2.10.0 through 3.4.1 allows unauthenticated attackers to exhaust Redis connections. This is achieved by repeatedly opening and closing browser tabs in NiceGUI applications that use Redis for storage. The issue arises because connections are not properly released, causing service degradation once Redis reaches its connection limit. Although NiceGUI continues to accept new connections, this leads to errors being logged while disrupting the application's storage functionality. The vulnerability has been patched in NiceGUI version 3.5.0.
Users can upgrade to NiceGUI version 3.5.0, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/zauberzeug/nicegui/commit/6c52eb2c90c4b67387c025b29646b4bc1578eb83 | [email protected] | Patch |
| https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0 | [email protected] | Release Notes |
| https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-772 | Missing Release of Resource after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zauberzeug nicegui | >= 2.10.0, < 3.5.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 15, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2026 | New CVE Received | [email protected] |