ADVISORIES

Vulnerability

CVE-2026-39844

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories in PyPI

  • GHSA-w8wv-vfpc-hw2w

    NiceGUI: Upload filename sanitization bypass via backslashes allows path traversal on Windows

    Moderate CVE-2026-39844 PyPI Updated 13 July 2026
  • PYSEC-2026-2234

    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…

    CVE-2026-39844 PyPI Updated 13 July 2026

References