GHSA-87hc-h4r5-73f7 · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names with compound extensions
Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. Windows still accepts them with any file extension, such as CON.txt, or trailing spaces such as CON. This issue has been patched in version 3.1.5.
Conclusion & alert: CVE-2026-21860 is rated Low Risk (37.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.42%). 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 | 2026-06-15 | 0.02% | 0.42% | +0.40% |
| 2 | 2026-02-18 | 0.06% | 0.02% | -0.04% |
| 3 | 2026-01-09 | — | 0.06% | — |
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-87hc-h4r5-73f7 · Severity: medium · Ecosystem: pip — Werkzeug safe_join() allows Windows special device names with compound extensions
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-21860: 1 source package rows (py3-werkzeug); 1 state rows across 1 repos (edge-main); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-21860 |
debian
|
unimportant | CVE-2026-21860 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-2026-21860 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-21860/ |
ubuntu
|
medium | CVE-2026-21860 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-2026-21860 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| palletsprojects | werkzeug | < 3.1.5 | cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:* |