ADVISORIES

Vulnerability

CVE-2024-32005

NiceGUI is an easy-to-use, Python-based UI framework. A local file inclusion is present in the NiceUI leaflet component when requesting resource files under the `/_nicegui/{__version__}/resources/{key}/{path:path}` route. As a result any file on the backend filesystem which the web server has access to can be read by an attacker with access to the NiceUI leaflet website. This vulnerability has been addressed in version 1.4.21. Users are advised to upgrade. There are no known workarounds for this vulnerability.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories in PyPI

  • GHSA-mwc7-64wg-pgvj

    NiceGUI allows potential access to local file system

    High CVE-2024-32005 PyPI Updated 10 September 2026
  • PYSEC-2026-1704

    NiceGUI allows potential access to local file system

    CVE-2024-32005 PyPI Updated 7 July 2026

References