All reports
High

NiceGUI allows potential access to local file system

Affected versions

Version ranges need review.

Affected versions
>= 1.4.6, < 1.4.21
Fixed version
1.4.21
Affected versions
>=1.4.6 <1.4.21
Fixed version
1.4.21

Exploitation

CVE-2024-32005

Probability of exploitation in the next 30 days: 0.76%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • sunriseXu