HIGH7.5
PYSEC-2026-2234
Quick fix
PYSEC-2026-2234 — nicegui: upgrade to the fixed version with the command below.
pip install --upgrade 'nicegui>=3.10.0'Details
NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backslashes (\) in the upload filename. Applications that construct file paths using file.name (a pattern demonstrated in NiceGUI's bundled examples) are vulnerable to arbitrary file write on Windows. This vulnerability is fixed in 3.10.0.
Are you affected?
Enter the version of the package you're using.