CVE-2024-34069

GHSA-2g68-c3qc-8985 · published 6 May 2024 · updated 18 Nov 2026

Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution

7.5HighCVSS 7.5EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in Werkzeug 3.0.3.

Werkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger. This vulnerability is fixed in 3.0.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pallets<3.0.3
pypi: Werkzeug<3.0.33.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-34069 severity on Zeptric[![CVE-2024-34069](https://zeptric.io/badge/cve/CVE-2024-34069.svg)](https://zeptric.io/cve/CVE-2024-34069)