Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-45554 EUVD-2026-33965GHSA-pq7c-x8g4-rvp6PYSEC-2026-2680

NiceGUI: Unauthenticated log-flood DoS via trailing slash on ESM and per-component resource routes

Published Jun 2, 2026 · Updated Jun 2, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
zauberzeug nicegui < 3.12.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nicegui < 3.12.0 3.12.0 GHSA-pq7c-x8g4-rvp6

References