CVE-2024-32005
published high CVSS 3.1 · 8.2Local File Inclusion in NiceGUI leaflet component
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zauberzeug | nicegui | >= 1.4.6, < 1.4.21 (affected) | GitHub_M · cna |
| zauberzeug | nicegui | 1.4.6 to < 1.4.21 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-23 CWE-23: Relative Path Traversal
- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
3GitHub_M · cna
Local File Inclusion in NiceGUI leaflet component
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 51f572b29878c783f12f6f54e4961e02ec384a3e3e892a0f893150a98eec0e24
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record