Security mailing lists by PureSourceCode

CVE-2026-25732

HIGH 7.5CVSS 3.1

NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write

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.

Published
6 Feb 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-601
Also known as
GHSA-9ffm-fxg3-xrhhPYSEC-2026-95
Sources
NVDJSONOSV GHSA-9ffm-fxg3-xrhhJSONOSV PYSEC-2026-95JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) 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 GitHub 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

Affected

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

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Feb 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Feb 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Feb 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.