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

Configuration 1 (hide)

cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-24 20:16

Updated : 2026-03-26 12:58


NVD link : CVE-2026-33332

Mitre link : CVE-2026-33332

CVE.ORG link : CVE-2026-33332


JSON object : View

Products Affected

zauberzeug

  • nicegui
CWE
CWE-20

Improper Input Validation

CWE-770

Allocation of Resources Without Limits or Throttling