Windows Version
Microsoft Windows [versão 10.0.26200.8246]
WSL Version
2.6.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.87.2-1
Distro Version
Ubuntu 24.04
Other Software
None needed.
Repro Steps
Fully updated WSL2 is affected by the Copy Fail (CVE-2026-31431) bug.
1 - Download the Copy Fail python script poc - https://copy.fail/
2 - Run the poc as a normal user
3 - Become root (Local Privilege Escalation)
$ whoami
tiago
$ uname -r
6.6.87.2-microsoft-standard-WSL2
$ ./copy_fail_exp.py
# whoami
root
#
Expected Behavior
After step 3, not become root.
Actual Behavior
Local Privilege Escalation
Diagnostic Logs
No response
Windows Version
Microsoft Windows [versão 10.0.26200.8246]
WSL Version
2.6.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.87.2-1
Distro Version
Ubuntu 24.04
Other Software
None needed.
Repro Steps
Fully updated WSL2 is affected by the Copy Fail (CVE-2026-31431) bug.
1 - Download the Copy Fail python script poc - https://copy.fail/
2 - Run the poc as a normal user
3 - Become root (Local Privilege Escalation)
Expected Behavior
After step 3, not become root.
Actual Behavior
Local Privilege Escalation
Diagnostic Logs
No response