Update dependency werkzeug to v3.1.9 [SECURITY] #3
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/pypi-werkzeug-vulnerability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
3.1.8→3.1.9Werkzeug safe_join() allows Windows special device names
CVE-2026-102598 / GHSA-g6x2-hccm-hh4m / PYSEC-2026-4312
More information
Details
Werkzeug's
safe_joinfunction allows Windows device names as filenames when they have an empty ADS marker on NTFS.This was previously reported as https://github.com/pallets/werkzeug/security/advisories/GHSA-hgf8-39gv-g3f2, but the added filtering failed to account for the fact Windows allows special device names with an empty ADS marker, such as
NUL:.send_from_directoryusessafe_jointo safely serve files at user-specified paths under a directory. If the application is running on Windows and NTFS, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Werkzeug safe_join() allows Windows special device names
CVE-2026-102598 / GHSA-g6x2-hccm-hh4m / PYSEC-2026-4312
More information
Details
Werkzeug's
safe_joinfunction allows Windows device names as filenames when they have an empty ADS marker on NTFS.This was previously reported as https://github.com/pallets/werkzeug/security/advisories/GHSA-hgf8-39gv-g3f2, but the added filtering failed to account for the fact Windows allows special device names with an empty ADS marker, such as
NUL:.send_from_directoryusessafe_jointo safely serve files at user-specified paths under a directory. If the application is running on Windows and NTFS, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the PyPI Advisory Database (CC-BY 4.0).
Release Notes
pallets/werkzeug (werkzeug)
v3.1.9Compare Source
Released 2026-09-27
safe_joinon Windows does not allow special devices names with empty ADSmarkers on NTFS. :ghsa:
g6x2-hccm-hh4mProfilerMiddlewareusesprofiling.tracingon Python 3.15.:issue:
3207uri_to_iriandiri_to_uripreserve empty username, password, andport 0. :issue:
3189parse_options_header. :pr:3231parse_etags. :pr:3231parse_cookie. :pr:3231get_hostalso checks that the port is in the valid range. :pr:3236intURL converter returns a 404 instead of 500 error when the valueis longer than
sys.get_int_max_str_digits(). :issue:3237:issue:
3245Authorizationparsingbasicauth disallows non-base64 characters.:pr:
3248application/x-www-form-urlencodedform data is no longer limited tomax_form_memory_size, onlymax_content_length. :pr:3251LimitedStream.readintodoes not resize the buffer when it reads lessthan the remaining size. :pr:
3253correctly. :pr:
3254Rangesuffix length-0is no longer accepted. :pr:3255Configuration
📅 Schedule: (UTC)
🚦 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 has been generated by Mend Renovate CLI.