Advisory

GHSA-2g68-c3qc-8985

Also known as: CVE-2024-34069, PYSEC-2026-2043

Summary

Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-06 14:21 UTC
Modified
2026-11-18 00:45 UTC

Affected packages and fixes

werkzeug

PyPI · All systems

Affected

  • introduced 0, fixed 3.0.3 (ecosystem)

Fixed versions

3.0.3

Fix

  • Fixed version 3.0.3
    pip install --upgrade werkzeug==3.0.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences