---
cve: "CVE-2026-21860"
severity: "MEDIUM"
cvss: 6.3
epss: "44%"
vendor: "pallets"
kev: false
exploited: false
published: "2026-01-08 18:34:05"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T10:56:33+02:00"
---

# CVE-2026-21860

> 6.3 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- e3d06f4b1f7ff40a63eba78f81d9cda18f805d6d (Commit)
- 7ae1d254e04a0c33e241ac1cca4783ce6c875ca3 (Commit)

## Referenzen

- <https://github.com/pallets/werkzeug/security/advisories/GHSA-87hc-h4r5-73f7>
- <https://github.com/pallets/werkzeug/commit/7ae1d254e04a0c33e241ac1cca4783ce6c875ca3>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-21860) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
