chore(deps): update dependency nicegui to v3.10.0 [security]#531
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency nicegui to v3.10.0 [security]#531renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
3.9.0→3.10.0GitHub Vulnerability Alerts
CVE-2026-39844
Summary
The upload filename sanitization introduced in GHSA-9ffm-fxg3-xrhh uses
PurePosixPath(filename).nameto strip path components. SincePurePosixPathonly 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.Details
The sanitization in
nicegui/elements/upload_files.pyuses:PurePosixPathtreats backslashes as literal characters, not path separators:When this filename is used in a path operation on Windows (e.g.,
Path('uploads') / file.name), WindowsPathinterprets backslashes as directory separators, resolving the path outside the intended directory.Impact
On Windows deployments of NiceGUI applications that use
file.namein path construction:Linux and macOS are not affected, as they treat backslashes as literal filename characters.
Release Notes
zauberzeug/nicegui (nicegui)
v3.10.0Compare Source
Security
ui.uploadon Windows (GHSA-w8wv-vfpc-hw2w by @offset, @evnchn, @falkoschindler)New features and enhancements
ui.status_code()to set HTTP status codes from page builders (#5810 by @evnchn, @falkoschindler)on_resizecallback toui.xtermto communicate terminal size to the PTY (#5847, #5858 by @jacopofar, @evnchn, @falkoschindler)ui.tabto findui.tabsancestor through intermediate containers (#5902 by @falkoschindler, @evnchn)helpers.pyinto a package with focused submodules (#5916 by @falkoschindler, @evnchn)Bugfixes
client.ipalways reporting "127.0.0.1" behind reverse proxies and On Air (#4786, #5906, #5920 by @ffilotto, @evnchn, @falkoschindler, @stephanpalmer)ValidationElement.errorbeing ignored when no validation is set (#5895, #5903 by @atollk, @falkoschindler, @evnchn)tailwind=False(#5868, #5904 by @platinops, @evnchn, @falkoschindler)initialized()adding event listeners on every call (#5898 by @falkoschindler, @evnchn)ui.timercallback tasks leaking when client disconnects mid-execution (#5930, #5931 by @NiklasNeugebauer, @falkoschindler, @evnchn)Documentation
Infrastructure
Special thanks to our top sponsors Lechler GmbH and TestMu AI ✨
and all our other sponsors and contributors for supporting this project!
🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.