CVSS 4.0
6.3 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NMedium (6.3) in palletsprojects werkzeug. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in werkzeug 3.1.4.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lwerkzeug (PyPI): fixed in 3.1.4Explain CVE-2025-66221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66221?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66221?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66221 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| palletsprojects:werkzeug | before 3.1.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hgf8-39gv-g3f2 | PyPI | werkzeug | <3.1.4 | 3.1.4 |
| PYSEC-2026-2046 | PyPI | werkzeug | <3.1.4 | 3.1.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| openSUSE | Tumbleweed | python-openapi-core | 0.22.0-1.1 | openSUSE-SU-2025:15848-1 |
| Alpine | v3.24 | py3-werkzeug | 3.1.4-r0 | ALPINE-CVE-2025-66221 |
From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability is not applicable to Red Hat products as it specifically affects applications running on Microsoft Windows operating systems. The flaw in Werkzeug's `safe_join` function, which allows denial of service via Windows device names in path segments, does not manifest in Linux environments.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quay 3 | quay/quay-rhel8 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66221.