CVE-2024-49766: pallets werkzeug Path Traversal
Vulnerability summary
CVE-2024-49766 is a medium (CVSS 6.3) Path Traversal vulnerability in pallets werkzeug. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 8Timeline
- 25-10-2024PublishedVulnerability first disclosed.
- 31-01-2025Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
0.00 pp
From 0.78% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard21 products
- airflowAll versions (No fix recorded)
- airflow-2< 2.11.1-r0
- airflow-2-bitnami-compatAll versions (No fix recorded)
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
Wolfi18 products
- airflowAll versions (No fix recorded)
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
- airflow-bitnami-compatAll versions (No fix recorded)
- emissary< 3.9.1-r4
Pallets1 product
- werkzeug< 3.0.6
Palletsprojects1 product
- werkzeug< 3.0.6
PyPI1 product
- werkzeug< 3.0.6
5 vendors · 42 products
References
10 links- github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8jX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092X Refsource MISCWEBFIXPatch
- github.com/pallets/werkzeugPACKAGE
- pypi.org/project/werkzeugPACKAGE