CWE-67: Improper Handling of Windows Device Names
The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.
7 published CVE records name this weakness. Abstraction: Variant. Status: Incomplete. CWE-67 at MITRE
| CVE | Title | CVSS | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-102598 | Werkzeug safe_join() allows Windows special device names | 6.3 medium | 0.54% | 29 Sep 2026 |
| CVE-2026-17545 | PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can cause DoS | 6.9 medium | 0.50% | 25 Sep 2026 |
| CVE-2026-27199 | Werkzeug safe_join() allows Windows special device names | 6.3 medium | 0.65% | 21 Feb 2026 |
| CVE-2026-21860 | Werkzeug safe_join() allows Windows special device names with compound extensions | 6.3 medium | 0.60% | 8 Jan 2026 |
| CVE-2025-66221 | Werkzeug safe_join() allows Windows special device names | 6.3 medium | 0.69% | 29 Nov 2025 |
| CVE-2024-51745 | Wasmtime doesn't fully sandbox all the Windows device filenames | 2.3 low | 1.22% | 5 Nov 2024 |
| CVE-2024-35197 | gix refs and paths with reserved Windows device names access the devices | 5.4 medium | 0.64% | 23 May 2024 |