CWE · MITRE source
CWE-1386Insecure Operation on Windows Junction / Mount Point
The product opens a file or directory, but it does not properly prevent the name from being associated with a junction or mount point to a destination that is outside of the intended control sphere.
Depending on the intended action being performed, this could allow an attacker to cause the product to read, write, delete, or otherwise operate on unauthorized files. In Windows, NTFS5 allows for file system objects called reparse points. Applications can create a hard link from one directory to another directory, called a junction point. They can also create a mapping from a directory to a drive letter, called a mount point. If a file is used by a privileged program, but it can be replaced with a hard link to a sensitive file (e.g., AUTOEXEC.BAT), an attacker could escalate privileges. When the process opens the file, the attacker can assume the privileges of that process, tricking the privileged process to read, modify, or delete the sensitive file, preventing the program from accurately processing data. Note that one can also point to registries and semaphores.
Last updated: 20 August 2026 13:14 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls that address this weakness (0)AI-assisted
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2025-58074 UPD | 5.9 | 8.8 | 0.0013 | 2026-05-04 |
CVE-2022-42291 UPD | 5.7 | 8.2 | 0.0022 | 2023-02-07 |
CVE-2023-28065 UPD | 4.9 | 6.7 | 0.0019 | 2023-06-23 |
CVE-2023-32474 UPD | 4.9 | 6.6 | 0.0021 | 2024-02-06 |
CVE-2024-36340 UPD | 4.8 | 6.6 | 0.0016 | 2025-05-13 |
CVE-2023-28071 UPD | 4.6 | 6.3 | 0.0018 | 2023-06-23 |
CVE-2023-32454 UPD | 4.6 | 6.3 | 0.0017 | 2024-02-06 |
CVE-2023-40623 UPD | 4.5 | 6.2 | 0.0037 | 2023-09-12 |
CVE-2026-41116 UPD | 4.5 | 6.3 | 0.0008 | 2026-06-09 |
CVE-2023-23698 UPD | 4.2 | 5.5 | 0.0018 | 2023-02-10 |
CVE-2023-32470 UPD | 3.8 | 5.0 | 0.0015 | 2023-09-08 |
CVE-2023-23697 UPD | 3.6 | 4.7 | 0.0018 | 2023-02-13 |
CVE-2023-24572 UPD | 3.6 | 4.7 | 0.0017 | 2023-02-13 |
CVE-2023-5834 UPD | 3.1 | 3.8 | 0.0022 | 2023-10-27 |