Skip to content

CVE-2026-25732 NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write

HighCVSS 7.5 EPSS 3.4% Public exploit
Published
Updated
Exploit status
Public exploit available
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

NiceGUI is a Python-based UI framework. Prior to 3.7.0, NiceGUI's FileUpload.name property exposes client-supplied filename metadata without sanitization, enabling path traversal when developers use the pattern UPLOAD_DIR / file.name. Malicious filenames containing ../ sequences allow attackers to write files outside intended directories, with potential for remote code execution through application file overwrites in vulnerable deployment patterns. This design creates a prevalent security footgun affecting applications following common community patterns. Note: Exploitation requires application code incorporating file.name into filesystem paths without sanitization. Applications using fixed paths, generated filenames, or explicit sanitization are not affected. This vulnerability is fixed in 3.7.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi nicegui(PyPI) < 3.7.0; <= 3.6.1; = 0.1.0; = 0.1.4 +298 more 3.7.0 Fixed
zauberzeug nicegui < 3.7.0; = < 3.7.0 3.7.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi nicegui(PyPI) < 3.7.0 3.7.0
pypi nicegui(PyPI) = 0.1.0 No fix listed
pypi nicegui(PyPI) = 0.1.4 No fix listed
pypi nicegui(PyPI) = 0.1.6 No fix listed
pypi nicegui(PyPI) = 0.2.0 No fix listed
pypi nicegui(PyPI) = 0.2.1 No fix listed
pypi nicegui(PyPI) = 0.2.10 No fix listed
pypi nicegui(PyPI) = 0.2.11 No fix listed
pypi nicegui(PyPI) = 0.2.12 No fix listed
pypi nicegui(PyPI) = 0.2.13 No fix listed
pypi nicegui(PyPI) = 0.2.14 No fix listed
pypi nicegui(PyPI) = 0.2.15 No fix listed
pypi nicegui(PyPI) = 0.2.2 No fix listed
pypi nicegui(PyPI) = 0.2.3 No fix listed
pypi nicegui(PyPI) = 0.2.4 No fix listed
pypi nicegui(PyPI) = 0.2.9 No fix listed
pypi nicegui(PyPI) = 0.3.0 No fix listed
pypi nicegui(PyPI) = 0.3.1 No fix listed
pypi nicegui(PyPI) = 0.3.2 No fix listed
pypi nicegui(PyPI) = 0.3.3 No fix listed
pypi nicegui(PyPI) = 0.3.4 No fix listed
pypi nicegui(PyPI) = 0.3.5 No fix listed
pypi nicegui(PyPI) = 0.3.6 No fix listed
pypi nicegui(PyPI) = 0.3.7 No fix listed
pypi nicegui(PyPI) = 0.3.8 No fix listed
Show 175 more
ProductAffected versionsFixed in
pypi nicegui(PyPI) = 0.3.9 No fix listed
pypi nicegui(PyPI) = 0.4.0 No fix listed
pypi nicegui(PyPI) = 0.4.1 No fix listed
pypi nicegui(PyPI) = 0.4.10 No fix listed
pypi nicegui(PyPI) = 0.4.11 No fix listed
pypi nicegui(PyPI) = 0.4.12 No fix listed
pypi nicegui(PyPI) = 0.4.13 No fix listed
pypi nicegui(PyPI) = 0.4.14 No fix listed
pypi nicegui(PyPI) = 0.4.15 No fix listed
pypi nicegui(PyPI) = 0.4.2 No fix listed
pypi nicegui(PyPI) = 0.4.3 No fix listed
pypi nicegui(PyPI) = 0.4.4 No fix listed
pypi nicegui(PyPI) = 0.4.5 No fix listed
pypi nicegui(PyPI) = 0.4.6 No fix listed
pypi nicegui(PyPI) = 0.4.7 No fix listed
pypi nicegui(PyPI) = 0.4.8 No fix listed
pypi nicegui(PyPI) = 0.4.9 No fix listed
pypi nicegui(PyPI) = 0.5.0 No fix listed
pypi nicegui(PyPI) = 0.5.1 No fix listed
pypi nicegui(PyPI) = 0.5.10 No fix listed
pypi nicegui(PyPI) = 0.5.11 No fix listed
pypi nicegui(PyPI) = 0.5.12 No fix listed
pypi nicegui(PyPI) = 0.5.2 No fix listed
pypi nicegui(PyPI) = 0.5.3 No fix listed
pypi nicegui(PyPI) = 0.5.4 No fix listed
pypi nicegui(PyPI) = 0.5.5 No fix listed
pypi nicegui(PyPI) = 0.5.6 No fix listed
pypi nicegui(PyPI) = 0.5.7 No fix listed
pypi nicegui(PyPI) = 0.5.8 No fix listed
pypi nicegui(PyPI) = 0.5.9 No fix listed
pypi nicegui(PyPI) = 0.6.0 No fix listed
pypi nicegui(PyPI) = 0.6.1 No fix listed
pypi nicegui(PyPI) = 0.6.10 No fix listed
pypi nicegui(PyPI) = 0.6.11 No fix listed
pypi nicegui(PyPI) = 0.6.12 No fix listed
pypi nicegui(PyPI) = 0.6.13 No fix listed
pypi nicegui(PyPI) = 0.6.2 No fix listed
pypi nicegui(PyPI) = 0.6.3 No fix listed
pypi nicegui(PyPI) = 0.6.4 No fix listed
pypi nicegui(PyPI) = 0.6.5 No fix listed
pypi nicegui(PyPI) = 0.6.6 No fix listed
pypi nicegui(PyPI) = 0.6.7 No fix listed
pypi nicegui(PyPI) = 0.6.8 No fix listed
pypi nicegui(PyPI) = 0.6.9 No fix listed
pypi nicegui(PyPI) = 0.7.0 No fix listed
pypi nicegui(PyPI) = 0.7.1 No fix listed
pypi nicegui(PyPI) = 0.7.10 No fix listed
pypi nicegui(PyPI) = 0.7.11 No fix listed
pypi nicegui(PyPI) = 0.7.12 No fix listed
pypi nicegui(PyPI) = 0.7.13 No fix listed
pypi nicegui(PyPI) = 0.7.14 No fix listed
pypi nicegui(PyPI) = 0.7.15 No fix listed
pypi nicegui(PyPI) = 0.7.16 No fix listed
pypi nicegui(PyPI) = 0.7.17 No fix listed
pypi nicegui(PyPI) = 0.7.18 No fix listed
pypi nicegui(PyPI) = 0.7.19 No fix listed
pypi nicegui(PyPI) = 0.7.2 No fix listed
pypi nicegui(PyPI) = 0.7.21 No fix listed
pypi nicegui(PyPI) = 0.7.22 No fix listed
pypi nicegui(PyPI) = 0.7.23 No fix listed
pypi nicegui(PyPI) = 0.7.24 No fix listed
pypi nicegui(PyPI) = 0.7.25 No fix listed
pypi nicegui(PyPI) = 0.7.26 No fix listed
pypi nicegui(PyPI) = 0.7.27 No fix listed
pypi nicegui(PyPI) = 0.7.28 No fix listed
pypi nicegui(PyPI) = 0.7.29 No fix listed
pypi nicegui(PyPI) = 0.7.3 No fix listed
pypi nicegui(PyPI) = 0.7.30 No fix listed
pypi nicegui(PyPI) = 0.7.4 No fix listed
pypi nicegui(PyPI) = 0.7.6 No fix listed
pypi nicegui(PyPI) = 0.7.7 No fix listed
pypi nicegui(PyPI) = 0.7.8 No fix listed
pypi nicegui(PyPI) = 0.7.9 No fix listed
pypi nicegui(PyPI) = 0.8.0 No fix listed
pypi nicegui(PyPI) = 0.8.1 No fix listed
pypi nicegui(PyPI) = 0.8.10 No fix listed
pypi nicegui(PyPI) = 0.8.11 No fix listed
pypi nicegui(PyPI) = 0.8.12 No fix listed
pypi nicegui(PyPI) = 0.8.13 No fix listed
pypi nicegui(PyPI) = 0.8.14 No fix listed
pypi nicegui(PyPI) = 0.8.15 No fix listed
pypi nicegui(PyPI) = 0.8.16 No fix listed
pypi nicegui(PyPI) = 0.8.2 No fix listed
pypi nicegui(PyPI) = 0.8.3 No fix listed
pypi nicegui(PyPI) = 0.8.4 No fix listed
pypi nicegui(PyPI) = 0.8.5 No fix listed
pypi nicegui(PyPI) = 0.8.6 No fix listed
pypi nicegui(PyPI) = 0.8.7 No fix listed
pypi nicegui(PyPI) = 0.8.8 No fix listed
pypi nicegui(PyPI) = 0.8.9 No fix listed
pypi nicegui(PyPI) = 0.9.0 No fix listed
pypi nicegui(PyPI) = 0.9.1 No fix listed
pypi nicegui(PyPI) = 0.9.10 No fix listed
pypi nicegui(PyPI) = 0.9.11 No fix listed
pypi nicegui(PyPI) = 0.9.12 No fix listed
pypi nicegui(PyPI) = 0.9.13 No fix listed
pypi nicegui(PyPI) = 0.9.14 No fix listed
pypi nicegui(PyPI) = 0.9.15 No fix listed
pypi nicegui(PyPI) = 0.9.16 No fix listed
pypi nicegui(PyPI) = 0.9.17 No fix listed
pypi nicegui(PyPI) = 0.9.18 No fix listed
pypi nicegui(PyPI) = 0.9.19 No fix listed
pypi nicegui(PyPI) = 0.9.2 No fix listed
pypi nicegui(PyPI) = 0.9.20 No fix listed
pypi nicegui(PyPI) = 0.9.21 No fix listed
pypi nicegui(PyPI) = 0.9.22 No fix listed
pypi nicegui(PyPI) = 0.9.23 No fix listed
pypi nicegui(PyPI) = 0.9.24 No fix listed
pypi nicegui(PyPI) = 0.9.25 No fix listed
pypi nicegui(PyPI) = 0.9.26 No fix listed
pypi nicegui(PyPI) = 0.9.27 No fix listed
pypi nicegui(PyPI) = 0.9.28 No fix listed
pypi nicegui(PyPI) = 0.9.3 No fix listed
pypi nicegui(PyPI) = 0.9.4 No fix listed
pypi nicegui(PyPI) = 0.9.5 No fix listed
pypi nicegui(PyPI) = 0.9.6 No fix listed
pypi nicegui(PyPI) = 0.9.7 No fix listed
pypi nicegui(PyPI) = 0.9.8 No fix listed
pypi nicegui(PyPI) = 0.9.9 No fix listed
pypi nicegui(PyPI) = 1.0.1 No fix listed
pypi nicegui(PyPI) = 1.0.10 No fix listed
pypi nicegui(PyPI) = 1.0.2 No fix listed
pypi nicegui(PyPI) = 1.0.3 No fix listed
pypi nicegui(PyPI) = 1.0.4 No fix listed
pypi nicegui(PyPI) = 1.0.5 No fix listed
pypi nicegui(PyPI) = 1.0.6 No fix listed
pypi nicegui(PyPI) = 1.0.7 No fix listed
pypi nicegui(PyPI) = 1.0.8 No fix listed
pypi nicegui(PyPI) = 1.0.9 No fix listed
pypi nicegui(PyPI) = 1.1.0 No fix listed
pypi nicegui(PyPI) = 1.1.1 No fix listed
pypi nicegui(PyPI) = 1.1.10 No fix listed
pypi nicegui(PyPI) = 1.1.11 No fix listed
pypi nicegui(PyPI) = 1.1.2 No fix listed
pypi nicegui(PyPI) = 1.1.3 No fix listed
pypi nicegui(PyPI) = 1.1.4 No fix listed
pypi nicegui(PyPI) = 1.1.5 No fix listed
pypi nicegui(PyPI) = 1.1.6 No fix listed
pypi nicegui(PyPI) = 1.1.7 No fix listed
pypi nicegui(PyPI) = 1.1.8 No fix listed
pypi nicegui(PyPI) = 1.1.9 No fix listed
pypi nicegui(PyPI) = 1.2.0 No fix listed
pypi nicegui(PyPI) = 1.2.1 No fix listed
pypi nicegui(PyPI) = 1.2.10 No fix listed
pypi nicegui(PyPI) = 1.2.11 No fix listed
pypi nicegui(PyPI) = 1.2.12 No fix listed
pypi nicegui(PyPI) = 1.2.13 No fix listed
pypi nicegui(PyPI) = 1.2.14 No fix listed
pypi nicegui(PyPI) = 1.2.15 No fix listed
pypi nicegui(PyPI) = 1.2.16 No fix listed
pypi nicegui(PyPI) = 1.2.17 No fix listed
pypi nicegui(PyPI) = 1.2.18 No fix listed
pypi nicegui(PyPI) = 1.2.2 No fix listed
pypi nicegui(PyPI) = 1.2.20 No fix listed
pypi nicegui(PyPI) = 1.2.21 No fix listed
pypi nicegui(PyPI) = 1.2.22 No fix listed
pypi nicegui(PyPI) = 1.2.23 No fix listed
pypi nicegui(PyPI) = 1.2.24 No fix listed
pypi nicegui(PyPI) = 1.2.3 No fix listed
pypi nicegui(PyPI) = 1.2.4 No fix listed
pypi nicegui(PyPI) = 1.2.5 No fix listed
pypi nicegui(PyPI) = 1.2.6 No fix listed
pypi nicegui(PyPI) = 1.2.7 No fix listed
pypi nicegui(PyPI) = 1.2.8 No fix listed
pypi nicegui(PyPI) = 1.2.9 No fix listed
pypi nicegui(PyPI) = 1.3.0 No fix listed
pypi nicegui(PyPI) = 1.3.1 No fix listed
pypi nicegui(PyPI) = 1.3.10 No fix listed
pypi nicegui(PyPI) = 1.3.11 No fix listed
pypi nicegui(PyPI) = 1.3.12 No fix listed
pypi nicegui(PyPI) = 1.3.13 No fix listed
pypi nicegui(PyPI) = 1.3.14 No fix listed
pypi nicegui(PyPI) = 1.3.15 No fix listed
pypi nicegui(PyPI) = 1.3.16 No fix listed
pypi nicegui(PyPI) = 1.3.17 No fix listed

References