PT-2024-33676 · Python+2 · Python+2
Nvn1729
·
Published
2024-10-25
·
Updated
2026-03-26
·
CVE-2024-49766
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions:
Werkzeug versions prior to 3.0.6
Description:
The issue arises from the
os.path.isabs() function not correctly handling UNC paths like //server/share on Python versions less than 3.11 on Windows. This affects Werkzeug's safe join() function, which relies on this check, potentially leading to unintended access to data. Applications using Python 3.11 or later, or those not running on Windows, are not affected.Recommendations:
For Werkzeug versions prior to 3.0.6, update to version 3.0.6 to resolve the issue. As a temporary workaround, consider avoiding the use of UNC paths like
//server/share in applications using affected versions of Werkzeug until the patch is applied.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Python
Werkzeug