Skip to content

CVE-2026-31431 (Copy Fail - Linux kernel bug) #40365

@tiago304

Description

@tiago304

Windows Version

Microsoft Windows [versão 10.0.26200.8246]

WSL Version

2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions