Missing Release of Resource after Effective Lifetime Affecting nicegui package, versions [2.10.0,3.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-NICEGUI-14912449
  • published11 Jan 2026
  • disclosed8 Jan 2026
  • creditEvan Chan, Daniel Yudelevich

Introduced: 8 Jan 2026

NewCVE-2026-21874  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade nicegui to version 3.5.0 or higher.

Overview

nicegui is a Create web-based user interfaces with Python. The nice way.

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the handle_disconnect() function, when using the Redis backend for tab storage. An attacker can cause service degradation and loss of persistent storage functionality by repeatedly opening and closing browser tabs, which exhausts available Redis connections.

CVSS Base Scores

version 4.0
version 3.1