NetSight
medium6.3

CVE-2024-49766

Werkzeug safe_join not safe on Windows

Impact

On Python < 3.11 on Windows, `os.path.isabs()` does not catch UNC paths like `//server/share`. Werkzeug's `safe_join()` relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable.

Affected packages

EcosystemPackageAffectedFixed in
pipWerkzeug<= 3.0.53.0.6

Affected products

VendorProductAffected versions
PalletsprojectsWerkzeug
before 3.0.6

Weakness classification

References