Vulnerability
CVE-2024-49766
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.
43 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-289h-rq48-h8cc
- CGA-2q4j-h36j-fhjj
- CGA-3gr5-9rxw-9j5j
- CGA-3q54-rfm2-qrw3
- CGA-5pp7-wrcj-wcq9
- CGA-6p2r-6gj4-5pqm
- CGA-7386-ffhc-m95r
- CGA-79wm-3rpv-hhcm
- CGA-7x6m-h9vp-hcpr
- CGA-838v-h2j9-cp9c
- CGA-84h6-wc69-x79w
- CGA-8jpx-g46v-hx3x
- CGA-9264-4j39-p6px
- CGA-98c2-225q-ffqh
- CGA-9w9m-529r-hwmg
- CGA-c2jp-p44p-9rgq
- CGA-ccmv-3m3h-5fqv
- CGA-cj43-3xx2-5777
- CGA-crfp-3mf4-xvx4
- CGA-ffx2-jh63-xph4
- CGA-g5c8-q7fh-rpgr
- CGA-hcgc-xq99-cgwp
- CGA-hqr8-h8wc-c4xf
- CGA-hr5q-4x9x-c4mf
- CGA-j4p3-r4fw-x8fp
- CGA-m86f-wpr8-379c
- CGA-p3pf-xrgr-656f
- CGA-pp3p-x6mv-wff7
- CGA-q594-fh5m-gpf4
- CGA-rh7w-5r4c-wpx7
- CGA-rvf8-8vmj-r5jh
- CGA-w2p9-jrw2-4xjq
- CGA-wqj4-v522-557c
- CGA-wrjr-cmg7-v2gf
- CGA-wwvj-9w87-9qgq
- CGA-x47p-j62v-cxfm
- CGA-xc2m-rxv4-fp5j
- CGA-xfc7-wv4j-pp2p
- CGA-xphv-6mqj-xhq5
- CGA-xqpw-gmm3-86v2
- CGA-xrx7-g2x7-9vcg
-
GHSA-f9vj-2wh5-fj8j
Werkzeug safe_join not safe on Windows
-
PYSEC-2026-2045
Werkzeug safe_join not safe on Windows