# CVE-2026-21874: NiceGUI has Redis connection leak via tab storage causes service degradation

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-08T09:50:47.247Z
- Modified: 2026-07-07T17:56:11.995Z
- Also known as: GHSA-mp55-g7pj-rvm2, PYSEC-2026-1703
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zauberzeug nicegui: >= 2.10.0, < 3.5.0; from 2.10.0 before 3.5.0
- nicegui (PyPI): from 2.10.0 before 3.5.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2> (exploit, vendor-advisory, web)
- <https://github.com/zauberzeug/nicegui/commit/6c52eb2c90c4b67387c025b29646b4bc1578eb83> (patch, web)
- <https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0> (release-notes, 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)

## Sources

- CVE List: [CVE-2026-21874](https://www.cve.org/CVERecord?id=CVE-2026-21874), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-mp55-g7pj-rvm2](https://github.com/advisories/GHSA-mp55-g7pj-rvm2), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-21874](https://nvd.nist.gov/vuln/detail/CVE-2026-21874), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1703](https://osv.dev/vulnerability/PYSEC-2026-1703), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-21874 · Whole record: https://cve.day/CVE-2026-21874.json · Rebuilt by cve.day 2026-11-25T22:59:12.661Z
