CVE-2021-26887
Microsoft Windows Folder Redirection Elevation of Privilege Vulnerability
Mitigation
- Upgrade Windows Server 2012 to 6.2.9200.23298 or later.
- Upgrade Windows Server 2012 (Server Core installation) to 6.2.9200.23298 or later.
Who should check
- Anyone running Microsoft Windows 10 Version 1507 -
- Anyone running Microsoft Windows 10 Version 1607 -
- Anyone running Microsoft Windows 10 Version 1803 -
- Anyone running Microsoft Windows 10 Version 1809 -
- Anyone running Microsoft Windows 10 Version 1909 -
- Anyone running Microsoft Windows 10 Version 2004 -
- Anyone running Microsoft Windows 10 Version 20H2 -
- Anyone running Microsoft Windows 7 -
Vulnerability facts
- Affected
- Microsoft Windows 10 Version 1507 -; Microsoft Windows 10 Version 1607 -; Microsoft Windows 10 Version 1803 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1909 -; Microsoft Windows 10 Version 2004 -; Microsoft Windows 10 Version 20H2 -; Microsoft Windows 7 -; Microsoft Windows 7 Service Pack 1 -; Microsoft Windows 8.1 -; Microsoft Windows Server 2008 R2 Service Pack 1 -; Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) -; Microsoft Windows Server 2008 Service Pack 2 -; Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) -; Microsoft Windows Server 2012 >= 6.2.9200.0, < 6.2.9200.23298; Microsoft Windows Server 2012 (Server Core installation) >= 6.2.9200.0, < 6.2.9200.23298; Microsoft Windows Server 2012 R2 -; Microsoft Windows Server 2012 R2 (Server Core installation) -; Microsoft Windows Server 2016 -; Microsoft Windows Server 2016 (Server Core installation) -; Microsoft Windows Server 2019 -; Microsoft Windows Server 2019 (Server Core installation) -; Microsoft Windows Server version 2004 -; Microsoft Windows Server version 20H2 -; Microsoft Windows Server, version 1909 (Server Core installation) -
- Fixed in
- Microsoft Windows Server 2012 6.2.9200.23298, Microsoft Windows Server 2012 (Server Core installation) 6.2.9200.23298
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- E: U
- RL: O
- RC: C
- EPSS
- 1.06% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-59
- Modified
Description
An elevation of privilege vulnerability exists in Microsoft Windows when Folder redirection has been enabled via Group Policy. When folder redirection file server is co-located with Terminal server, an attacker who successfully exploited the vulnerability would be able to begin redirecting another user's personal data to a created folder. To exploit the vulnerability, an attacker can create a new folder under the Folder Redirection root path and create a junction on a newly created User folder. When the new user logs in, Folder Redirection would start redirecting to the folder and copying personal data. This elevation of privilege vulnerability can only be addressed by reconfiguring Folder Redirection with Offline files and restricting permissions, and NOT via a security update for affected Windows Servers. See the FAQ section of this CVE for configuration guidance.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Microsoft Windows 10 Version 1507 | - | — | cvelist |
| Microsoft Windows 10 Version 1607 | - | — | cvelist |
| Microsoft Windows 10 Version 1803 | - | — | cvelist |
| Microsoft Windows 10 Version 1809 | - | — | cvelist |
| Microsoft Windows 10 Version 1809 | - | — | cvelist |
| Microsoft Windows 10 Version 1909 | - | — | cvelist |
| Microsoft Windows 10 Version 2004 | - | — | cvelist |
| Microsoft Windows 10 Version 20H2 | - | — | cvelist |
| Microsoft Windows 7 | - | — | cvelist |
| Microsoft Windows 7 Service Pack 1 | - | — | cvelist |
| Microsoft Windows 8.1 | - | — | cvelist |
| Microsoft Windows Server 2008 R2 Service Pack 1 | - | — | cvelist |
| Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) | - | — | cvelist |
| Microsoft Windows Server 2008 Service Pack 2 | - | — | cvelist |
| Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) | - | — | cvelist |
| Microsoft Windows Server 2012 | >= 6.2.9200.0, < 6.2.9200.23298 | — | cvelist |
| Microsoft Windows Server 2012 (Server Core installation) | >= 6.2.9200.0, < 6.2.9200.23298 | — | cvelist |
| Microsoft Windows Server 2012 R2 | - | — | cvelist |
| Microsoft Windows Server 2012 R2 (Server Core installation) | - | — | cvelist |
| Microsoft Windows Server 2016 | - | — | cvelist |
| Microsoft Windows Server 2016 (Server Core installation) | - | — | cvelist |
| Microsoft Windows Server 2019 | - | — | cvelist |
| Microsoft Windows Server 2019 (Server Core installation) | - | — | cvelist |
| Microsoft Windows Server version 2004 | - | — | cvelist |
| Microsoft Windows Server version 20H2 | - | — | cvelist |
| Microsoft Windows Server, version 1909 (Server Core installation) | - | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-26887. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-26887.md Affected: Microsoft Windows 10 Version 1507 -; Microsoft Windows 10 Version 1607 -; Microsoft Windows 10 Version 1803 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1909 -; Microsoft Windows 10 Version 2004 -; Microsoft Windows 10 Version 20H2 -; Mic… Fixed in: Microsoft Windows Server 2012 6.2.9200.23298, Microsoft Windows Server 2012 (Server Core installation) 6.2.9200.23298 Steps: 1. Search this machine and project for Microsoft Windows 10 Version 1507, Microsoft Windows 10 Version 1607, Microsoft Windows 10 Version 1803, Microsoft Windows 10 Version 1809, Microsoft Windows 10 Version 1909, Microsoft Windows 10 Version 2004: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-26887 being exploited?
There is no confirmed exploitation: CVE-2021-26887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-26887?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-26887?
Microsoft Windows 10 Version 1507 -; Microsoft Windows 10 Version 1607 -; Microsoft Windows 10 Version 1803 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1809 -; Microsoft Windows 10 Version 1909 -; Microsoft Windows 10 Version 2004 -; Microsoft Windows 10 Version 20H2 -; Microsoft Windows 7 -; Microsoft Windows 7 Service Pack 1 -; Microsoft Windows 8.1 -; Microsoft Windows Server 2008 R2 Service Pack 1 -; Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) -; Microsoft Windows Server 2008 Service Pack 2 -; Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) -; Microsoft Windows Server 2012 >= 6.2.9200.0, < 6.2.9200.23298; Microsoft Windows Server 2012 (Server Core installation) >= 6.2.9200.0, < 6.2.9200.23298; Microsoft Windows Server 2012 R2 -; Microsoft Windows Server 2012 R2 (Server Core installation) -; Microsoft Windows Server 2016 -; Microsoft Windows Server 2016 (Server Core installation) -; Microsoft Windows Server 2019 -; Microsoft Windows Server 2019 (Server Core installation) -; Microsoft Windows Server version 2004 -; Microsoft Windows Server version 20H2 -; Microsoft Windows Server, version 1909 (Server Core installation) -.
Is there a fix for CVE-2021-26887?
Yes. Fixed in Microsoft Windows Server 2012 6.2.9200.23298, Microsoft Windows Server 2012 (Server Core installation) 6.2.9200.23298. Upgrade Windows Server 2012 to 6.2.9200.23298 or later. Upgrade Windows Server 2012 (Server Core installation) to 6.2.9200.23298 or later.
How do I check if I'm affected by CVE-2021-26887?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.