Path Manipulation Vulnerability in Werkzeug Web Application Library
CVE-2025-66221
What is CVE-2025-66221?
The Werkzeug library prior to version 3.1.4 contains a vulnerability in its safe_join function, which allows for path segments that include Windows device names. On Windows systems, these device names such as CON and AUX can lead to unexpected behavior when accessing files. Specifically, when a request path ends with a device name, the application may open the file but hang indefinitely during reading. This behavior underscores a potential for service disruption in applications running on Windows. It is important for users to update to version 3.1.4 or later to mitigate this issue.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
werkzeug < 3.1.4
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
