Security mailing lists by PureSourceCode

CVE-2026-39844

HIGH 7.5CVSS 3.1

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

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.

Published
8 Apr 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-w8wv-vfpc-hw2wPYSEC-2026-2234
Sources
NVDJSONOSV GHSA-w8wv-vfpc-hw2wJSONOSV PYSEC-2026-2234JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD zauberzeug nicegui
cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*
< 3.10.0 3.10.0
OSV PyPI nicegui < 3.10.0 3.10.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.