CVE-2024-49766
werkzeug: python-werkzeug: Werkzeug safe_join not safe on Windows
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 26, 2024
Updated · November 1, 2026
Description
A flaw was found in Werkzeug. In Python versions below v3.11 on Windows, os.path.isabs() does not catch UNC paths such as //server/share. Werkzeug's safe_join() relies on this check and can produce a path that is not safe, which can allow unintended access to data.
Statement
Red Hat is not affected by this vulnerability, as it is specific to applications using certain versions of Python on Windows.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory