Resource exhaustion in Zauberzeug Nicegui
CVE-2026-33332
NiceGUI is a Python-based UI framework. Prior to version 3.9.0, NiceGUI's app.add_media_file() and app.add_media_files() media routes accept a user-controlled query parameter that influences how files are read during streaming. The parameter is passed to the range-response implementation without validation, allowing an attacker to bypass chunked streaming and force the server to load entire files into memory at once. With large media files and concurrent requests, this can lead to excessive memory consumption, degraded performance, or denial of service. This issue has been patched in version 3.9.0.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.006, 51.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zauberzeug Nicegui — versions < 3.9.0
Weakness classification (CWE)
References
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-w5g8-5849-vj76 (Mitigation, Vendor Advisory)
- https://github.com/zauberzeug/nicegui/commit/9026962b8c4f3f225c98b2fbc35aa6b60cb3495b (Patch)
- https://github.com/zauberzeug/nicegui/releases/tag/v3.9.0 (Product, Release Notes)