CVE-2024-32005
HIGH 8.2CVSS 3.1NiceGUI allows potential access to local file system
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.
- Published
- 12 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-mwc7-64wg-pgvjPYSEC-2026-1704
- Sources
- NVDJSONOSV GHSA-mwc7-64wg-pgvjJSONOSV PYSEC-2026-1704JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nicegui | >= 1.4.6, < 1.4.21 | 1.4.21 |
References
- https://github.com/zauberzeug/nicegui/commit/ed12eb14f2a6c48b388a05c04b3c5a107ea9d330 · WEB
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mwc7-64wg-pgvj · WEB
- https://huntr.com/bounties/29ec621a-bd69-4225-ab0f-5bb8a1d10c67 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32005 · ADVISORY
- https://github.com/zauberzeug/nicegui · PACKAGE
- https://pypi.org/project/nicegui · PACKAGE
- https://github.com/advisories/GHSA-mwc7-64wg-pgvj · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Apr 2024)