---
id: CVE-2024-34069
aliases:
  - GHSA-2g68-c3qc-8985
  - PYSEC-2026-2043
title: >-
  Werkzeug debugger vulnerable to remote execution when interacting with
  attacker controlled domain
summary: >-
  Werkzeug debugger vulnerable to remote execution when interacting with
  attacker controlled domain
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: werkzeug
product: werkzeug
ecosystem: pip
affected:
  - werkzeug < 3.0.3
patched:
  - werkzeug 3.0.3
published: '2024-05-06'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:13.189126850Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2g68-c3qc-8985'
references:
  - url: >-
      https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-34069'
  - url: >-
      https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
  - url: 'https://github.com/pallets/werkzeug'
  - url: 'https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ
  - url: 'https://security.netapp.com/advisory/ntap-20240614-0004'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.03397
epssPercentile: 0.88358
exploits:
  metasploit:
    - exploit/multi/http/werkzeug_debug_rce
  checkedAt: '2026-09-25T08:20:43.205Z'
exploitAvailable: true
ingestedAt: '2026-07-08T18:25:44.226Z'
---

## Overview

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.

## Affected packages

- `werkzeug < 3.0.3`

## Remediation

Upgrade to a patched release:

- `werkzeug 3.0.3`
