Skip to main content
← All vulnerabilities
CVE-2026-45554PYSEC-2026-2680GHSA-PQ7C-X8G4-RVP6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • zauberzeug nicegui

    fixed in 3.12.0

  • niceguiPyPI

    fixed in 3.12.0

References 2

GitHub · zauberzeug/nicegui