SecurityContext

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

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-09-30—no

References

UrlSourceTags
https://github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092nvdPatch
https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8jnvdVendor Advisory
https://security.netapp.com/advisory/ntap-20250131-0005/nvdThird Party Advisory
https://github.com/pallets/werkzeug/releases/tag/3.0.6nvdRelease Notes
https://www.zscaler.com/resources/industry-reports/threatlabz-2026-ransomware-analysis.pdfvulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
palletsprojects:werkzeug< 3.0.6yesnvd/v1/products/palletsprojects/werkzeug

Projects

RepositoryLink kindsIndexedUrl
pallets/werkzeugcommit, package, releases, security_advisoryyes/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