CVE-2024-49766
Werkzeug safe_join not safe on Windows
EPSS 1.4%
Description
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.
How to fix CVE-2024-49766
To remediate CVE-2024-49766, upgrade the affected package to a fixed version below.
- PyPI/werkzeug—upgrade to 3.0.6 or later
Is CVE-2024-49766 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |