GHSA-hgf8-39gv-g3f2 · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names
Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.4, Werkzeug's safe_join function allows path segments with Windows device names. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been patched in version 3.1.4.
Conclusion & alert: CVE-2025-66221 is rated Low Risk (27.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-18 | 0.06% | 0.02% | -0.04% |
| 2 | 2025-12-05 | 0.04% | 0.06% | +0.02% |
| 3 | 2025-11-29 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-hgf8-39gv-g3f2 · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2025-66221: 1 source package rows (py3-werkzeug); 1 state rows across 1 repos (edge-main); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2025-66221 |
debian
|
unimportant | CVE-2025-66221 unimportant priority: Debian including 1 source packages (python-werkzeug), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-66221 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-66221 |
ubuntu
|
medium | CVE-2025-66221 medium priority: Ubuntu including 1 source packages (python-werkzeug), 8 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): not-affected 8. | https://ubuntu.com/security/CVE-2025-66221 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| palletsprojects | werkzeug | < 3.1.4 | cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:* |