Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-34069
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:45 UTC · Revision 1
Source evidence
Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
core-osv · Original sourcePublished 6 May 2024, 14:44 UTC
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.
osv:CVE-2024-34069
Complete source record
{
"id": "7543291cbac2e0a09fe412e3faf63702e591bbecae00f93ad21e7f73e5943714",
"url": "https://osv.dev/vulnerability/CVE-2024-34069",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution",
"summary": "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.",
"evidence": "osv:CVE-2024-34069",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-34069",
"aliases": [
"CVE-2024-34069",
"GHSA-2g68-c3qc-8985",
"PYSEC-2026-2043"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pallets/werkzeug",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f9995e967979eb694d6b31536cc65314fd7e9c8c"
},
{
"fixed": "3386395b24c7371db11a5b8eaac0c91da5362692"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3386395b24c7371db11a5b8eaac0c91da5362692"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.0.2",
"2.2.0",
"2.2.0a1",
"2.1.0",
"2.0.0",
"2.0.0rc5",
"2.0.0rc4",
"2.0.0rc3",
"2.0.0rc2",
"2.0.0rc1",
"1.0.0",
"1.0.0rc1",
"0.15.0",
"0.14",
"0.13",
"0.12",
"0.11",
"0.10",
"0.9",
"0.8",
"0.7",
"0.6.2",
"0.6.1",
"0.6",
"0.4.1",
"0.4",
"0.3",
"0.2",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34069.json"
}
}
],
"modified": "2026-10-28T02:30:30.624581750Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34069.json",
"https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985",
"https://nvd.nist.gov/vuln/detail/CVE-2024-34069",
"https://security.netapp.com/advisory/ntap-20240614-0004/",
"https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692"
],
"provider_metadata": {
"cwe_ids": [
"CWE-352"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34069.json"
}
},
"related_cves": [
{
"value": "CVE-2024-34069",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497512,
"published_at": "2024-05-06T14:44:38.78+00:00"
}