Skip to content
OpenAdvisories
High · 8.2 CVE-2024-32005 EUVD-2024-1257GHSA-mwc7-64wg-pgvjPYSEC-2026-1704

Local File Inclusion in NiceGUI leaflet component

Published Apr 12, 2024 · Updated Sep 6, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
zauberzeug nicegui >= 1.4.6, < 1.4.21 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nicegui >= 1.4.6, < 1.4.21 1.4.21 GHSA-mwc7-64wg-pgvj

References