Skip to main content
CVE-2026-25732VulnerabilityPublished Updated

CVE-2026-25732: zauberzeug nicegui · Path Traversal

Affects zauberzeug niceguiSource CVE Database V5

0

Not known to be exploited · public exploit available (Exploit-DB) · CVSS 7.5 High : upgrade to 3.7.0 as a priority.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
3.4% chance of exploitation in 30 days – higher than 88% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.7.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by GitHub_M

    , 28 hours before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. In Threat Radar

    record ingested

    , 20 minutes after disclosure

  4. First Exploit-DB entry (opens in a new tab)

    NiceGUI 3.6.1 - Path Traversal

    , 83 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade zauberzeug nicegui to 3.7.0.

Affected software

ProductAffectedFixed in
zauberzeugniceguiAffected
  • <3.7.0
Fixed in
  • 3.7.0
PyPIniceguipkg:pypi/niceguiOther threatsAffected
  • <3.7.0
Fixed in
  • 3.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade all NiceGUI deployments to version 3.7.0 or later to ensure the vulnerability is patched. Where upgrading is not immediately feasible, developers must implement strict sanitization of all client-supplied filenames before incorporating them into filesystem paths. This includes removing or neutralizing directory traversal sequences such as '../' and restricting filenames to safe character sets. Additionally, adopting the use of generated or fixed filenames instead of client-supplied names can prevent exploitation. Implementing application-level controls such as sandboxing file upload directories, enforcing least privilege on file system permissions, and monitoring file system changes can further reduce risk. Security teams should audit existing applications for vulnerable usage patterns and conduct penetration testing to verify remediation. Finally, network-level protections like web application firewalls (WAFs) can be tuned to detect and block suspicious file upload requests containing traversal payloads.

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.

References

Community reviews

Loading reviews…