MediumVulnerability
GHSA-w8wv-vfpc-hw2w: NiceGUI: Upload filename sanitization bypass via backslashes allows path traversal on Windows
- Identifiers
- CVE-2026-39844GHSA-w8wv-vfpc-hw2w
- Published
- Record updated
- Affected
- nicegui <= 3.9.0
- Fixed in
- 3.10.0
- released April 7, 2026, 1 day before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
NiceGUI's upload filename sanitization, introduced in GHSA-9ffm-fxg3-xrhh, uses PurePosixPath(filename).name, which only treats forward slashes as separators. On Windows, an attacker can use backslashes in an upload filename to bypass this, enabling arbitrary file write outside the intended upload directory in applications that build paths from file.name. The impact includes data integrity loss and potential remote code execution, while Linux and macOS are not affected.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- niceguiPyPINo LLM dependency detected · 1 tracked dependent
Related items
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Similar attack · NVD/CVE Database
- MediumCVE-2026-124248: GPTranslate WordPress plugin stored cross-site scripting via comment parameterSimilar attack · NVD/CVE Database
- MediumAmazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-DaySimilar attack · SecurityWeek
- MediumAttackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root AccessSimilar attack · The Hacker News
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database