CVE-2026-45554
MEDIUMNiceGUI: Unauthenticated log-flood DoS via trailing slash on ESM and per-component resource routes
Title source: cnaDescription
NiceGUI is a Python-based UI framework. Prior to version 3.12.0, two FastAPI routes that serve per-component static assets in NiceGUI accept a sub-path parameter that may resolve to a directory rather than a file. Requests that resolve to a directory raise an unhandled RuntimeError inside Starlette's FileResponse, which Uvicorn writes to the server log as a full traceback. Because the routes are reachable without authentication, a remote attacker can amplify log volume and consume disk and log-pipeline capacity on any publicly reachable NiceGUI server. This issue has been patched in version 3.12.0.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/zauberzeug/nicegui/security/advisories/GHSA-pq7c-x8g4-rvp6
X_Refsource_Misc x_refsource_misc
https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0
Scores
CVSS v3
5.3
EPSS
0.0034
EPSS Percentile
25.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-248
CWE-770
Status
published
Products (2)
pypi/nicegui
0 - 3.12.0PyPI
zauberzeug/nicegui
< 3.12.0
Published
Jun 02, 2026
Tracked Since
Jun 02, 2026