{"cve":"CVE-2024-49766","nvd":{"published":"2024-10-25T20:15:04.410","modified":"2026-06-17T08:00:24.517","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092","https://github.com/pallets/werkzeug/releases/tag/3.0.6","https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j","https://security.netapp.com/advisory/ntap-20250131-0005/"],"products":["palletsprojects:werkzeug"],"source":"nvd","synced_at":"2026-10-19T21:56:33.105311382+00:00"},"epss":{"cve":"CVE-2024-49766","score":0.00776,"percentile":0.55819,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f9vj-2wh5-fj8j","url":"https://osv.dev/vulnerability/GHSA-f9vj-2wh5-fj8j","summary":"Werkzeug safe_join not safe on Windows","modified":"2026-09-10T03:50:19.894904779Z","packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":["<3.0.6"],"fixed":["3.0.6"]}]},{"id":"PYSEC-2026-2045","url":"https://osv.dev/vulnerability/PYSEC-2026-2045","summary":"Werkzeug safe_join not safe on Windows","modified":"2026-07-07T17:47:56.415783418Z","packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":["<3.0.6"],"fixed":["3.0.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}