Copy Fail (CVE-2026-31431) is a trivially exploitable logic bug in Linux, reachable on all major distros released in the last 9 years. A small, portable python script gets root on all platforms.

Posted by Haniro@reddit | sysadmin | View on Reddit | 286 comments

https://copy.fail/

10 lines of python to gain root access on shared machines running Linux kernels from 2017 onward:
https://github.com/theori-io/copy-fail-CVE-2026-31431