WSGI Web Application Library Vulnerability in Werkzeug by Pallets
CVE-2026-27199
6.3MEDIUM
What is CVE-2026-27199?
A vulnerability exists in the Werkzeug web application library, specifically in versions 3.1.5 and earlier, where the safe_join function improperly allows Windows device names as filenames if they are preceded by other segments. This issue permits the opening of files that could lead to an indefinite hang during reading processes, particularly when the application attempts to serve files under specific conditions on a Windows environment. This vulnerability has been addressed in version 3.1.6 of Werkzeug, which rectifies the filtering process associated with path segments.
Affected Version(s)
werkzeug < 3.1.6
