CVE-2026-45554
MEDIUM 5.3CVSS 3.1NiceGUI: Unauthenticated log-volume denial of service in dynamic resource routes
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.
- Published
- 2 Jun 2026
- Last modified
- 22 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-248CWE-770
- Also known as
- GHSA-pq7c-x8g4-rvp6PYSEC-2026-2680
- Sources
- NVDJSONOSV GHSA-pq7c-x8g4-rvp6JSONOSV PYSEC-2026-2680JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nicegui | < 3.12.0 | 3.12.0 |
References
- https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0 · WEB
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-pq7c-x8g4-rvp6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45554 · ADVISORY
- https://github.com/zauberzeug/nicegui · PACKAGE
- https://pypi.org/project/nicegui · PACKAGE
- https://github.com/advisories/GHSA-pq7c-x8g4-rvp6 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 May 2026)