CVE-2026-21874
MEDIUM 5.3CVSS 3.1NiceGUI has Redis connection leak via tab storage causes service degradation
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.
- Published
- 8 Jan 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-772
- Also known as
- GHSA-mp55-g7pj-rvm2PYSEC-2026-1703
- Sources
- NVDJSONOSV GHSA-mp55-g7pj-rvm2JSONOSV PYSEC-2026-1703JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zauberzeug | niceguicpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:* |
>= 2.10.0, < 3.5.0 | 3.5.0 |
| OSV | PyPI | nicegui | >= 2.10.0, < 3.5.0 | 3.5.0 |
References
- https://github.com/zauberzeug/nicegui/commit/6c52eb2c90c4b67387c025b29646b4bc1578eb83 · Patch, WEB
- https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0 · Release Notes, WEB
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21874 · ADVISORY
- https://github.com/zauberzeug/nicegui · PACKAGE
- https://pypi.org/project/nicegui · PACKAGE
- https://github.com/advisories/GHSA-mp55-g7pj-rvm2 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 8 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jan 2026)