NiceGUI Exploit

HIGH (7.5)

Threat Intelligence

Medium Risk - Detectable
EPSS Score: 0.46% chance of exploitation (percentile: 63%)
🔍 Detection Tools: OSV.dev
⚔️ Exploit Availability: No public exploits found

How we test →

What is it?

NiceGUI is a Python-based UI framework used to build graphical user interfaces. This vulnerability allows remote attackers to execute arbitrary code on the server by exploiting directory traversal through the App.add_media_files() function, potentially leading to unauthorized access or data theft.

Am I affected?

You're affected if you use NiceGUI. Affected versions: 3.3.1

Affected Packages

pypi: nicegui

How to fix

Upgrade to NiceGUI version 3.4.0 or later from the official GitHub repository: https://github.com/zauberzeug/nicegui/releases
- Alternatively, you can immediately mitigate the issue by restricting network access to your NiceGUI instance (firewall it from the public internet) and auditing admin account activity for suspicious access patterns.