CVE & CISA-KEV Catalog

CVE-2026-21860

MEDIUM
5.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
werkzeugNVD
Affected:< 3.1.5Fixed in:3.1.5CVE-2026-21860derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

0.42%probability of exploitation in 30 days
34thpercentile

Low risk: more likely to be exploited than 34% of all known CVEs.

References

Vendor Advisory1
Embed a live status badge for CVE-2026-21860
CVE-2026-21860 severity badge

Markdown

[![CVE-2026-21860](https://tridentstack.com/cve/badge/CVE-2026-21860.svg)](https://tridentstack.com/cve/CVE-2026-21860)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-21860"><img src="https://tridentstack.com/cve/badge/CVE-2026-21860.svg" alt="CVE-2026-21860"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-02.