What’s Vulnerable › Vulnerabilities

CVE-2025-66645: NiceGUI Path Traversal Vulnerability in app.add_media_files() Allows Arbitrary File Reading

Description

NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to directory traversal through the App.add_media_files() function, which allows a remote attacker to read arbitrary files on the server filesystem. This issue is fixed in version 3.4.0.

Affected products

How to fix

Upgrade to a fixed version: zauberzeug nicegui 3.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66645 or the next vulnerability affects your stack