Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nicegui
  4. ›
  5. CVE-2026-21874

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

January 8, 2026

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.

References

  • github.com/advisories/GHSA-mp55-g7pj-rvm2
  • github.com/zauberzeug/nicegui
  • github.com/zauberzeug/nicegui/commit/6c52eb2c90c4b67387c025b29646b4bc1578eb83
  • github.com/zauberzeug/nicegui/releases/tag/v3.5.0
  • github.com/zauberzeug/nicegui/security/advisories/GHSA-mp55-g7pj-rvm2
  • nvd.nist.gov/vuln/detail/CVE-2026-21874

Code Behaviors & Features

Detect and mitigate CVE-2026-21874 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.10.0 before 3.5.0

Fixed versions

  • 3.5.0

Solution

Upgrade to version 3.5.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

pypi/nicegui/CVE-2026-21874.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:57 +0000.