GHSA-f9vj-2wh5-fj8j

ghsaUSosv

Werkzeug safe_join not safe on Windows

view advisory published 2024-10-25Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2024-49766USmedium5.3—
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(…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan