CVE-2026-45554

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

State
Published
Severity
5.3 Medium
Published
Jun 2, 2026
Updated
Jun 2, 2026
Reserved
May 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-248 Uncaught Exception
  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
niceguizauberzeug
  • < 3.12.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.