Back to list

NiceGUI: Unauthenticated log-volume denial of service in dynamic resource routes — CVE-2026-45554

GitHub · GitHub · CVE-2026-45554

ID
CVE-2026-45554
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.3

Summary

### Summary 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…

Product

pip: nicegui

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories