Quick answers
- Is CVE-2026-25732 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-25732 being exploited in the wild.
- How severe is CVE-2026-25732?
- High severity, with a CVSS score of 7.5, published 5 February 2026.
- Which products and versions are affected?
- nicegui (PyPI) <= 3.6.1, ECOSYSTEM:introduced=0,fixed=3.7.0.
- Is there a fix for CVE-2026-25732?
- Yes. nicegui (PyPI): upgrade to 3.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-25732 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-25732?
- Check whether you run nicegui (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- nicegui (PyPI): upgrade to 3.7.0 or later
pip install "nicegui>=3.7.0"
Technical details
A path traversal vulnerability exists in NiceGUI's `SmallFileUpload.save()` and `LargeFileUpload.save()` methods within `nicegui/elements/upload_files.py`. The `FileUpload.name` property contains unsanitized client-supplied metadata, including directory traversal sequences like `../`. When application code constructs a filesystem path using this property (e.g., `UPLOAD_DIR / e.file.name`), an attacker can specify an absolute path or a relative path that escapes the intended directory. This allows for arbitrary file writes and potential remote code execution (RCE) if the attacker overwrites application source code or configuration files. The issue is addressed in version 3.7.0.
Affected products
- zauberzeug nicegui <= 3.6.1
Identifiers
- CVE-2026-25732
- GHSA-9ffm-fxg3-xrhh
- PYSEC-2026-95
Timeline
- 2026-02-05: disclosed
- 2026-02-05: advisory
- 2026-02-05: patched: Fixed in version 3.7.0