CVE-2026-21874
Zauberzeug Nicegui vulnerability
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.
Affected products
Nicegui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zauberzeug Nicegui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2 · Exploit
- github.com/zauberzeug/nicegui/commit/6c52eb2c90c4b67387c025b29646b4bc1578eb83 · Patch
- github.com/zauberzeug/nicegui/releases/tag/v3.5.0
- nvd.nist.gov/vuln/detail/CVE-2026-21874
- github.com/advisories/GHSA-mp55-g7pj-rvm2
- nvd.nist.gov/vuln/detail/CVE-2026-21874
- cve.org/CVERecord?id=CVE-2026-21874
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.