超級簡單操作的漏洞 Copy Fail,直接取得 root 權限
但小心 copy_fail_exp.py 這支 poc 程式,它會直接寫入 /usr/bin/su
驗證套件是否被改過 ↓ (正常的話不會出現什麼內容)
# 用套件管理器驗證
# Debian/Ubuntu:
dpkg -V login util-linux passwd# RHEL/CentOS/Fedora:
rpm -V shadow-utils util-linux
POC 測試
原作者 ↓
https://copy.fail/
https://github.com/theori-io/copy-fail-CVE-2026-31431/
底下兩個參考
https://github.com/0xShe/CVE-2026-31431
https://github.com/rootsecdev/cve_2026_31431
留言