Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nicegui
  4. ›
  5. CVE-2024-32005

CVE-2024-32005: NiceGUI allows potential access to local file system

April 12, 2024

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.

References

  • github.com/advisories/GHSA-mwc7-64wg-pgvj
  • github.com/zauberzeug/nicegui
  • github.com/zauberzeug/nicegui/commit/ed12eb14f2a6c48b388a05c04b3c5a107ea9d330
  • github.com/zauberzeug/nicegui/security/advisories/GHSA-mwc7-64wg-pgvj
  • nvd.nist.gov/vuln/detail/CVE-2024-32005

Code Behaviors & Features

Detect and mitigate CVE-2024-32005 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4.6 before 1.4.21

Fixed versions

  • 1.4.21

Solution

Upgrade to version 1.4.21 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

pypi/nicegui/CVE-2024-32005.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:51 +0000.