Generated remediation guidance and an executive summary. No account required.
Werkzeug is a Web Server Gateway Interface web application library. 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. Werkzeug version 3.0.6 contains a patch.
Cite this page
CVE-2024-49766. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2024-49766
Use CWE-22, Palletsprojects vendor hub and Werkzeug product page to widen CVE-2024-49766 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2022-29361, CVE-2023-46136 and CVE-2024-34069 for nearby disclosures in the same product family.