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

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2025-3304
CVE-2024-49766
GHSA-F9VJ-2WH5-FJ8J

Affected Products

Alt Linux
Python
Werkzeug