CVE-2024-49766: Werkzeug - Path Traversal
- Cve: CVE-2024-49766
- Name: Werkzeug - Path Traversal
- 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.
- Impact: Attackers can access unintended data or files due to unsafe path handling, potentially leading to data disclosure.
- Remediation: Update Werkzeug to version 3.0.6 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00776
- Epss percentile: 0.56555
- Assignee: [email protected]
- Published at: 2024-10-25T20:15:04Z
- Age in days: 760
- Modified at: 2026-06-17T08:00:24Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-49766
- Nvd status: analyzed
- Checked, none or zero: nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-09-30 | — | no |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092 | nvd | Patch |
| https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j | nvd | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20250131-0005/ | nvd | Third Party Advisory |
| https://github.com/pallets/werkzeug/releases/tag/3.0.6 | nvd | Release Notes |
| https://www.zscaler.com/resources/industry-reports/threatlabz-2026-ransomware-analysis.pdf | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| palletsprojects:werkzeug | < 3.0.6 | yes | nvd | /v1/products/palletsprojects/werkzeug |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pallets/werkzeug | commit, package, releases, security_advisory | yes | /v1/repositories/pallets/werkzeug |
Index
- Repositories: 653
- Repositories high signal: 279
- Packages: 1
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-09-30
- Remote: yes
- Exposed hosts: 339
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports