Advisory record · GHSA-w8wv-vfpc-hw2w

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

CVSS 5.9 MediumEPSS 0.0039 · 33rd percentile

Published by the GitHub Advisory Database at 8 Apr 2026, 15:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
niceguiPyPI<3.10.03.10.0
Identifiers
GHSA-w8wv-vfpc-hw2w · CVE-2026-39844 · PYSEC-2026-2234
Weakness (CWE)
CWE-22
Published
8 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

NiceGUI versions before 3.10.0 are affected. The upload filename sanitization, which relies on forward-slash path handling, can be bypassed on Windows by using backslashes in the uploaded filename. An attacker who can upload files to an application on Windows that builds paths from the uploaded file name could write files outside the intended upload directory, potentially overwriting data or application files. Upgrade to NiceGUI 3.10.0 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0039, the 33rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.