Live threats

All CVEs / Palletsprojects

CVE-2024-34069Palletsprojects Werkzeug

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
5.4%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
May 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Werkzeug.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI werkzeug < 3.0.3 3.0.3 pip install "werkzeug>=3.0.3"
PyPI werkzeug < 3.0.3 3.0.3 pip install "werkzeug>=3.0.3"

Per OSV / GitHub Advisories (GHSA-2g68-c3qc-8985, PYSEC-2026-2043). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
palletsprojectswerkzeug< 3.0.3
debiandebian_linux11.0
fedoraprojectfedora38
fedoraprojectfedora40

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.