CVE-2026-33332Zauberzeug Nicegui
Medium 6.9 No auth needed
Follow: this CVE · Zauberzeug · Zauberzeug Nicegui We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Mar 24, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Nicegui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nicegui |
< 3.9.0 |
3.9.0 |
pip install "nicegui>=3.9.0" |
| PyPI | nicegui |
< 3.9.0 |
3.9.0 |
pip install "nicegui>=3.9.0" |
Per OSV / GitHub Advisories (GHSA-w5g8-5849-vj76, PYSEC-2026-2233). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zauberzeug | nicegui | < 3.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Vendor Advisory