CVE-2026-31431

HIGH KEV LAB

crypto: algif_aead - Revert to operating out-of-place

Title source: cna
STIX 2.1

Exploitation Summary

CVE-2026-31431 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 1, 2026. EIP tracks 363 public exploits from researchers including Sndav, 0xShe, wgnet, including a Metasploit module exploits/linux/local/cve_2026_31431_copy_fail.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD interface that allows unprivileged users to write arbitrary data to the page cache of readable files, bypassing file permissions and integrity checks. The exploit demonstrates local privilege escalation by modifying /etc/passwd to remove the root password.

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: algif_aead - Revert to operating out-of-place This mostly reverts commit 72548b093ee3 except for the copying of the associated data. There is no benefit in operating in-place in algif_aead since the source and destination come from different mappings. Get rid of all the complexity added for in-place operation and just copy the AD directly.

Exploits (363)

github WORKING POC 15 stars
by Sndav · pythonlocal
https://github.com/Sndav/CVE-2026-31431-Advanced-Exploit

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD interface that allows unprivileged users to write arbitrary data to the page cache of readable files, bypassing file permissions and integrity checks. The exploit demonstrates local privilege escalation by modifying /etc/passwd to remove the root password.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG AEAD interface)
No auth needed
Prerequisites: Linux kernel with CONFIG_CRYPTO_USER_API_AEAD enabled · Read access to the target file
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 11 stars
by 0xShe · clocal
https://github.com/0xShe/CVE-2026-31431

This repository contains a functional C-based exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG interface. The exploit manipulates kernel memory via splice system calls to overwrite /bin/su with a malicious payload, granting root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (early 5.x versions, e.g., Ubuntu 20.04 initial release)
No auth needed
Prerequisites: Linux system with vulnerable kernel (5.x early versions) · Access to compile and execute the exploit binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 10 stars
by wgnet · poc
https://github.com/wgnet/wg.copyfail.patch

This repository provides two eBPF programs to mitigate CVE-2026-31431, a local privilege escalation vulnerability involving AF_ALG socket creation. The programs either filter or kill processes attempting to exploit the vulnerability, depending on kernel support for eBPF LSM.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific versions affected by CVE-2026-31431)
Auth required
Prerequisites: eBPF support in kernel · clang, kernel-headers, libbpf-devel, bpftool · vmlinux.h from kernel headers
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC 7 stars
by badsectorlabs · local
https://github.com/badsectorlabs/copyfail-go

This repository contains a Go implementation of CVE-2026-31431, a Linux local privilege escalation (LPE) exploit targeting a vulnerability in the AF_ALG cryptographic socket interface. The exploit leverages a logic flaw to overwrite page cache contents, allowing arbitrary file modification and privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions between August 2017 and April 2026)
No auth needed
Prerequisites: Local code execution on a vulnerable Linux system · Access to the AF_ALG socket interface
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 6 stars
by sgkdev · poc
https://github.com/sgkdev/page_inject

This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG aead vulnerability to achieve cross-container escape by injecting a persistent hook into the page-cache of libc.so.6, allowing command execution in sibling containers sharing the same image layer.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: Linux kernel with AF_ALG aead and authencesn (pre-patch)
No auth needed
Prerequisites: Compromised container with read access to libc.so.6 · Vulnerable kernel (CVE-2026-31431) · Sibling containers sharing the same image layer
devstral-2 · analyzed May 07, 2026 Full analysis →
github SCANNER 5 stars
by kadir · pythonpoc
https://github.com/kadir/copy-fail-CVE-2026-31431-IOC

This repository provides a detection toolkit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. It includes tools for checking vulnerability exposure, detecting exploitation via auditd, eBPF, and page-cache comparison, and mitigating the risk.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel
No auth needed
Prerequisites: Access to the target system · Ability to run scripts with elevated privileges
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 4 stars
by adminlove520 · pythonpoc
https://github.com/adminlove520/CVE-Poc_All_in_One/tree/main/2026/CVE-2026-31431

This repository contains a Go-based proof-of-concept exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via the AF_ALG interface and splice(2) system calls. The PoC is designed to trigger the vulnerability and includes embedded payloads for different architectures (amd64, arm64, 386).

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG interface support
devstral-2 · analyzed May 18, 2026 Full analysis →
github WRITEUP 3 stars
by mahdi13830510 · pythonpoc
https://github.com/mahdi13830510/CVE-2026-31431-mitigation-suite

This repository provides a mitigation suite for CVE-2026-31431, focusing on the Linux AF_ALG subsystem. It includes tools for runtime observability, configuration hardening, and kernel state auditing, but does not contain exploit code.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel AF_ALG subsystem
No auth needed
Prerequisites: Linux kernel with AF_ALG support · Unprivileged user namespace access
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 3 stars
by qi4L · golocal
https://github.com/qi4L/CVE-2026-31431-Container-Escape

This repository contains a functional exploit for CVE-2026-31431, a container escape vulnerability leveraging runC. The exploit uses AF_ALG socket operations to manipulate memory and achieve privilege escalation, allowing execution of arbitrary commands (e.g., 'su') outside the container.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: runC (container runtime)
No auth needed
Prerequisites: Access to a container with vulnerable runC · Ability to execute the exploit binary inside the container
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 3 stars
by diemoeve · rustlocal
https://github.com/diemoeve/copyfail-rs

This repository contains a functional exploit PoC for CVE-2026-31431 (CopyFail), which allows unprivileged users to mutate files in the Linux page cache. It includes multiple exploit vectors (su, passwd, pam) and detection tools to identify tampering.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute binaries
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP 3 stars
by rfxn · poc
https://github.com/rfxn/copyfail

This repository provides a detailed technical analysis and mitigation strategies for CVE-2026-31431, a local privilege escalation vulnerability in the AF_ALG `authencesn` page-cache primitive. It includes a defense-in-depth approach with an LD_PRELOAD shim and a host auditor, but does not contain functional exploit code.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux Kernel (AF_ALG `authencesn`)
No auth needed
Prerequisites: Access to AF_ALG socket · Presence of SUID binary or privileged config file
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC 3 stars
by cozystack · poc
https://github.com/cozystack/copy-fail-blocker

This repository contains a BPF-LSM mitigation for CVE-2026-31431, a privilege escalation vulnerability in the Linux kernel crypto API (AF_ALG). The PoC blocks AF_ALG socket creation via a BPF program attached to the socket_create hook, preventing exploitation of the vulnerability.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG socket interface)
No auth needed
Prerequisites: Kernel with CONFIG_BPF_LSM=y · BPF in active LSM stack · Privileged DaemonSet deployment
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 3 stars
by desultory · pythonlocal
https://github.com/desultory/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, demonstrating a cache poisoning vulnerability in the Linux kernel's AF_ALG socket interface. The exploit patches arbitrary files by manipulating the kernel's crypto API through crafted socket operations.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (version not specified)
No auth needed
Prerequisites: Access to the target system · Ability to create AF_ALG sockets
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 3 stars
by Theori-lO · pythonpoc
https://github.com/Theori-lO/copy-fail-CVE-2026-31431

The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. It overwrites the `/usr/bin/su` binary with a malicious payload, then executes it to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0-6.18.8)
No auth needed
Prerequisites: Local access to the target system · Kernel version within the affected range
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 2 stars
by Unclecheng-li · cpoc
https://github.com/Unclecheng-li/poc-lab/tree/main/CVE-2026-31431 Copy Fail

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a logic flaw in the `splice()` function combined with the `authencesn` AEAD implementation to achieve arbitrary write access to read-only file page caches, leading to privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 7.0-rc6)
No auth needed
Prerequisites: Local non-privileged user access · CONFIG_CRYPTO_USER_API_AEAD enabled
devstral-2 · analyzed May 21, 2026 Full analysis →
github WORKING POC 2 stars
by 4xura · cpoc
https://github.com/4xura/CVE-2026-31431-Copy-Fail

This repository contains multiple functional exploit implementations (Python, C, Perl, assembly) for CVE-2026-31431, a Linux local privilege escalation vulnerability involving improper handling of file copies in the kernel's splice mechanism. The exploits demonstrate a memory corruption primitive to overwrite target binaries with attacker-controlled code.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (version not specified in provided files)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Ability to compile and execute binary payloads · Presence of target binaries (e.g., /usr/bin/su)
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec SCANNER 2 stars
by krisiasty · poc
https://github.com/krisiasty/vcheck

The repository contains a Go-based tool ('vcheck') designed to audit remote Linux hosts over SSH for specific kernel-module vulnerabilities (CVE-2026-31431, CVE-2026-43284, CVE-2026-43500). It checks for loaded modules, kernel logs, and blacklist status, and can optionally apply mitigations by blacklisting vulnerable modules.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel modules (algif_aead, esp4, esp6, xfrm_algo, xfrm_user, rxrpc, kafs)
Auth required
Prerequisites: SSH access to the target host · sufficient privileges to check module status and logs
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec WORKING POC 2 stars
by rvzsec · poc
https://github.com/rvzsec/CVE-2026-31431

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging AF_ALG + splice() + authencesn to corrupt the page cache of a setuid binary (e.g., /usr/bin/su) and inject a malicious ELF payload. The exploit includes both Python and C implementations, along with detection and mitigation scripts.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified, but involves AF_ALG and authencesn)
No auth needed
Prerequisites: Access to a vulnerable Linux system with AF_ALG and authencesn available · Presence of a setuid binary (default: /usr/bin/su)
devstral-2 · analyzed Jun 01, 2026 Full analysis →
nomisec WORKING POC 2 stars
by infiniroot · poc
https://github.com/infiniroot/ansible-mitigate-copyfail-dirtyfrag

This repository contains an Ansible playbook designed to mitigate CVE-2026-31431 (CopyFail) and CVE-2026-43284 (DirtyFrag) by unloading and disabling vulnerable kernel modules (algif_aead, esp4, esp6, rxrpc). It includes checks for loaded modules and persists mitigation via modprobe configuration.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific versions affected by CVE-2026-31431 and CVE-2026-43284)
Auth required
Prerequisites: root access · Ansible installed · target systems running vulnerable kernel modules
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC 2 stars
by xeloxa · poc
https://github.com/xeloxa/copyfail-exploit

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in Linux kernels 4.11 to 6.17.x. The exploit leverages a flaw in the AF_ALG socket interface's handling of scatter-gather lists during AEAD decryption to overwrite arbitrary readable file page cache, enabling privilege escalation by modifying setuid binaries.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 4.11 to 6.17.x
No auth needed
Prerequisites: Unprivileged user access · AF_ALG socket support · Presence of setuid-root binary
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec SCANNER 2 stars
by juliosuas · poc
https://github.com/juliosuas/copyfail-guard

This repository provides a defensive toolkit for assessing and mitigating exposure to CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` / `AF_ALG` component. It includes scripts for exposure assessment, mitigation via modprobe blocking, and seccomp profile generation, but does not contain an actual exploit.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: Linux system with `algif_aead` / `AF_ALG` component · Administrative privileges for mitigation steps
devstral-2 · analyzed May 04, 2026 Full analysis →
github WRITEUP 2 stars
by M4xSec · pythonpoc
https://github.com/M4xSec/CVE-2026-31431-RCE-Exploit

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The writeup includes root cause analysis, exploitation steps, affected versions, and mitigation strategies.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 through 7.0-rc
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Readable setuid binary
devstral-2 · analyzed May 02, 2026 Full analysis →
github SCANNER 2 stars
by haydenjames · shellpoc
https://github.com/haydenjames/CVE-2026-31431-check

This repository provides a bash script to detect the presence and vulnerability status of the `algif_aead` local root vulnerability (CVE-2026-31431) in Linux systems. It checks kernel configuration, module state, AF_ALG socket reachability, and applied mitigations without executing exploit code.

Classification
Scanner 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel with `algif_aead` module
No auth needed
Prerequisites: bash 4+ · standard Unix utilities (awk, grep, sed, lsmod, modprobe) · optional: python3 for AF_ALG socket test
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 2 stars
by SpenserCai · rustlocal
https://github.com/SpenserCai/copy_fail

This repository contains a functional Rust-based exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. The exploit leverages a logic flaw to overwrite page cache contents of setuid binaries, granting root access. It also includes a defensive eBPF-based tool to block the exploit.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.14 through 7.0-rc)
No auth needed
Prerequisites: Vulnerable Linux kernel (4.14 to 7.0-rc) · Unprivileged local user access · Readable setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 2 stars
by shadowabi · pythonlocal
https://github.com/shadowabi/CVE-2026-31431-CopyFail-Universal-LPE

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG crypto subsystem that allows a 4-byte arbitrary write in the page cache, leading to local privilege escalation (LPE). The exploit dynamically calculates ELF entry point offsets to overwrite SUID binaries with shellcode, making it universally applicable across different kernel and binary versions.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG crypto subsystem)
No auth needed
Prerequisites: Linux kernel (any version since ~2017) · Python 3.10+ · Any SUID-root binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SUSPICIOUS 2 stars
by lonelyor · poc
https://github.com/lonelyor/CVE-2026-31431-exp

The repository claims to be an exploit for CVE-2026-31431 but lacks actual exploit code, instead promoting external downloads and additional features like payload encryption and multi-architecture support without technical details.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: Linux kernel (2.6.38 - 6.18)
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 2 stars
by iss4cf0ng · rustpoc
https://github.com/iss4cf0ng/CVE-2026-31431-Linux-Copy-Fail

This repository contains a functional Rust-based exploit for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG and splice() that allows local privilege escalation via arbitrary page cache writes. The exploit includes shellcode execution capabilities and supports custom payloads like Meterpreter.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Unprivileged local user access · algif_aead kernel module loaded
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 2 stars
by wuwu001 · local
https://github.com/wuwu001/CVE-2026-31431-exploit

This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation (LPE) vulnerability. The exploit leverages an AF_ALG/splice page-cache overwrite primitive to modify runtime views of privileged files (e.g., `su`, PAM configurations) to gain root access. The code includes multiple modes for patching, reverting, and helper binary creation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · local user access
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 2 stars
by theori-io · pythonlocal
https://github.com/theori-io/copy-fail-CVE-2026-31431

The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. The PoC overwrites the `/usr/bin/su` binary with a malicious payload, then executes it to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0-6.18.8)
No auth needed
Prerequisites: Local access to the target system · Kernel version within the affected range
devstral-2 · analyzed Apr 29, 2026 Full analysis →
github SCANNER 1 stars
by waltrone1 · shellpoc
https://github.com/waltrone1/copyfail-safe-check

This repository contains a defensive bash script that checks for the presence and loadability of the algif_aead kernel module, which is associated with CVE-2026-31431 (Copy Fail). It does not exploit the vulnerability but scans for potential exposure.

Classification
Scanner 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: access to a Linux system with bash and standard utilities (lsmod, modprobe, etc.)
devstral-2 · analyzed May 22, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Koshmare-Blossom · local
https://github.com/Koshmare-Blossom/Copyfail-sh

This repository contains a functional bash script that exploits CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD socket interface. The exploit allows local privilege escalation by corrupting the page cache of setuid binaries via a deterministic 4-byte write, leading to root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.11 to 7.0)
No auth needed
Prerequisites: gcc · python3 · kernel modules: algif_aead, authencesn, hmac, cbc
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WRITEUP 1 stars
by paulorlima9 · poc
https://github.com/paulorlima9/copyfail-fix

This repository provides a mitigation script and detailed documentation for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module that allows local privilege escalation. The script disables the vulnerable module, updates the kernel, and optionally sets up automated updates.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (Ubuntu/Debian-based systems)
No auth needed
Prerequisites: Local access to the system · Root privileges to run the script
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC 1 stars
by dgrobinson0 · local
https://github.com/dgrobinson0/CopyFile_CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel vulnerability in the `authencesn` AEAD template that allows local privilege escalation by corrupting `/usr/bin/su` in memory via a 4-byte out-of-bounds write.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 2017-2026, pre-patch)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Read access to `/usr/bin/su`
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Vatson112 · poc
https://github.com/Vatson112/deny-af-alg-bpf

This repository contains a functional BPF LSM program that blocks AF_ALG socket creation and logs attempts via a ring buffer to userspace, addressing CVE-2026-31431. The exploit includes both kernel-space BPF code and a userspace daemon for logging.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: BPF LSM support in the kernel · root privileges for deployment
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec SCANNER 1 stars
by kwilck · poc
https://github.com/kwilck/copyfail

This repository contains a read-only detection script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's algif_aead module. The script checks kernel versions, module status, and distro-specific patches without executing any exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel 4.14 – 6.18.21 / 6.19.0 – 6.19.11
No auth needed
Prerequisites: access to the target system
devstral-2 · analyzed May 22, 2026 Full analysis →
nomisec SCANNER 1 stars
by kw-soft · poc
https://github.com/kw-soft/copyfail

This repository contains a detection script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the algif_aead module. The script checks kernel versions, module status, and distribution-specific patches without exploiting the vulnerability.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel 4.14 – 6.18.21, 6.19.0 – 6.19.11
No auth needed
Prerequisites: local access to the target system
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC 1 stars
by rippsec · local
https://github.com/rippsec/CVE-2026-31431-Copy-Fail

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch setuid binaries like `/usr/bin/su` and achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 to early 2026
No auth needed
Prerequisites: Local shell access · Unpatched Linux kernel (4.14 to early 2026)
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec STUB 1 stars
by jshDevs · poc
https://github.com/jshDevs/CVE_kernellinux_jsh

This repository is a scaffold for a kernel security framework targeting multiple CVEs, including CVE-2026-31431, but lacks functional exploit code. The files are placeholders with minimal implementation, as indicated by 'scaffold' status and TODO comments.

Classification
Stub 95%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: Linux Kernel (multiple CVEs)
No auth needed
Prerequisites: RPM-based Linux distribution · Bash 4.2+
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WRITEUP 1 stars
by alvaroguzmancode · poc
https://github.com/alvaroguzmancode/CVE-2026-31431-mitigacion

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG subsystem, specifically the algif_aead module. It includes root cause analysis, affected versions, exploitation details, and mitigation strategies.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (5.10 - 6.2.x)
No auth needed
Prerequisites: Access to a vulnerable Linux system with kernel versions 5.10 to 6.2.x · Ability to compile and execute C code
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER 1 stars
by ctzisme · poc
https://github.com/ctzisme/copyfail-guard

This repository contains a Python CLI tool designed to detect and mitigate CVE-2026-31431, a privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It does not include exploit code but provides detection and temporary mitigation capabilities.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions before 6.12.85)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3.9 or later
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC 1 stars
by ChernStepanov · c++local
https://github.com/ChernStepanov/CopyFail-for-dummies

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability involving faulty in-place handling in the `algif_aead` path. The exploit leverages `AF_ALG`, `splice()`, and file-backed pages to corrupt the page cache, leading to privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel · Ability to execute unprivileged code
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC 1 stars
by AvPrince26 · pythonlocal
https://github.com/AvPrince26/copy-fail-CVE-2026-31431-Python-Golfing

This Python script exploits a socket-based vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and file descriptors. It binds to a socket with unusual parameters, sends crafted messages, and attempts to execute '/bin/su' with elevated privileges.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (socket subsystem)
No auth needed
Prerequisites: Local access to the vulnerable system · Python execution environment
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC 1 stars
by rippsec · shellpoc
https://github.com/rippsec/cve-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch a setuid binary and escalate privileges to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 to early 2026
No auth needed
Prerequisites: Local shell access · Unpatched Linux kernel
devstral-2 · analyzed May 03, 2026 Full analysis →
github WRITEUP 1 stars
by krish-foren6 · poc
https://github.com/krish-foren6/CVE-2026-31431-Report-Copy-fail-Vulnerability-

This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG socket interface. It explains the memory corruption mechanism, attack flow, and defensive measures but does not include functional exploit code.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 5.10 – 6.8
No auth needed
Prerequisites: Local user access · Vulnerable kernel version (5.10–6.8) · AF_ALG socket interface available
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 1 stars
by Shotafry · rustpoc
https://github.com/Shotafry/CopyFail-Exploits-CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, a local privilege escalation (LPE) vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The exploit leverages a bug in the page cache handling to overwrite 4 bytes in any readable file, allowing privilege escalation to root.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (>= 2017, unpatched)
Auth required
Prerequisites: Local access to the system · Kernel >= 2017 without CVE-2026-31431 patch · algif_aead module available
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 1 stars
by ExploitEoom · poc
https://github.com/ExploitEoom/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit includes binaries for verification and execution, along with detailed steps for usage and mitigation.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead module)
Auth required
Prerequisites: Local access to the target system · Presence of the vulnerable algif_aead kernel module
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by 1amBa7Man · pythonlocal
https://github.com/1amBa7Man/Linux-copy-fail-CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability that allows local privilege escalation by manipulating the page cache of files. The exploit leverages the `AF_ALG` interface and `splice()` to inject data into the page cache of a target file, enabling execution of modified content in memory.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Unprivileged shell access
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by ben-slates · pythonlocal
https://github.com/ben-slates/CVE-2026-31431-Exploit

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` component that allows local privilege escalation via page-cache corruption. The exploit targets `/usr/bin/su` to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions with commit 72548b093ee3)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3
devstral-2 · analyzed May 01, 2026 Full analysis →
gitlab WORKING POC 1 stars
by KevinJClark · poc
https://gitlab.com/KevinJClark/copy-fail-cve-2026-31431

This repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG/algif_aead that allows page-cache corruption. The toolkit includes detection, mitigation verification, and weaponization paths for privilege escalation (setuid binary patching and /etc/passwd UID manipulation).

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (v4.14 to v6.18, specific distros listed)
No auth needed
Prerequisites: Access to AF_ALG sockets · Read access to target files (e.g., /usr/bin/su, /etc/passwd)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by povzayd · pythonpoc
https://github.com/povzayd/CVE-2026-31431

This repository contains a functional Python exploit for CVE-2026-31431, which leverages an AF_ALG kernel vulnerability to patch the 'su' binary in memory and escalate privileges. The exploit uses crafted socket operations and splice calls to modify executable memory.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions with AF_ALG vulnerability)
No auth needed
Prerequisites: Vulnerable Linux kernel with AF_ALG interface · Presence of /usr/bin/su · AF_ALG and specific crypto algorithm availability
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by ErdemOzgen · golocal
https://github.com/ErdemOzgen/copy-fail-cve-2026-31431

This repository contains a Go-based PoC for CVE-2026-31431, a Linux kernel logic flaw in `authencesn` that enables a deterministic 4-byte write into page cache data via `AF_ALG` + `splice()`. The PoC is functional and includes build automation for multiple architectures.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Unprivileged local user access · Linux kernel with vulnerable `authencesn` implementation
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP 1 stars
by mahradbt · poc
https://github.com/mahradbt/copyfail-mitigation

This repository provides a detailed technical analysis and Ansible-based mitigation playbooks for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module. It includes audit and mitigation steps but does not contain functional exploit code.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Ansible ≥ 2.14 · SSH access with sudo privileges · lsof installed on target hosts
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by karollooool · pythonlocal
https://github.com/karollooool/Porting-CVE-2026-31431-Copy-Fail-to-a-Constrained-Java-Runner

This repository contains a functional exploit for CVE-2026-31431, adapted to work within a constrained Java environment. It leverages the AF_ALG socket interface to perform a page cache overwrite, achieving local privilege escalation (LPE) via a Java-based syscall layer and annotation processor trick.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG interface)
No auth needed
Prerequisites: Java 21 with FFM API enabled · AF_ALG socket access · ability to compile Java code with annotation processors
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by wvverez · pythonlocal
https://github.com/wvverez/CVE-2026-31431-Copy-Fail

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a logic bug in the Linux kernel's `authencesn` cryptographic template. The exploit allows an unprivileged local user to perform a controlled 4-byte write into the page cache of any readable file, leading to full root compromise.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 6.12+
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Readable file in the target system
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER 1 stars
by pcdoyle · gopoc
https://github.com/pcdoyle/copy-fail-cve-2026-31431

This repository contains a Go-based scanner for CVE-2026-31431, designed to detect vulnerability status across multiple Linux distributions. It checks kernel versions, module states, and changelogs without exploiting the vulnerability.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not explicitly stated)
No auth needed
Prerequisites: Access to target system's kernel version, module state, and package changelogs
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP 1 stars
by Dabbleam · cpoc
https://github.com/Dabbleam/CVE-2026-31431-mitigation

This repository provides a mitigation for CVE-2026-31431 using eBPF (block_alg.bpf.c) and a userspace component (block_alg.c). It includes a Makefile for compilation and a GPLv2 license, but no exploit code or detailed vulnerability analysis.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Unknown (mitigation-focused)
No auth needed
Prerequisites: Linux kernel with eBPF support · compilation tools
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by Xerxes-2 · rustlocal
https://github.com/Xerxes-2/CVE-2026-31431-rs

This repository contains a functional Rust-based exploit for CVE-2026-31431, leveraging a race condition between AF_ALG sockets and splice syscalls to corrupt page cache and overwrite SUID binaries like /bin/su for local privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (2017-2026, depending on distro patches)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · AF_ALG module loaded
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP 1 stars
by SunL0w · shellpoc
https://github.com/SunL0w/PATCH-CVE-2026-31431-Ubuntu_Debian

This repository provides a mitigation script for CVE-2026-31431, a Linux kernel vulnerability in the cryptographic subsystem (algif_aead module). It includes technical details on the vulnerability and scripts to block the vulnerable module.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (Ubuntu Server 24.04 LTS)
Auth required
Prerequisites: Ubuntu Server 24.04 LTS · Python3 for detection script
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by wesmar · clocal
https://github.com/wesmar/CVE-2026-31431

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG cryptographic interface. The exploit leverages incorrect page cache handling during AEAD decryption to overwrite in-memory file content, granting an unprivileged user root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (unpatched versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Unpatched Linux kernel vulnerable to CVE-2026-31431 · Local user access
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by sammwyy · rustlocal
https://github.com/sammwyy/copyfail-rs

This repository contains a functional Rust implementation of the Copy Fail exploit (CVE-2026-31431), which chains AF_ALG and splice() syscalls to achieve a 4-byte page cache write, leading to local privilege escalation on vulnerable Linux kernels.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions before April 2026 patch)
No auth needed
Prerequisites: Vulnerable Linux kernel (pre-April 2026 patch) · Read permissions on target binary (e.g., /usr/bin/su)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by JuanBindez · pythonlocal
https://github.com/JuanBindez/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG crypto subsystem. The exploit uses socket operations, splice(), and memory corruption to escalate privileges to root by injecting shellcode into the /usr/bin/su binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG subsystem)
No auth needed
Prerequisites: Linux kernel with vulnerable AF_ALG implementation · Access to a user account on the target system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by yxdm02 · pythonpoc
https://github.com/yxdm02/CVE-2026-31431

The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload. The payload is embedded as a compressed hex string and decompressed at runtime.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel 6.6.87.1-microsoft-standard-WSL2
No auth needed
Prerequisites: Local access to the target system · Kernel version 6.6.87.1-microsoft-standard-WSL2
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 1 stars
by cs8425 · local
https://github.com/cs8425/copy-fail-go

This repository contains a functional Go-based exploit for CVE-2026-31431, which leverages a memory corruption vulnerability in the Linux kernel's AF_ALG socket implementation to overwrite the `/usr/bin/su` binary with malicious shellcode, achieving local privilege escalation (LPE). The exploit demonstrates a reliable method to gain root access by corrupting page cache contents via crafted socket operations.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG socket implementation)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute unprivileged code · Presence of `/usr/bin/su` binary
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP 1 stars
by XsanFlip · shellpoc
https://github.com/XsanFlip/CVE-2026-31431-Patch

This repository provides a detailed technical analysis and mitigation script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux Kernel affecting versions 4.10 to 6.18.x. The script includes blacklisting vulnerable kernel modules, flushing the Page Cache, and updating the kernel to a patched version.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (v4.10 up to v6.18.x)
No auth needed
Prerequisites: root access to run the script · Debian/Kali-based system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WRITEUP 1 stars
by yandex-cloud-examples · poc
https://github.com/yandex-cloud-examples/yc-mk8s-copy-fail-mitigation

This repository provides a detailed technical analysis and mitigation strategy for CVE-2026-31431, a Linux kernel vulnerability in the cryptographic API subsystem (AF_ALG) that allows local privilege escalation. It includes a DaemonSet for Yandex Managed Kubernetes to automatically block the vulnerable module.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (crypto/ AF_ALG subsystem)
No auth needed
Prerequisites: local user access · AF_ALG AEAD interface availability
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by bigwario · clocal
https://github.com/bigwario/copy-fail-CVE-2026-31431-C

This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG socket interface. The exploit uses crafted messages and splice operations to achieve local privilege escalation (LPE) by manipulating kernel memory.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Compilation tools (gcc, zlib)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by novysodope · clocal
https://github.com/novysodope/copy-fail-CVE-2026-31431-C

This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation (LPE). The exploit uses crafted messages and splice operations to trigger the vulnerability, ultimately executing `/usr/bin/su` to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified, but tested on Ubuntu 24/25 and Kali 2026)
No auth needed
Prerequisites: Access to a vulnerable Linux system with AF_ALG socket support · Ability to compile and execute the exploit binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by Percivalll · gopoc
https://github.com/Percivalll/Copy-Fail-CVE-2026-31431-Statically-PoC

This repository contains a Go-based proof-of-concept exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via the AF_ALG interface and splice(2) system calls. It includes static binaries for multiple architectures and embeds payloads for each target.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG interface support
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC 1 stars
by yiyihuohuo · pythonlocal
https://github.com/yiyihuohuo/CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, which appears to leverage a socket-based vulnerability to achieve local privilege escalation (LPE) by manipulating file descriptors and socket options. The exploit decompresses and writes a payload to `/usr/bin/su`, suggesting an attempt to overwrite or modify system binaries for privilege escalation.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Theoretical
Target: Unknown (likely a Linux-based system with vulnerable socket handling)
No auth needed
Prerequisites: Access to a vulnerable system with the ability to execute Python scripts · Kernel or system configuration allowing socket manipulation
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 1 stars
by tgies · local
https://github.com/tgies/copy-fail-c

This repository contains a cross-platform C exploit for CVE-2026-31431, with build workflows for multiple architectures using both glibc and musl. The exploit is statically linked and includes payload handling, indicating a functional proof-of-concept.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unknown (CVE-2026-31431, likely a Linux kernel or userspace component)
No auth needed
Prerequisites: Target architecture compatibility · Appropriate libc environment (glibc or musl)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by MillerDetach · pythonpoc
https://github.com/MillerDetach/poc-lab-pro/tree/main/CVE-2026-31431 Copy Fail

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a flaw in the `splice()` function combined with the `authencesn` AEAD implementation to achieve root access by manipulating page cache references.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 7.0-rc6)
No auth needed
Prerequisites: Local non-privileged user access · CONFIG_CRYPTO_USER_API_AEAD enabled
devstral-2 · analyzed Jun 09, 2026 Full analysis →
github WORKING POC
by SmashMythAmp · pythonpoc
https://github.com/SmashMythAmp/poc-lab-605/tree/main/CVE-2026-31431 Copy Fail

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a flaw in the `splice()` function combined with the `authencesn` cryptographic module to achieve root access by manipulating page cache references.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 7.0-rc6)
No auth needed
Prerequisites: Local non-privileged user access · CONFIG_CRYPTO_USER_API_AEAD enabled
devstral-2 · analyzed Jun 06, 2026 Full analysis →
github WORKING POC
by t1ckprivate · clocal
https://github.com/t1ckprivate/CVE-2026-31431-Copy-Fail

This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG + splice() page-cache-mutation vulnerability to achieve local privilege escalation (LPE). The exploit overwrites the page cache of either /usr/bin/su or /etc/passwd to gain root privileges.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions between 4.14 and the fix in April 2026)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel · Ability to execute binaries on the target system
devstral-2 · analyzed Jun 05, 2026 Full analysis →
github WORKING POC
by antinest · cpoc
https://github.com/antinest/CVEs/tree/main/CopyFail - CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG + splice() page-cache mutation vulnerability to achieve local privilege escalation (LPE). The exploit overwrites the page cache of /usr/bin/su with a malicious payload, which is then executed with root privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions between 4.14 and the fix in April 2026)
No auth needed
Prerequisites: AF_ALG support in the kernel · access to /usr/bin/su · ability to execute binaries
devstral-2 · analyzed Jun 05, 2026 Full analysis →
github WORKING POC
by zs1n · pythonlocal
https://github.com/zs1n/copy-fail-CVE-2026-31431

This exploit leverages a splice-based vulnerability (CVE-2026-31431) to overwrite the `/usr/bin/su` binary with malicious shellcode, achieving local privilege escalation. The code uses low-level socket operations and splice syscalls to manipulate file descriptors and inject payloads.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version unclear, likely recent)
No auth needed
Prerequisites: Local access to the target system · Kernel with vulnerable splice implementation
devstral-2 · analyzed Jun 05, 2026 Full analysis →
github WORKING POC
by 1neptune · golocal
https://github.com/1neptune/CopyFail

This repository contains a functional exploit for CVE-2026-31431, leveraging AF_ALG socket operations and splice syscalls to trigger memory corruption, enabling local privilege escalation or container escape by patching /usr/bin/su in the page-cache.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Local access to the system · Ability to execute binaries
devstral-2 · analyzed Jun 03, 2026 Full analysis →
nomisec WORKING POC
by tematemaru · local
https://github.com/tematemaru/CVE-2026-31431-simple-test

This repository contains functional exploit code for CVE-2026-31431, demonstrating a Linux kernel vulnerability in the AF_ALG socket implementation that allows arbitrary page cache manipulation. The exploit uses splice operations to mark pages as dirty and then modifies file content in memory without disk changes.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG socket access · read/write permissions on target file
devstral-2 · analyzed Jun 02, 2026 Full analysis →
github WORKING POC
by K3ysTr0K3R · pythonlocal
https://github.com/K3ysTr0K3R/CVE-2026-31431-EXPLOIT

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG socket interface. The exploit leverages a copy-on-write/length confusion bug to corrupt memory and overwrite the /usr/bin/su binary, achieving root privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG socket interface)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Unprivileged user account
devstral-2 · analyzed May 30, 2026 Full analysis →
nomisec SCANNER
by vishvacyber · poc
https://github.com/vishvacyber/Detection-Tool-Kit-for-CVE-2026-31431

This repository contains detection tools for CVE-2026-31431, a Linux kernel LPE vulnerability involving AF_ALG sockets and page cache corruption. It includes scripts to check for vulnerability indicators, monitor system calls via eBPF, and compare page cache vs. disk content.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.14+)
No auth needed
Prerequisites: AF_ALG socket support · authencesn algorithm availability
devstral-2 · analyzed May 29, 2026 Full analysis →
gitlab WORKING POC
by za1d · poc
https://gitlab.com/za1d/CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG socket manipulation to patch the `su` binary in memory and achieve local privilege escalation. The exploit uses crafted `setsockopt` and `sendmsg` calls to overwrite memory regions of the `su` binary, followed by execution to gain a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions with vulnerable AF_ALG implementation)
No auth needed
Prerequisites: Vulnerable Linux kernel with AF_ALG support · Presence of `/usr/bin/su` · Access to the target system
devstral-2 · analyzed May 28, 2026 Full analysis →
github WORKING POC
by songzzzz · pythonremote
https://github.com/songzzzz/CVE-2026-31431

The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit leverages socket manipulation and memory corruption to overwrite the `/usr/bin/su` binary, enabling root access.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not explicitly stated, but likely a recent version given the CVE year)
No auth needed
Prerequisites: Local access to the target system · Python 3 environment
devstral-2 · analyzed May 28, 2026 Full analysis →
gitlab WORKING POC
by FarrimWildaxe · poc
https://gitlab.com/FarrimWildaxe/copyfail-go

This repository contains a functional Go implementation of CVE-2026-31431, a Linux local privilege escalation (LPE) exploit. It leverages a vulnerability in the AF_ALG cryptographic socket interface to overwrite the page cache of the 'su' binary, replacing it with a malicious payload that grants root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions between August 2017 and April 2026)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Ability to execute binaries
devstral-2 · analyzed May 25, 2026 Full analysis →
gitlab WORKING POC
by Koshmare-Blossom · poc
https://gitlab.com/Koshmare-Blossom/Copyfail-sh

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG AEAD socket interface. The exploit corrupts the page cache of setuid-root binaries via a deterministic 4-byte write primitive, allowing an attacker to overwrite the binary with shellcode and gain root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.11 to 7.0, pre-patch a664bf3d603d)
No auth needed
Prerequisites: gcc · Linux kernel with AF_ALG support · setuid-root binary · non-root user access
devstral-2 · analyzed May 25, 2026 Full analysis →
nomisec SCANNER
by ridhinva · poc
https://github.com/ridhinva/linux-kernel-algif-aead-checker

This repository contains a Python-based scanner that checks for the presence of CVE-2026-31431, a Linux kernel vulnerability related to the algif_aead module. It verifies kernel versions, module configurations, and system protections but does not include exploit code.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Access to the target system · Python 3 environment
devstral-2 · analyzed Jun 04, 2026 Full analysis →
nomisec SCANNER
by ridhinva · poc
https://github.com/ridhinva/copyfail-checker

This repository contains a Python-based scanner that checks for the presence of CVE-2026-31431, a Linux kernel vulnerability related to the algif_aead module. It performs checks on kernel version, AF_ALG module status, and system protections like KPTI, SELinux, and AppArmor.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Access to the target system · Python 3 environment
devstral-2 · analyzed May 23, 2026 Full analysis →
github WORKING POC
by wh1sky02 · pythonlocal
https://github.com/wh1sky02/copy-fail-python

This is a functional Python PoC for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability exploiting AF_ALG and splice() to corrupt the page cache of a readable file (e.g., /usr/bin/su). The exploit uses ctypes for splice() compatibility and achieves root shell access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 4.9 through 6.18)
No auth needed
Prerequisites: Python 3.7+ · read access to target binary (e.g., /usr/bin/su) · vulnerable Linux kernel
devstral-2 · analyzed May 23, 2026 Full analysis →
github WORKING POC
by dyeat · pythonpoc
https://github.com/dyeat/cve-reproduction/tree/main/privilege-escalation/Linux/Kernel/CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability. The exploit leverages a socket-based attack to achieve local privilege escalation by manipulating kernel memory structures.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (Ubuntu 25.04)
No auth needed
Prerequisites: Local access to the target system · Vulnerable Linux kernel version
devstral-2 · analyzed May 22, 2026 Full analysis →
github WORKING POC
by 4n4s4zi · pythonpoc
https://github.com/4n4s4zi/copyfail-alpine

This is a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a kernel vulnerability to patch /etc/passwd and allow passwordless root access via 'su'. It uses socket manipulation and splice operations to overwrite the root entry in /etc/passwd, bypassing password checks.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (tested on Alpine Linux 3.20.5 with kernel 6.6.69)
No auth needed
Prerequisites: Unprivileged user access on a vulnerable system · Python 3 environment
devstral-2 · analyzed May 22, 2026 Full analysis →
github WORKING POC
by JimmyPughtron · pythonlocal
https://github.com/JimmyPughtron/CVE-2026-31431-Copy-Fail---Minified-LPE-PoC

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a vulnerability in the Linux Kernel's Cryptographic API (AF_ALG) combined with the splice() system call to corrupt the page cache of /etc/passwd, allowing an unprivileged user to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
Auth required
Prerequisites: Vulnerable crypto modules loaded (algif_aead, authencesn) · Python3 environment · Unprivileged user access
devstral-2 · analyzed May 22, 2026 Full analysis →
github WORKING POC
by XZ1r0 · pythonpoc
https://github.com/XZ1r0/cve-2026-poc-collection/tree/main/linux/CVE-2026-31431

The repository contains a functional Python-based local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging socket manipulation and splice operations to escalate privileges via the `/usr/bin/su` binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Python 3 environment
devstral-2 · analyzed May 21, 2026 Full analysis →
github WORKING POC
by First-John · gopoc
https://github.com/First-John/cve_2026_frag_family_fix

This repository contains a Go-based tool that mitigates CVE-2026-43500 and CVE-2026-43284 by disabling vulnerable kernel modules (esp4, esp6, rxrpc) and applying kernel updates. It includes functionality to detect vulnerable configurations, apply hotfixes, and clean up artifacts post-update.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (various distributions)
Auth required
Prerequisites: root access · vulnerable kernel modules loaded
devstral-2 · analyzed May 21, 2026 Full analysis →
github WORKING POC
by yangh-beep · clocal
https://github.com/yangh-beep/CVE-2026-31431-C

This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux AF_ALG vulnerability to overwrite the page cache of `/usr/bin/su` with a malicious payload, achieving local privilege escalation to root. The exploit includes both a vulnerability checker and a full exploit binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG subsystem)
No auth needed
Prerequisites: AF_ALG socket access · ability to bind to `authencesn(hmac(sha256),cbc(aes))` · read access to `/usr/bin/su` · splice support
devstral-2 · analyzed May 21, 2026 Full analysis →
github WORKING POC
by sgkdev · cpoc
https://github.com/sgkdev/ptrace_may_dream

This repository contains a functional local privilege escalation exploit for CVE-2026-46333, leveraging a race condition in the Linux kernel's `pidfd_getfd` system call to steal file descriptors from the `accounts-daemon` process. The exploit then uses D-Bus calls to escalate privileges by modifying the user's shell, account type, and password.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (specific versions not specified, tested on RHEL 10 and Fedora 44)
No auth needed
Prerequisites: Unprivileged user access · accounts-daemon running with D-Bus socket at FD 5
devstral-2 · analyzed May 20, 2026 Full analysis →
github WORKING POC
by fearlessresponsesolution · tsqlpoc
https://github.com/fearlessresponsesolution/cve-pocs/tree/master/pocs/CVE-2026-31431

This repository contains a minimal 436-byte ELF exploit for CVE-2026-31431, leveraging ELF internals to achieve a compact payload. It includes a Makefile for building the exploit, a Python script for patching the binary, and a test VM setup for safe execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux x86_64 environment · gcc · ld · strip · Python 3
devstral-2 · analyzed May 19, 2026 Full analysis →
github SCANNER
by GubiczaP · shellpoc
https://github.com/GubiczaP/cve-2026-31431-checker

This repository contains a shell-based scanner for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The script checks for vulnerable conditions but does not execute exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.14 to 6.14)
No auth needed
Prerequisites: unprivileged local user access · vulnerable kernel version · algif_aead module loaded
devstral-2 · analyzed May 19, 2026 Full analysis →
github WRITEUP
by cj667113 · poc
https://github.com/cj667113/OCI-Ansible-Fix-CVE-2026-31431

This repository provides an Ansible playbook for remediating CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` implementation. It includes detailed documentation on the remediation process, verification steps, and execution instructions, but does not contain functional exploit code.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG userspace crypto API)
Auth required
Prerequisites: OCI CLI configured · Ansible installed · SSH access to target instances
devstral-2 · analyzed May 19, 2026 Full analysis →
github WORKING POC
by First-John · gopoc
https://github.com/First-John/CVE-2026-43500

This repository contains a Go-based mitigation tool for CVE-2026-31431, which disables vulnerable kernel modules (e.g., algif_aead) and applies system-level mitigations such as modprobe blocking and GRUB configuration updates. It includes build scripts and CI/CD workflows for automated compilation and release.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (various distributions)
Auth required
Prerequisites: root privileges · vulnerable kernel modules loaded
devstral-2 · analyzed May 19, 2026 Full analysis →
github WORKING POC
by royayub · pythonlocal
https://github.com/royayub/CVE-2026-31431

This is a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a 4-byte page-cache write primitive to corrupt the UID field in /etc/passwd, tricking PAM into granting root access via `su`.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: Local user access · 4-digit UID (1000-9999)
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WRITEUP
by Pithase · local
https://github.com/Pithase/asm-copyfail

This repository provides a detailed technical analysis of CVE-2026-31431, including a breakdown of the Python exploit, validation steps, and a deep dive into the embedded ELF payload. It focuses on translating the exploit into x86-64 assembly and includes disassembly and reverse engineering insights.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (Ubuntu 24.04.4 LTS, kernel 6.19.4)
No auth needed
Prerequisites: Disabled mitigations for CVE-2026-31431 (e.g., algif_aead module) · Access to a vulnerable system
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WORKING POC
by Maxime288 · local
https://github.com/Maxime288/CVE-2026-31431-Copy-Fail-R-pertoire-de-Pr-vention

The repository contains a functional Python exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The exploit leverages a flaw in the AF_ALG socket interface combined with splice() to corrupt the page cache of setuid executables, granting root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (versions with commit 72548b093ee3 to a664bf3d603d)
No auth needed
Prerequisites: User access to a vulnerable Linux system · Python 3.10+ · AF_ALG module loaded
devstral-2 · analyzed May 17, 2026 Full analysis →
nomisec WORKING POC
by adityasingh108 · local
https://github.com/adityasingh108/CVE-2026-31431-Metasploit-exploit

This repository contains a functional Metasploit module that exploits CVE-2026-31431, a logic flaw in the Linux kernel's AF_ALG crypto interface, to achieve local privilege escalation by corrupting the Page Cache of a setuid binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel versions 4.14 through 6.19.12
No auth needed
Prerequisites: Python3 on the target system · Writable directory on the target system
devstral-2 · analyzed May 17, 2026 Full analysis →
nomisec WRITEUP
by zKaaanon · local
https://github.com/zKaaanon/ProyectoFinalSO

This repository contains a detailed technical analysis of CVE-2026-31431, a logical bug in the Linux kernel's cryptographic template that allows local privilege escalation via page cache corruption. The writeup includes objectives, theoretical background, and references but lacks actual exploit code.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions affected since 2017)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · A setuid binary to corrupt
devstral-2 · analyzed May 16, 2026 Full analysis →
nomisec WORKING POC
by whosfault · local
https://github.com/whosfault/cve-2026-31431

This repository contains a functional exploit for CVE-2026-31431, leveraging a 4-byte page-cache write primitive via authencesn(hmac(sha256),cbc(aes)) to corrupt setuid binaries and achieve root privileges. The PoC includes shellcode injection and auto-restoration of the target binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (since 2017, commit 72548b093ee3)
No auth needed
Prerequisites: Readable target binary in page cache · AF_ALG socket access · Fork and exec permissions
devstral-2 · analyzed May 16, 2026 Full analysis →
nomisec WORKING POC
by dotPY-hax · local
https://github.com/dotPY-hax/CopyFail

This repository contains a functional exploit for CVE-2026-31431, leveraging socket manipulation and file descriptor operations to achieve local privilege escalation (LPE). The exploit uses a crafted ELF payload to execute arbitrary commands with elevated privileges.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute Python code
devstral-2 · analyzed May 15, 2026 Full analysis →
nomisec WORKING POC
by 0xFuffM3 · poc
https://github.com/0xFuffM3/CVE-2026-31431-CopyFail

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploit leverages a page cache corruption flaw via `AF_ALG` and `splice()` to achieve root privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 4.9+ (2017-2026)
No auth needed
Prerequisites: Unprivileged user access · Readable privileged binary in page cache
devstral-2 · analyzed May 14, 2026 Full analysis →
gitlab WORKING POC
by rhscz · poc
https://gitlab.com/rhscz/copy-fail-CVE-2026-31431

The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. It overwrites the `/usr/bin/su` binary with a malicious payload to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0-124.45.1.el10_1, 6.17.0-1007-aws, 6.18.8-9.213.amzn2023, 6.12.0-160000.9-default)
No auth needed
Prerequisites: Local access to the target system · Kernel version vulnerable to CVE-2026-31431
devstral-2 · analyzed May 14, 2026 Full analysis →
github WORKING POC
by attaattaatta · gopoc
https://github.com/attaattaatta/CVE-2026-43500

This repository contains a Go-based mitigation tool for CVE-2026-31431, which disables vulnerable kernel modules (e.g., algif_aead) and applies system-level mitigations to prevent exploitation. It includes CI/CD workflows for building and releasing the tool.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (various distributions)
Auth required
Prerequisites: root privileges · vulnerable kernel modules loaded
devstral-2 · analyzed May 17, 2026 Full analysis →
nomisec WORKING POC
by Sebastian294 · local
https://github.com/Sebastian294/cve-2026-31431

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The exploit leverages a logical bug in the AF_ALG module to write controlled bytes into the page cache of arbitrary files, enabling privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 2017-2026, pre-commit a664bf3d603d)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel · Python 3.10+ · Docker for lab setup
devstral-2 · analyzed May 14, 2026 Full analysis →
nomisec WORKING POC
by SilverRuler · poc
https://github.com/SilverRuler/copy-fail-CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability. The exploit manipulates socket options and file descriptors to achieve local privilege escalation (LPE) by overwriting the `/usr/bin/su` binary with a malicious payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0-124.45.1.el10_1, 6.17.0-1007-aws, 6.18.8-9.213.amzn2023, 6.12.0-160000.9-default)
No auth needed
Prerequisites: Local access to the target system · Kernel version vulnerable to CVE-2026-31431
devstral-2 · analyzed May 14, 2026 Full analysis →
nomisec STUB
by kuniyal08 · poc
https://github.com/kuniyal08/Copy-Fail-CVE-2026-31431-Lab

The repository contains only a minimal README with no exploit code, technical details, or meaningful content related to CVE-2026-31431.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC
by DroPZsec · poc
https://github.com/DroPZsec/SplicePrivillegeEscalationFIX

This script mitigates a privilege escalation vulnerability by disabling vulnerable kernel modules (esp4, esp6, rxrpc) and clearing cache. It is a functional fix for CVE-2026-31431, likely related to a kernel-level exploit.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (version unspecified)
Auth required
Prerequisites: sudo access · vulnerable kernel modules loaded
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC
by SystemVll · local
https://github.com/SystemVll/CVE-2026-31431-copyfail-aarch64

This Python script exploits a vulnerability (CVE-2026-31431) by manipulating socket options and sending crafted messages to achieve arbitrary code execution. It overwrites the `/usr/bin/su` binary with a decompressed payload and executes it.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (aarch64)
No auth needed
Prerequisites: Access to a vulnerable aarch64 system · Ability to execute Python scripts
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC
by hyz-is · poc
https://github.com/hyz-is/copyfail-fix

This repository contains a functional mitigation script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the algif_aead module. The script disables the vulnerable module, upgrades the kernel, and optionally sets up automated updates.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (Ubuntu/Debian-based systems)
Auth required
Prerequisites: root privileges · Ubuntu/Debian-based system · apt-get and awk available
devstral-2 · analyzed Jun 13, 2026 Full analysis →
nomisec SUSPICIOUS
by studiogangster · poc
https://github.com/studiogangster/CVE-2026-31431

The repository contains a README with detection and mitigation commands but no actual exploit code. The 'exploit' section directs users to download and execute a script from an external URL, which is a common social engineering tactic.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Linux kernel with vulnerable algif_aead module loaded
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC
by gbonacini · local
https://github.com/gbonacini/CVE-2026-31431

This repository contains a functional C++/x86-64 assembly implementation of CVE-2026-31431 (Copyfail), which exploits a vulnerability in the Linux kernel's AF_ALG socket interface to achieve local privilege escalation (LPE). The exploit crafts malicious control messages to manipulate kernel memory and ultimately spawns a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified, tested on Ubuntu 22.04.2 LTS)
No auth needed
Prerequisites: Vulnerable Linux kernel with CVE-2026-31431 · x86-64 architecture · Unprivileged user access
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC
by polyakovavv · poc
https://github.com/polyakovavv/copyfail

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG cryptographic subsystem. The exploit manipulates the page cache via malformed AEAD operations to achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (2017 onwards)
No auth needed
Prerequisites: AF_ALG socket access · algif_aead kernel module loaded
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WRITEUP
by mauricioportela · local
https://github.com/mauricioportela/CVE-2026-31431-Analysis

This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel vulnerability involving Page Cache isolation failure via the AF_ALG subsystem. It includes a Python script for validation and thorough documentation of the exploit mechanism.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel 5.15.0-139-generic (Ubuntu 20.04.6 LTS)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel version · Python 3 environment · Basic system utilities (objdump, strace, etc.)
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC
by adilkurtulmus · local
https://github.com/adilkurtulmus/linux-copy-fail-CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the Crypto API (AF_ALG) combined with the splice() system call, allowing local privilege escalation via page cache poisoning. It includes detailed technical analysis, PoC code for Ubuntu 18.04 and 22.04, and mitigation steps.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific versions: 4.15.0-197, 5.15.0-125)
No auth needed
Prerequisites: Unpatched Ubuntu 18.04 or 22.04 with vulnerable kernel versions · Loaded crypto modules (af_alg, algif_aead, authenc, echainiv)
devstral-2 · analyzed May 11, 2026 Full analysis →
nomisec WORKING POC
by u1tr0nex · local
https://github.com/u1tr0nex/CVE-2026-31431-CopyFail-Lab

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability in the `algif_aead` cryptographic module. The exploit manipulates the page cache of `/etc/passwd` to escalate privileges from a non-root user to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 6.18.12+kali-amd64
Auth required
Prerequisites: Linux kernel version 6.18.12+kali-amd64 · User with a 4-digit UID · Access to `/etc/passwd`
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WORKING POC
by Lutfifakee-Project · local
https://github.com/Lutfifakee-Project/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` / `authencesn` AEAD implementation. The exploit demonstrates local privilege escalation by corrupting the page cache to inject shellcode into `/usr/bin/su`.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel 4.17+ (before April 2026 security patches)
No auth needed
Prerequisites: Linux kernel 4.17+ without April 2026 security patches · Local access to the target system
devstral-2 · analyzed May 11, 2026 Full analysis →
nomisec WORKING POC
by Karim33z · local
https://github.com/Karim33z/CVE-2026-31431

The repository contains a functional Python-based Proof of Concept (PoC) for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG/algif_aead cryptographic interface. The PoC exploits the vulnerability to overwrite the /usr/bin/su binary, achieving privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: AF_ALG AEAD algorithm support (e.g., authencesn(hmac(sha256),cbc(aes))) · Local access to the target system
devstral-2 · analyzed May 11, 2026 Full analysis →
nomisec WORKING POC
by vorkampfer · poc
https://github.com/vorkampfer/copyfail2_electric_boogaloo_fix

This repository contains a functional mitigation script for CVE-2026-31431, an unprivileged Linux LPE via xfrm ESP-in-UDP MSG_SPLICE_PAGES. The script applies sysctl and modprobe mitigations to block the exploit path.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
Auth required
Prerequisites: root access to apply mitigations
devstral-2 · analyzed May 10, 2026 Full analysis →
nomisec WORKING POC
by cleozi · local
https://github.com/cleozi/Copy_Grail

This repository contains a functional C++ implementation of CVE-2026-31431, a local privilege escalation vulnerability leveraging AF_ALG and splice() to corrupt the page cache of /usr/bin/su, enabling root access. The exploit is self-contained, statically compiled, and includes a zlib-compressed payload for overwriting the target binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (version not specified, but vulnerable to CVE-2026-31431)
No auth needed
Prerequisites: Linux kernel vulnerable to CVE-2026-31431 · g++ with C++11 support or newer · zlib development headers
devstral-2 · analyzed May 10, 2026 Full analysis →
nomisec WORKING POC
by Helios973 · poc
https://github.com/Helios973/CVE-2026-31431_exp.c

The exploit leverages a vulnerability in the Linux AF_ALG socket interface to achieve local privilege escalation (LPE) by manipulating the 'authencesn' algorithm and decompressing a crafted payload. It attempts to execute 'su' to gain root access.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG socket interface)
No auth needed
Prerequisites: Local access to the target system · AF_ALG socket support in the kernel
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec SCANNER
by Hunt-Benito · poc
https://github.com/Hunt-Benito/copy-fail-cve-2026-31431-linux-kernel-page-cache-lpe

This repository contains a Python script that checks for the presence of CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` page-cache write mechanism. It does not exploit the vulnerability but validates system susceptibility by testing AF_ALG socket operations and target file existence.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected by CVE-2026-31431)
No auth needed
Prerequisites: AF_ALG support in the kernel · Python 3.10+ · Unprivileged user access
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec WORKING POC
by vorkampfer · poc
https://github.com/vorkampfer/copy_fail_mitigation

This repository contains a functional mitigation script for CVE-2026-31431, which prevents the loading of the vulnerable 'algif_aead' kernel module on Debian/Ubuntu-based systems. The script creates a modprobe configuration file to blacklist the module and unloads it if already loaded.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (algif_aead module)
Auth required
Prerequisites: root access · Debian/Ubuntu-based system
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec WORKING POC
by 6abc · poc
https://github.com/6abc/Copy-Fail-CVE-2026-31431-dirty-frag-CVE-2026-43284

This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the crypto subsystem. The exploit uses splice() to deliver page-cache references of read-only files (e.g., setuid binaries) to crypto TX scatterlists, enabling arbitrary code execution via a crafted payload.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Linux kernel with vulnerable crypto subsystem · Access to splice() syscall · Read-only file (e.g., /usr/bin/su)
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec WORKING POC
by hori0729 · poc
https://github.com/hori0729/CVE-2026-31431-Verificador-Exploit

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG cryptographic subsystem combined with the splice() system call. The exploit modifies the page cache of SUID binaries or /etc/passwd to achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · algif_aead module loaded · authencesn algorithm available · Python 3.x
devstral-2 · analyzed May 09, 2026 Full analysis →
github WORKING POC
by ROSNLR5 · pythonpoc
https://github.com/ROSNLR5/MitigationToolkit-ROSN-LR5-Full

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. It also includes mitigation tools to temporarily block the vulnerable module.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Python 3.8 or higher
devstral-2 · analyzed May 08, 2026 Full analysis →
github WORKING POC
by KaraZajac · clocal
https://github.com/KaraZajac/DIRTYFAIL

DIRTYFAIL is a unified detector and PoC harness for the Copy Fail and Dirty Frag Linux page-cache write vulnerability families. It includes functional exploit code for CVE-2026-31431, CVE-2026-43284, and CVE-2026-43500, demonstrating the vulnerabilities by modifying the kernel's in-memory copy of files.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected by CVE-2026-31431, CVE-2026-43284, CVE-2026-43500)
No auth needed
Prerequisites: Unprivileged user access · Readable file in page cache (e.g., /etc/passwd)
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by 0xlane · poc
https://github.com/0xlane/pagecache-guard

This repository contains a functional exploit PoC for CVE-2026-31431, demonstrating a runtime integrity guard that detects and blocks Linux page cache tampering attacks. It includes scripts to trigger and verify the vulnerability, as well as a detailed technical explanation of the attack mechanism.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions with CVE-2026-31431 vulnerability)
No auth needed
Prerequisites: Vulnerable Linux kernel · SUID/SGID binaries present on the system
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by p401a-ops · poc
https://github.com/p401a-ops/Copy-Fail

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG subsystem. The exploit leverages a page-cache corruption primitive to achieve privilege escalation, with compatibility for Python 3.7+ and tested on Astra Linux.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (6.12 and later)
Auth required
Prerequisites: local access to the system · Python 3.7+ installed
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by OpenPixelSystems · local
https://github.com/OpenPixelSystems/c-copy-fail

This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. The exploit uses crafted socket operations to inject and execute shellcode, with architecture-specific payloads for AMD64 and AArch64.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Kernel with vulnerable AF_ALG implementation
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by Morton-Li · poc
https://github.com/Morton-Li/copy-fail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket interface to achieve local privilege escalation (LPE). The exploit uses crafted AEAD operations to manipulate kernel memory and execute a payload that spawns a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0 to 6.18.8)
No auth needed
Prerequisites: Linux system with vulnerable kernel · Non-root user access
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by hyeonjunjo24 · poc
https://github.com/hyeonjunjo24/CVE-2026-31431-_Copy-Fail

This PoC exploits a Linux kernel vulnerability (CVE-2026-31431) by corrupting the /usr/bin/su binary via splice() and AF_ALG socket operations, bypassing VFS write permissions to achieve local privilege escalation (LPE). The exploit overwrites the binary with a payload that spawns a root shell when executed.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Presence of /usr/bin/su · Kernel with vulnerable AF_ALG/splice implementation
devstral-2 · analyzed May 08, 2026 Full analysis →
github SCANNER
by ClimbMunchkin · shellpoc
https://github.com/ClimbMunchkin/fix-cve-2026-3143

This repository provides a diagnostic and mitigation script for CVE-2026-31431, focusing on detecting and patching a vulnerability in the Linux kernel's AF_ALG AEAD module. It includes checks for kernel configuration, module status, and vulnerability exposure but does not contain exploit code.

Classification
Scanner 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG AEAD module)
Auth required
Prerequisites: root access · Linux system with AF_ALG AEAD support
devstral-2 · analyzed May 17, 2026 Full analysis →
nomisec WORKING POC
by guiimoraes · poc
https://github.com/guiimoraes/CVE-2026-31431

This repository contains a functional Python implementation of the CopyFail2 kernel exploit (CVE-2026-31431), which leverages a vulnerability in the xfrm ESP-in-UDP MSG_SPLICE_PAGES path to achieve unprivileged local privilege escalation on Linux kernels >= 6.5. The exploit overwrites /etc/passwd to create a passwordless root user.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel >= 6.5
No auth needed
Prerequisites: Linux kernel >= 6.5 · CAP_NET_ADMIN or user namespace capability · libcrypto.so (OpenSSL) · Python 3.8+
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by guiimoraes · poc
https://github.com/guiimoraes/copyfail2-py

This repository contains a Python implementation of the CopyFail2 exploit (CVE-2026-31431), which leverages a kernel vulnerability in the xfrm ESP-in-UDP splice path to achieve local privilege escalation. The exploit overwrites a nologin/false entry in /etc/passwd with a passwordless root user and drops into a root shell via su.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel >= 6.5
No auth needed
Prerequisites: Linux kernel >= 6.5 · libcrypto.so (OpenSSL) · Python 3.8+ · CAP_NET_ADMIN or the ability to create user namespaces
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by julichaan · local
https://github.com/julichaan/CVE-2026-31431-python-copyfail-POC

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the cryptographic subsystem. The exploit leverages a logic bug in the authencesn algorithm to corrupt the page cache of setuid binaries, allowing unprivileged users to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 6.0.0 through 6.18.x
No auth needed
Prerequisites: Python 3.10+ · AF_ALG socket access · Readable setuid binary
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by tang-yikai · poc
https://github.com/tang-yikai/copy-fail-mitigation-with-bpftrace

This repository provides bpftrace-based mitigation scripts for CVE-2026-31431 (Copy Fail), targeting AF_ALG socket bindings with the 'authencesn' algorithm. It includes functional scripts (tracepoint.sh, kprobe.sh, kfunc.sh) and a test case (bind_af_alg.py) to validate the mitigation.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (AF_ALG socket interface)
No auth needed
Prerequisites: bpftrace · Linux kernel with BPF support · AF_ALG socket access
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WRITEUP
by abdelkabirouadoukou · poc
https://github.com/abdelkabirouadoukou/CVE-2026-31431-Analysis-and-Fix

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes root cause analysis, vulnerable code snippets, and a comprehensive explanation of the exploitation path.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.14 through 7.0-rc)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel · Ability to create AF_ALG sockets · Readable setuid binary
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec WORKING POC
by pvpaulo01 · local
https://github.com/pvpaulo01/cve-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG sockets, AEAD cryptographic operations, and splice() to overwrite a privileged binary (/usr/bin/su) for local privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG subsystem)
No auth needed
Prerequisites: Linux system with AF_ALG support · Python 3 · Access to /usr/bin/su
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by 361way · local
https://github.com/361way/CVE-2026-31431

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG interface. The exploit leverages the 'authencesn' algorithm with crafted socket operations and splice calls to overwrite the '/usr/bin/su' binary, ultimately spawning a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 6.18.21, 6.19.11, and below 7.0)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to compile and execute the exploit binary
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by cx330zer0 · local
https://github.com/cx330zer0/CVE-2026-31431-Copy-Fail-add-arm64

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability in the `algif_aead` module. The exploit leverages an AF_ALG socket combined with `splice()` to corrupt page-cache data, allowing arbitrary writes to setuid binaries like `/usr/bin/su` to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 2017-2026.04, specific versions listed in README)
No auth needed
Prerequisites: AF_ALG socket support · algif_aead module loaded · access to a setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by Mr-bv · remote
https://github.com/Mr-bv/Copy-fail-CVE-2026-31431-Exploit-in-C

This repository contains a functional exploit in C for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG AEAD path. The exploit manipulates the page-cache of a target binary (e.g., /usr/bin/su) using splice operations and crypto plumbing to achieve local privilege escalation (LPE).

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux environment · GCC or Clang · Target binary with SUID permissions (e.g., /usr/bin/su)
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec STUB
by gagaltotal · poc
https://github.com/gagaltotal/cve-2026-31431-copy-fail

The repository contains only a minimal README with no technical details or exploit code. It appears to be a placeholder or stub with no functional content.

Classification
Stub 95%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by ikow · poc
https://github.com/ikow/CVE-2026-31431-live-code-corruption

This repository contains a functional exploit for CVE-2026-31431, demonstrating a novel technique to corrupt executable code in memory via the Linux kernel's page cache, achieving root privilege escalation. The exploit leverages a 4-byte write primitive to modify libc's code pages, forcing any process calling exit() to execute arbitrary shellcode.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions before 6.12.85, 6.15+)
No auth needed
Prerequisites: Access to AF_ALG sockets · Readable target file (e.g., libc)
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WRITEUP
by pedro-lucas-melo · poc
https://github.com/pedro-lucas-melo/Estudo-de-Caso-CVE-2026-31431-CopyFail

This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel privilege escalation vulnerability. It includes a comprehensive breakdown of the vulnerability's root cause, affected systems, exploitation scenarios, and mitigation steps.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux Kernel ≤ 7.0
Auth required
Prerequisites: Local user access · Vulnerable kernel version
devstral-2 · analyzed May 07, 2026 Full analysis →
gitlab SCANNER
by slackvoid · poc
https://gitlab.com/slackvoid/copyfail-check

This repository contains a bash script that checks for potential vulnerability to CVE-2026-31431 (Copy Fail), a local privilege escalation (LPE) in the Linux kernel. It verifies kernel versions, module loading, and configuration settings but does not exploit the vulnerability.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Theoretical
Target: Linux kernel (versions before 5.10.254, 5.15.204, 6.1.170, 6.6.137, 6.12.85, 6.18.22, 6.19.12, and 7.0)
Auth required
Prerequisites: local access to the target system · bash environment
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by StarxSky · poc
https://github.com/StarxSky/CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the Bluetooth L2CAP protocol with AF_ALG socket manipulation. The exploit leverages socket options and splice operations to achieve privilege escalation, executing '/usr/bin/su' to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Bluetooth L2CAP socket access · AF_ALG socket support · Kernel with vulnerable L2CAP implementation
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by hans362 · poc
https://github.com/hans362/CVE-2026-31431-Copy-Fail-Container-Escape

This repository contains a functional exploit for CVE-2026-31431, a container escape vulnerability leveraging a Copy Fail technique. The exploit involves overwriting the healthcheck binary with a malicious payload to gain root access on the host system.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Docker containers with vulnerable healthcheck configurations
Auth required
Prerequisites: Container vulnerable to CVE-2026-31431 · Container healthcheck configured and healthcheck CMD known · Root access inside the container
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by philfry · poc
https://github.com/philfry/cve-2026-31431-ftrace

This repository contains a functional kernel module that mitigates CVE-2026-31431 by blocking AF_ALG socket creation using ftrace. The module hooks into __sock_create and denies access to AF_ALG requests, providing a temporary mitigation for systems unable to use eBPF LSM.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (Oracle UEK)
No auth needed
Prerequisites: Kernel development headers · ftrace support · root access for module insertion
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WRITEUP
by mrmtwoj · poc
https://github.com/mrmtwoj/ubuntu-cve-2026-31431-mitigation

This repository provides a detailed guide for mitigating CVE-2026-31431, a logical flaw in the Linux kernel's AF_ALG / algif_aead path, by updating the kernel and kmod packages on Ubuntu systems. It includes step-by-step instructions for configuring mirrors, updating packages, and verifying the installation.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (Ubuntu distributions)
No auth needed
Prerequisites: Ubuntu system (20.04, 22.04, or 24.04) · sudo/root access
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec STUB
by devtint · poc
https://github.com/devtint/CVE-2026-31431

The repository contains only a README.md file with the CVE identifier and no additional technical details or exploit code. It is a placeholder with minimal content.

Classification
Stub 100%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec SCANNER
by Raptoratack · poc
https://github.com/Raptoratack/CopyFail-Scanner-CVE-2026-31431

This repository contains a Python-based scanner for CVE-2026-31431, which checks for vulnerable kernel versions and the presence of the AF_ALG module. It provides recommendations for patching but does not include exploit code.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (versions < 6.8)
No auth needed
Prerequisites: Access to the target system · Python 3 environment
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec WORKING POC
by ozergoker · remote
https://github.com/ozergoker/CVE-2026-31431-copy-fail

The exploit leverages a logic flaw in Linux kernel socket handling to achieve local privilege escalation (LPE) without requiring race conditions or kernel-specific offsets. It manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, granting root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (distributions shipped since 2017)
No auth needed
Prerequisites: Local user access · Python 3 · Linux kernel vulnerability (CVE-2026-31431)
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec WRITEUP
by Detect-DefenseLab · poc
https://github.com/Detect-DefenseLab/CVE-2026-31431-detection-defense

This repository provides a detailed technical analysis of CVE-2026-31431, focusing on detection theory, exploit variants, and defense mechanisms. It includes in-depth discussions on monitoring strategies, convergence points, and multi-signal temporal correlation for detecting the vulnerability.

Classification
Writeup 100%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: Linux kernel AF_ALG subsystem
No auth needed
Prerequisites: Understanding of Linux kernel internals · Knowledge of AF_ALG subsystem
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec SCANNER
by itsystem · poc
https://github.com/itsystem/afalg-check

This repository contains a diagnostic utility for Linux that checks the availability of AF_ALG/algif_aead and assesses the risk of CVE-2026-31431. It performs runtime checks, analyzes kernel modules, and provides mitigation recommendations.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel with AF_ALG/algif_aead
No auth needed
Prerequisites: Linux system · Go 1.24+ · root access for full scanning
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec WORKING POC
by zhanghangorg · local
https://github.com/zhanghangorg/cve-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in `algif_aead` / `authencesn` that allows local privilege escalation (LPE) by corrupting page cache of readable files like `/etc/passwd` or `/usr/bin/su`. The exploit includes both detection tools and PoC code in Python and Rust.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
Auth required
Prerequisites: Local access to the target system · AF_ALG and authencesn(hmac(sha256),cbc(aes)) support in the kernel · Readable target files with page cache (e.g., /etc/passwd)
devstral-2 · analyzed May 06, 2026 Full analysis →
nomisec WORKING POC
by Rat5ak · poc
https://github.com/Rat5ak/CVE-2026-31431-CopyFail-static-ELF--POC

This repository contains a functional exploit for CVE-2026-31431, a page cache corruption vulnerability in the Linux kernel's AF_ALG/AEAD implementation. The exploit is a 587-byte static ELF binary that achieves local privilege escalation by corrupting the page cache of a setuid binary (e.g., /bin/su) via splice aliasing.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (with CONFIG_CRYPTO_USER_API_AEAD)
No auth needed
Prerequisites: Local user access · AF_ALG/AEAD support in kernel · Readable setuid binary
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by Industri4l-H3ll-Xpl0it3rs · local
https://github.com/Industri4l-H3ll-Xpl0it3rs/CVE-2026-31431-Copy-Fail

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel. The exploit leverages a flaw in the AF_ALG socket implementation to overwrite the UID field in /etc/passwd, granting root access to an unprivileged user.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 6.12 and above)
No auth needed
Prerequisites: Local access to the target system · Python 3 environment
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by MrMixies · poc
https://github.com/MrMixies/Copy-Fail---CVE-2026-31431

The repository contains a Python script that detects the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It checks kernel versions, module availability, socket accessibility, and system configurations but does not include exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.13 to 6.18.21 / 6.19.11
No auth needed
Prerequisites: Linux system with vulnerable kernel version · Access to system commands and kernel modules
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WRITEUP
by TheMalwareGuardian · poc
https://github.com/TheMalwareGuardian/CVE-2026-31431

This repository provides a detailed technical explanation of CVE-2026-31431, focusing on the evolution of the vulnerability in Linux kernel crypto operations, specifically the authencesn algorithm. It covers the historical context, changes in kernel behavior, and how scatterlists and page cache interactions lead to exploitation.

Classification
Writeup 100%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Understanding of Linux kernel internals, crypto operations, and memory management
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WRITEUP
by sudoytang · local
https://github.com/sudoytang/copyfail-arm64

This repository provides a detailed technical analysis and ARM64 porting process for CVE-2026-31431, a Linux kernel privilege escalation vulnerability. It includes deobfuscated exploit code, shellcode analysis, and a comprehensive blog post explaining the vulnerability mechanics.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Linux kernel with CVE-2026-31431 vulnerability · ARM64 architecture for full exploit chain
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WRITEUP
by deadRabbit92 · poc
https://github.com/deadRabbit92/mitigate-copy-fail.yml

This repository contains an Ansible playbook for mitigating CVE-2026-31431, a vulnerability in the algif_aead kernel module. It provides detailed technical steps to blacklist the module and includes checks for patched kernel versions on Debian and CentOS systems.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead module)
Auth required
Prerequisites: root access · supported Linux distribution (Debian 10/11/12/13 or CentOS 7)
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by ShahaB108 · poc
https://github.com/ShahaB108/CVE-2026-31431_Kernel_Checker

This repository contains scripts to check and update AlmaLinux kernels for CVE-2026-31431. It does not exploit the vulnerability but scans for vulnerable kernel versions and provides remediation steps.

Classification
Scanner 95%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: AlmaLinux kernel (versions 8, 9, 10)
Auth required
Prerequisites: root or sudo access to run kernel updates · AlmaLinux system
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by 6abc · poc
https://github.com/6abc/Copy-Fail-CVE-2026-31431

The PoC exploits a Linux kernel vulnerability (CVE-2026-31431) in the crypto subsystem, leveraging splice() to manipulate page-cache references of read-only files (e.g., setuid binaries) via crafted socket operations. It achieves local privilege escalation by corrupting memory and executing arbitrary code (e.g., 'su').

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (multiple distributions, versions 6.12.0-6.19.11)
No auth needed
Prerequisites: Linux system with vulnerable kernel · ability to execute Python code · access to /usr/bin/su or similar setuid binary
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by Silent4Labs · poc
https://github.com/Silent4Labs/check-copyfail-cve-2026-31431

The repository contains a Bash script that scans for indicators of exposure to CVE-2026-31431, a Linux kernel vulnerability, by checking kernel versions, module status, and system configurations. It does not exploit the vulnerability but provides a risk assessment based on collected data.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 4.14 and later)
No auth needed
Prerequisites: Linux system access · Bash environment
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by KhaosFarbauti · poc
https://github.com/KhaosFarbauti/CVE-2026-31431

The repository contains functional exploit code for CVE-2026-31431, targeting a vulnerability in Python's socket handling. The exploit uses crafted socket operations and splice() to achieve arbitrary code execution, specifically overwriting /bin/su or /usr/bin/su with a decompressed payload.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Python (versions < 3.10)
No auth needed
Prerequisites: Access to a vulnerable Python environment · Ability to execute Python scripts
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by net0bsd · poc
https://github.com/net0bsd/Mitigaciones

The repository contains a mitigation script for CVE-2026-31431, which scans for vulnerable kernel modules and applies mitigations by blocking them via modprobe. It does not include exploit code but provides detection and remediation steps.

Classification
Scanner 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (modules: algif_aead, authencesn)
Auth required
Prerequisites: root privileges · access to /etc/modprobe.d/ · ability to unload kernel modules
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by AdityaBhatt3010 · local
https://github.com/AdityaBhatt3010/CVE-2026-31431

The PoC exploits CVE-2026-31431, a Linux privilege escalation vulnerability via AF_ALG crypto abuse, manipulating AEAD socket handling to gain root access. It uses socket manipulation and memory corruption techniques to execute arbitrary code with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · Local access
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by imkk000 · local
https://github.com/imkk000/play-go-copy-fail-cve-2026-31431

This repository contains a functional Go-based exploit for CVE-2026-31431, leveraging Linux syscalls and socket manipulation to achieve local privilege escalation by patching the 'su' binary. The exploit includes payload generation, shellcode injection, and PTY upgrade mechanisms.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute binaries
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by Mrhudson69 · poc
https://github.com/Mrhudson69/cve-2026-31431

This repository provides detection and patching scripts for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability via the `algif_aead` (AF_ALG) interface. It includes a non-root detection script and a root patching script but does not contain actual exploit code.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (all versions since 2017)
No auth needed
Prerequisites: local access to the system · unprivileged user account
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WRITEUP
by Qengineering · poc
https://github.com/Qengineering/RK35xx-CopyFail-Hotfix

This repository provides a detailed technical analysis and patch for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem affecting RK35xx devices. It includes a pre-compiled kernel patch and instructions for manual reproduction.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 6.1.0-1025-rockchip (Ubuntu 24.04 on RK35xx devices)
No auth needed
Prerequisites: Local access to an RK35xx device running Ubuntu 24.04 with kernel 6.1.0-1025-rockchip
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WORKING POC
by g1nt0n1x · local
https://github.com/g1nt0n1x/copy-fail-CVE-2026-31431-shell

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging an AF_ALG socket combined with splice() to overwrite the page cache of a read-only SUID binary (/usr/bin/su) with a malicious ELF payload. The exploit is written in C and compiled via a Bash wrapper script, targeting Linux kernels 4.9 through 6.18.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel 4.9-6.18
No auth needed
Prerequisites: local shell access · gcc available on target · write access to /tmp · x86-64 architecture
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec SCANNER
by ochebotar · poc
https://github.com/ochebotar/copy-fail-CVE-2026-31431-detection-probe

This repository provides a detection toolkit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes scripts and configurations for scanning systems, checking kernel versions, module states, and mitigations without exploiting the vulnerability.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.14–6.17, 6.18.x, 6.19.x, ≥6.20)
No auth needed
Prerequisites: Access to system files and kernel information
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec SCANNER
by samanzamani · poc
https://github.com/samanzamani/copy-fail-checker

The repository contains a Bash script that checks for the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` AEAD cryptographic template. It performs read-only checks on kernel version, module status, and socket reachability without exploiting the vulnerability.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (versions with `algif_aead` enabled, introduced in 2017)
No auth needed
Prerequisites: Unprivileged local user access · Linux system with `algif_aead` module or `AF_ALG` socket reachable
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec SCANNER
by chavezvic · poc
https://github.com/chavezvic/CopyFail-Penguin

This repository contains a defensive tool that checks for system exposure indicators related to CVE-2026-31431 without exploiting the vulnerability. It verifies kernel versions, package manager updates, and module statuses to assess potential risk.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to the target system's command line or script execution environment
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WORKING POC
by MetaspIoit · local
https://github.com/MetaspIoit/CVE-2026-31431

This exploit leverages a Linux kernel vulnerability in the AF_ALG socket interface to achieve local privilege escalation (LPE) by manipulating splice operations and AEAD cipher configurations. It targets the 'su' binary to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified, but likely recent)
No auth needed
Prerequisites: Local access to the target system · Presence of /usr/bin/su · Python 3.8+ with ctypes and zlib
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec SCANNER
by codesource · poc
https://github.com/codesource/copyfail-check

This repository contains a bash script designed to detect the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. The script checks kernel versions, module status, boot parameters, and other mitigations but does not include exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel 4.13 – 6.x
No auth needed
Prerequisites: local access to the target system
devstral-2 · analyzed May 04, 2026 Full analysis →
github SCANNER
by jdarkcaos-kai · pythonpoc
https://github.com/jdarkcaos-kai/cve-2026-31431-medium-unpriv-t

This repository contains a FastAPI-based scanner for detecting CVE-2026-31431, a local privilege escalation vulnerability. It checks for suspicious SUID binaries and package versions but does not include exploit code.

Classification
Scanner 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux systems with vulnerable SUID binaries (specific software not explicitly named)
No auth needed
Prerequisites: Access to the target system · Knowledge of suspicious binary paths or package versions
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC
by mCub3 · clocal
https://github.com/mCub3/CVE-2026-31431

This repository contains a functional C exploit for CVE-2026-31431, which leverages a logic bug in the AF_ALG subsystem to achieve unprivileged local privilege escalation (LPE) by corrupting the page cache of readable files, specifically targeting /usr/bin/su to gain root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 to early 2026
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to compile the exploit · Readable /usr/bin/su file
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WORKING POC
by kaleth4 · poc
https://github.com/kaleth4/CVE-2026-31431

The repository contains functional exploit code for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG that allows local privilege escalation via page cache corruption. The exploit leverages the authencesn algorithm to trigger unauthorized writes to the page cache, enabling an attacker to modify sensitive files like /etc/passwd.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel 4.10+
No auth needed
Prerequisites: Local access to the target system · AF_ALG and crypto subsystem enabled · Vulnerable kernel version
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WORKING POC
by ncmprbll · local
https://github.com/ncmprbll/copy-fail-rs

This Rust-based PoC exploits a memory corruption vulnerability in the Linux kernel's AF_ALG socket implementation (CVE-2026-31431) by crafting malicious control messages to achieve arbitrary code execution. It uses splice() to manipulate file descriptors and inject shellcode into the target binary (/usr/bin/su).

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (AF_ALG socket implementation)
No auth needed
Prerequisites: Linux system with vulnerable kernel · Access to AF_ALG sockets · Presence of /usr/bin/su
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC
by ravindercodes · pythonpoc
https://github.com/ravindercodes/copy-fail-CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, targeting a local privilege escalation vulnerability in Linux kernel versions 6.12.0 to 6.18.8. The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, achieving root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (6.12.0 to 6.18.8)
No auth needed
Prerequisites: Local access to the target system · Kernel version within the affected range
devstral-2 · analyzed May 03, 2026 Full analysis →
github TROJAN
by tfawnies · pythonpoc
https://github.com/tfawnies/CVE-2026-31431

The repository contains obfuscated Python code that attempts to execute a reverse shell and download additional payloads, masquerading as a PoC for CVE-2026-31431. The code is deceptive and includes no legitimate exploit details for the CVE.

Classification
Trojan 95%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: N/A
No auth needed
Prerequisites: None
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WRITEUP
by jamal-soc21 · poc
https://github.com/jamal-soc21/Weekly-Breach-Investigation--006

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel affecting systems since 2017. It includes MITRE ATT&CK mappings, mitigation strategies, and detection details but lacks actual exploit code.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (versions before 6.18.22, 6.19.12, or 7.0)
No auth needed
Prerequisites: Unprivileged local access to a vulnerable Linux system
devstral-2 · analyzed May 04, 2026 Full analysis →
github SCANNER
by sibersan · pythonpoc
https://github.com/sibersan/cve-2026-31431-checker

This repository contains a Python-based detection tool for CVE-2026-31431, a Linux kernel vulnerability affecting versions 4.13+ (since August 2017). The tool performs non-destructive checks to determine if a system is vulnerable by analyzing kernel version, module status, and patch configurations, but does not include exploit code.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel 4.13+
No auth needed
Prerequisites: Python 3.6+ · Linux system
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by vyahello · pythonlocal
https://github.com/vyahello/CVE-2026-31431

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting the Linux kernel's `algif_aead` path via `AF_ALG` and `splice()` to overwrite the page cache of `/usr/bin/su` with a malicious payload.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 4.14 to 6.18.21, 6.19.11, and below 7.0)
No auth needed
Prerequisites: Vulnerable Linux kernel · Presence of `/usr/bin/su` with setuid-root · AF_ALG crypto API enabled
devstral-2 · analyzed May 03, 2026 Full analysis →
github SCANNER
by ForensicFoundry · shellpoc
https://github.com/ForensicFoundry/cve-2026-31431-check

This repository contains a Bash script designed to check for exposure indicators and mitigation status of CVE-2026-31431 on Debian-based Linux systems. It verifies kernel package details, module states, and reboot status to determine if the system is patched or requires action.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (Debian-based distributions)
No auth needed
Prerequisites: Debian-based Linux system · Access to system commands and package manager
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by aexdyhaxor · pythonremote
https://github.com/aexdyhaxor/CVE-2026-31431-copy-fail

The repository contains a functional exploit for CVE-2026-31431, which targets a memory handling/logic flaw in copy operations. The exploit leverages improper buffer validation and error handling to achieve privilege escalation via a crafted payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Unspecified (likely a Linux-based system with vulnerable copy operation handling)
No auth needed
Prerequisites: Access to a vulnerable system with the flawed copy operation · Python environment to execute the exploit
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by pyroceper · clocal
https://github.com/pyroceper/copy-fail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability allowing local privilege escalation (LPE) by writing controlled bytes into the page cache of readable files. The exploit leverages the AF_ALG socket interface to trigger the vulnerability and modifies /etc/passwd to gain root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 6.17.0 (Ubuntu 25.10 x86_64)
No auth needed
Prerequisites: Local access to the target system · Readable /etc/passwd file
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by danimrtzp · pythonlocal
https://github.com/danimrtzp/CVE-2026-31431-REVSHELL

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `crypto: algif_aead` subsystem. The exploit daemonizes, loads required kernel modules, and patches `/usr/bin/su` in-memory to spawn a root reverse shell with a fully interactive PTY.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 7.0-rc6)
No auth needed
Prerequisites: Python >= 3.10 · Read access to `/usr/bin/su` · Kernel modules `algif_aead` and `authencesn` available
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec SCANNER
by jbnetwork-git · poc
https://github.com/jbnetwork-git/copy-fail-check

This repository provides a bash script to detect and mitigate exposure to CVE-2026-31431 by checking for the presence and loading status of the 'algif_aead' kernel module and applying a temporary mitigation via modprobe configuration.

Classification
Scanner 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root access for mitigation application · presence of 'algif_aead' kernel module
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WORKING POC
by astounds · local
https://github.com/astounds/copy-fail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, leveraging a multi-layered payload (hex string → zlib decompression → ELF binary → shellcode) to achieve root shell execution. The exploit is architecture-agnostic, supporting multiple platforms with tailored shellcode for each.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Unknown (likely a Linux-based system with a vulnerable su process)
No auth needed
Prerequisites: Vulnerable system with exploitable su process · Ability to execute the exploit script
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by pedromizz · pythonlocal
https://github.com/pedromizz/copy-fail

This repository contains a functional Python-based exploit for CVE-2026-31431, a Linux local privilege escalation vulnerability leveraging AF_ALG + splice() + authencesn to corrupt page cache and execute arbitrary code as root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG + authencesn support · Python 3 with ctypes
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WORKING POC
by vasyapokemon · local
https://github.com/vasyapokemon/cve-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch a setuid binary and escalate privileges to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 to early 2026
No auth needed
Prerequisites: Local shell access · Unpatched Linux kernel (4.14 to early 2026)
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by CybroZeus · local
https://github.com/CybroZeus/Copy-Fail-Exploit-CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the kernel crypto API via AF_ALG. The exploit manipulates page cache data of SUID binaries to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Linux kernel with vulnerable AF_ALG implementation · algif_aead module loaded · Python 3.10+ for Python exploit
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WRITEUP
by rivaldofwijaya · poc
https://github.com/rivaldofwijaya/copy-success

This repository provides a defensive mitigation script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel involving splice() and AF_AEAD sockets. It includes detailed technical explanations, mitigation steps, and usage instructions but does not contain exploit code.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel >= 6.11
Auth required
Prerequisites: root access to deploy mitigations · vulnerable kernel version
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by Gr-1m · golocal
https://github.com/Gr-1m/CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `authencesn` cryptographic template. The exploit leverages a 4-byte write primitive in the page cache to corrupt setuid binaries like `/usr/bin/su` and achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (with CONFIG_CRYPTO_AUTHENC enabled)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Presence of a setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 02, 2026 Full analysis →
github WRITEUP
by joltcan · pythonpoc
https://github.com/joltcan/ansible-role-cve-2026-31431

This repository provides an Ansible role to mitigate CVE-2026-31431 by blocking the vulnerable `algif_aead` kernel module via modprobe.d. It includes verification steps to ensure the mitigation is effective and warns about limitations on RHEL-family systems.

Classification
Writeup 100%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel AF_ALG / algif_aead subsystem
Auth required
Prerequisites: Debian-family system · algif_aead as a loadable module (not built-in)
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by pulentoski · pythonlocal
https://github.com/pulentoski/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability leveraging AF_ALG and Page Cache Injection techniques. The exploit modifies the in-memory behavior of SUID binaries (e.g., /usr/bin/su) to escalate privileges without altering the binary on disk.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG support · splice syscall support · read access to SUID binaries
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by Sl4cK0TH · pythonlocal
https://github.com/Sl4cK0TH/CVE-2026-31431-PoC

The repository contains a functional Python-based PoC exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploit leverages an out-of-bounds write in the page cache to corrupt a setuid binary and achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to 6.18.21, 6.19.11, and below 7.0)
No auth needed
Prerequisites: Unpatched Linux kernel with AF_ALG enabled · Access to a local user account · Readable setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by Huchangzhi · local
https://github.com/Huchangzhi/autorootlinux

This repository contains a functional exploit script for CVE-2026-31431, which appears to be a local privilege escalation (LPE) vulnerability in the Linux kernel. The script uses a Python-based exploit to gain root privileges by manipulating socket options and memory corruption techniques.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (version not specified)
No auth needed
Prerequisites: Python 3 or Python 2.7 · Linux environment with vulnerable kernel
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WRITEUP
by 2H-K · local
https://github.com/2H-K/copyfailRecurrence

This repository provides a detailed technical writeup and environment setup for reproducing CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. It includes step-by-step instructions for building a debug environment with QEMU and GDB, but does not contain actual exploit code.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel 4.14 to 6.18 (algif_aead module)
No auth needed
Prerequisites: Linux kernel 6.6.1 source code · QEMU · GDB · debootstrap · Ubuntu host environment
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by cxwx · c++local
https://github.com/cxwx/cpp-CVE-2026-31431

This is a functional exploit for CVE-2026-31431, leveraging an OOB write vulnerability in the Linux kernel's AF_ALG AEAD splice implementation to overwrite /usr/bin/su with shellcode, achieving local privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG AEAD splice)
No auth needed
Prerequisites: Linux kernel with vulnerable AF_ALG AEAD implementation · ability to execute code on the target system
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by mmionf · pythonlocal
https://github.com/mmionf/copy-fail-CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability related to memory management or copy operations. The exploit uses socket manipulation and memory splicing to achieve privilege escalation, likely leveraging a flaw in the `mmionf` (memory-mapped I/O) subsystem.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 6.12.0-6.18.8)
No auth needed
Prerequisites: Linux system with vulnerable kernel · Local user access
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by KanbaraAkihito · rustlocal
https://github.com/KanbaraAkihito/CVE-2026-31431-copyfail-rs

This repository contains a functional Rust-based exploit for CVE-2026-31431, leveraging a race condition in the Linux kernel's AF_ALG AEAD socket implementation to escalate privileges. The exploit uses splice() operations to trigger a CopyFail condition, bypassing kernel capability checks.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel with CONFIG_CRYPTO_USER_API_AEAD enabled
No auth needed
Prerequisites: Linux x86_64 kernel with AF_ALG AEAD support · algif_aead module loaded · setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by Trex1e · pythonpoc
https://github.com/Trex1e/copyfail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux local privilege escalation vulnerability. The exploit includes kernel version detection, user confirmation, and a payload injection mechanism to escalate privileges to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel versions 4.14 to 6.18.21
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3 environment
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by EynaExp · pythonpoc
https://github.com/EynaExp/Copy-Fail-CVE-2026-31431-modernized

This repository contains a functional privilege escalation exploit for CVE-2026-31431, targeting the Linux kernel's AF_ALG crypto subsystem. The exploit leverages malformed key operations and crafted sendmsg calls to trigger a corruption, ultimately attempting to spawn a root shell via 'su'.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (af_alg / crypto subsystem)
No auth needed
Prerequisites: Linux kernel with vulnerable AF_ALG implementation · Access to /usr/bin/su
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by MartinPham · local
https://github.com/MartinPham/copy-fail-CVE-2026-31431-php

This PHP PoC exploits CVE-2026-31431 by leveraging a copy failure vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. It uses FFI to manipulate socket operations and splice system calls to overwrite memory, ultimately executing '/usr/bin/su' to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (likely 5.15.0-136-generic or similar)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · PHP with FFI extension enabled
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by malwarekid · local
https://github.com/malwarekid/CVE-2026-31431

This repository contains a functional Go-based exploit for CVE-2026-31431, leveraging a memory corruption vulnerability in the Linux Kernel Crypto API (AF_ALG) to achieve local privilege escalation by patching the /usr/bin/su binary in the page cache.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Go compiler · Linux system with vulnerable kernel · access to /usr/bin/su
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by xd20111 · pythonlocal
https://github.com/xd20111/CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` cryptographic template. The exploit leverages a deterministic 4-byte write into the page cache of any readable file, such as `/usr/bin/su`, to achieve privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 through 6.18.21 and 6.19.x before 6.19.12
No auth needed
Prerequisites: Local unprivileged shell access · Readable setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 02, 2026 Full analysis →
github NO CODE
by moaaz-mostafa123 · pythonlocal
https://github.com/moaaz-mostafa123/CVE-2026-31431
github WORKING POC
by 0xac1dc0de · pythonlocal
https://github.com/0xac1dc0de/CVE-2026-31431

The exploit leverages a socket-based vulnerability to achieve local privilege escalation by manipulating socket options and sending crafted messages to overwrite the `/usr/bin/su` binary with a malicious payload, then executing it.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions 6.12.0-6.18.8)
No auth needed
Prerequisites: Local access to the target system · Kernel version within the affected range
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by ROSNLR5 · pythonlocal
https://github.com/ROSNLR5/modrosnlr5

This repository contains a functional Python-based local privilege escalation (LPE) exploit for CVE-2026-31431, targeting the Linux kernel's AF_ALG socket interface. The exploit injects a payload via `os.splice` and `zlib` decompression to escalate privileges to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Vulnerable Linux kernel (CVE-2026-31431) · Python ≥ 3.8 · Read access to `/usr/bin/su`
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by TheMursalin · pythonlocal
https://github.com/TheMursalin/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG subsystem that allows local privilege escalation via a NULL pointer dereference leading to a heap out-of-bounds write.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel 4.4–4.9 (pre-patch)
No auth needed
Prerequisites: vm.mmap_min_addr = 0 · AF_ALG compiled in kernel · Local user access
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by euriconicacio · pythonlocal
https://github.com/euriconicacio/copy-fail-CVE-2026-31431-poc

This repository contains two functional Python exploits for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploits leverage the `AF_ALG` socket interface and `splice()` system call to perform a controlled 4-byte write into the page cache of `/usr/bin/su`, allowing unprivileged users to gain root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions since 2017)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Unprivileged user account · Presence of `/usr/bin/su`
devstral-2 · analyzed May 02, 2026 Full analysis →
github WRITEUP
by kdjnb · shellpoc
https://github.com/kdjnb/fix_CVE-2026-31431

This repository provides a mitigation script for CVE-2026-31431, which involves blacklisting the 'algif_aead' kernel module to prevent privilege escalation. The script includes steps to unload the module, blacklist it, and update the initramfs.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root/sudo access · presence of the 'algif_aead' kernel module
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WRITEUP
by parmstro · poc
https://github.com/parmstro/cfDr

This repository provides Ansible playbooks and roles for mitigating CVE-2026-31431, focusing on assessment and remediation strategies such as module blacklisting, SELinux policies, seccomp, and eBPF LSM. It includes detailed documentation, contributor guidelines, and multiple playbooks for different use cases.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Ansible · Linux system with vulnerable kernel
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by Emmmmllll · poc
https://github.com/Emmmmllll/copy-fail-zig

This repository contains a Zig implementation of a local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG iov_iter rework. The exploit allows writing arbitrary data to executable files via splice operations and includes shellcode for privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions between August 2017 and April 2026, inclusive)
No auth needed
Prerequisites: Linux kernel within the affected version range · Access to a SUID binary or executable file for modification
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec SCANNER
by monobrau · poc
https://github.com/monobrau/copyfailscan

This repository contains a scanner script (`copyfail_scan.sh`) designed to detect the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` crypto userspace API. The script scans hosts over SSH to inventory kernel versions, check for `algif_aead` presence, and identify potential mitigations, but does not include exploit code.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected by CVE-2026-31431)
Auth required
Prerequisites: SSH access to target hosts · credentials file with user:password pairs · bash, ssh, sshpass, and optionally nmap for CIDR scans
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by glask1d · pythonlocal
https://github.com/glask1d/CVE-2026-31431-PoC

This exploit leverages a Linux kernel AF_ALG socket vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing data to overwrite the 'su' binary with malicious code. The payload is decompressed and written in chunks to bypass protections.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Kernel with vulnerable AF_ALG implementation
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by RoflSecurity · local
https://github.com/RoflSecurity/copy_fail

This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. The exploit uses crafted socket operations and splice system calls to inject malicious payloads into the `/usr/bin/su` binary, ultimately executing it with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Presence of vulnerable AF_ALG socket implementation · Access to `/usr/bin/su`
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WRITEUP
by ledlight33 · poc
https://github.com/ledlight33/copyfail-dfir

This repository provides a detailed DFIR (Digital Forensics and Incident Response) walkthrough for CVE-2026-31431, a Linux kernel vulnerability. It includes forensic techniques, tools like Volatility 3, and real commands for incident response, focusing on memory forensics to detect the exploit.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (version not specified)
No auth needed
Prerequisites: Access to memory dumps · Volatility 3 for memory analysis · Basic forensic tools like `ausearch` and `strings`
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by Smarttfoxx · clocal
https://github.com/Smarttfoxx/copyfail

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging a logic bug in the Linux kernel's `authencesn` cryptographic template to perform controlled 4-byte writes into the page cache of readable files, ultimately achieving root access via a corrupted `/usr/bin/su` binary.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (4.10 to pre-fix commit a664bf3d)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Readable `/usr/bin/su` binary · AF_ALG socket access
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by mrunalp · local
https://github.com/mrunalp/block-copyfail

This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `algif_aead` cryptographic interface. It includes a BPF LSM DaemonSet for zero-reboot remediation and a test script to confirm vulnerability.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: AF_ALG socket access · splice() system call access · ability to bind to `authencesn` algorithm
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec WORKING POC
by bootsareme · local
https://github.com/bootsareme/copyfail-deconstructed

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG socket interface. The exploit leverages a 4-byte out-of-bounds write in the authencsn crypto algorithm to corrupt the page cache of /usr/bin/su, allowing arbitrary code execution as root.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG socket interface, algif_aead module)
No auth needed
Prerequisites: Readable /usr/bin/su binary · AF_ALG socket support in kernel · algif_aead module loaded
devstral-2 · analyzed May 02, 2026 Full analysis →
github SCANNER
by sebinxavi · shellpoc
https://github.com/sebinxavi/cve-checker-2026

This repository contains a multi-OS vulnerability scanner for CVE-2026-31431 (Linux kernel crypto/algif_aead flaw) and CVE-2026-41940 (cPanel & WHM authentication bypass). It checks for vulnerable configurations, patch status, and mitigation measures without exploiting the vulnerabilities.

Classification
Scanner 100%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (crypto/algif_aead), cPanel & WHM
No auth needed
Prerequisites: access to the target system · root privileges for comprehensive checks
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Lyutoon · clocal
https://github.com/Lyutoon/CopyFail-Experiment

This repository contains a functional exploit for CVE-2026-31431, which leverages a splice-based arbitrary page-cache write vulnerability to achieve local privilege escalation by corrupting /usr/bin/su with shellcode.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the system · Presence of /usr/bin/su with SUID bit set
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by sercuritycyber · pythonlocal
https://github.com/sercuritycyber/COPY-FAIL-CVE-2026-31431

This repository contains a functional Python-based Proof-of-Concept (PoC) for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages the AF_ALG crypto API and splice() to corrupt the page cache of a setuid binary (e.g., /usr/bin/su), allowing unprivileged users to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected since ~2017)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute Python code · Presence of a setuid binary like /usr/bin/su
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP
by mlazzarotto · poc
https://github.com/mlazzarotto/copy-fail-CVE-2026-31431-mitigation-ansible-playbook

This repository provides an Ansible playbook for mitigating CVE-2026-31431 by disabling the vulnerable `algif_aead` kernel module on Debian/Ubuntu and RHEL-based systems. It includes detailed documentation, usage instructions, and verification steps but does not contain exploit code.

Classification
Writeup 100%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (AF_ALG module)
Auth required
Prerequisites: Ansible 2.14+ · SSH access with sudo privileges · Target systems running Ubuntu/Debian or RHEL 9/10, Rocky Linux 9/10, AlmaLinux 9/10
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Silent0x0 · pythonpoc
https://github.com/Silent0x0/Copy-Fail---CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, demonstrating a page-cache write vulnerability via AF_ALG+splice. It includes a canary test to verify vulnerability and a universal local privilege escalation (LPE) exploit that dynamically discovers and patches PAM functions in libpam to bypass authentication.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (x86-64) with util-linux/shadow su
No auth needed
Prerequisites: Linux kernel with AF_ALG support · util-linux/shadow su installed · Python 3
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by Danford2017 · poc
https://github.com/Danford2017/Copy-Fail---CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) via arbitrary page-cache writes using AF_ALG and splice. The exploit dynamically discovers and patches PAM functions in libpam to bypass authentication checks.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (util-linux/shadow su)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG support · util-linux/shadow su installed
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by rvizx · poc
https://github.com/rvizx/CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, a Linux kernel crypto subsystem vulnerability allowing local privilege escalation via AF_ALG and splice() manipulation. The PoC demonstrates a 4-byte write to the page cache of any readable file, leading to root access by corrupting a setuid binary.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (6.8.0-1012-aws)
No auth needed
Prerequisites: Unprivileged local user access · AF_ALG and authencesn module availability · Readable setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by atgreen · poc
https://github.com/atgreen/block-copyfail

This repository contains a functional BPF LSM-based mitigation for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `authencesn` cryptographic template. The PoC blocks vulnerable AF_ALG socket binds using eBPF, compiled via Whistler (a Common Lisp eBPF compiler), and includes a test script to verify the blocker's functionality.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (5.7+ with BPF LSM enabled)
No auth needed
Prerequisites: Linux kernel 5.7+ with CONFIG_BPF_LSM=y and lsm=bpf boot parameter · SBCL 2.0+ · Whistler (Common Lisp eBPF compiler)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP
by sbeteta42 · poc
https://github.com/sbeteta42/CVE-2026-31431_je_sappelle_RoOt

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (AF_ALG and algif_aead module). It includes root cause analysis, affected systems, and remediation guidance but does not contain exploit code.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (AF_ALG, algif_aead module)
Auth required
Prerequisites: Local user access · Vulnerable kernel version
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by beatbeast007 · poc
https://github.com/beatbeast007/Linux-CopyFail-C-Version-CVE-2026-31431

This repository contains a C-based Linux local privilege escalation exploit for CVE-2026-31431, leveraging AF_ALG, authencesn, and splice primitives to overwrite the page cache of /usr/bin/su with setuid shellcode for root access.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (version not specified)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Kernel with AF_ALG and splice support
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by kvakirsanov · pythonpoc
https://github.com/kvakirsanov/CVE-2026-31431-live-process-code-injection

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, demonstrating arbitrary code execution in a running process via page cache manipulation using the 'Copy Fail' technique. The exploit compiles a test binary, injects shellcode to replace a function, and verifies execution by comparing the process PID.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (unpatched, with algif_aead module)
No auth needed
Prerequisites: Unpatched kernel with algif_aead module available · gcc · AF_ALG socket access
devstral-2 · analyzed May 01, 2026 Full analysis →
github SUSPICIOUS
by RecoFu · poc
https://github.com/RecoFu/CVE-2026-31431-Copy-Fail

The repository claims to provide a local privilege escalation exploit for CVE-2026-31431 but contains no actual exploit code. It references external documents for technical details, mitigation, and detection, which are not included in the repository.

Classification
Suspicious 90%
Attack Type
Lpe
Complexity
Theoretical
Reliability
Theoretical
Target: Linux kernel (CONFIG_CRYPTO_USER_API_AEAD)
No auth needed
Prerequisites: Unprivileged user access · Linux kernel with CONFIG_CRYPTO_USER_API_AEAD
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by FrosterDL · pythonpoc
https://github.com/FrosterDL/CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, leveraging socket manipulation and file operations to achieve local privilege escalation (LPE) by overwriting the `/usr/bin/su` binary with a malicious payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux-based systems (tested on Ubuntu 24.04)
No auth needed
Prerequisites: Local access to the target system · Python 3 environment
devstral-2 · analyzed May 01, 2026 Full analysis →
github SUSPICIOUS
by toxy4ny · poc
https://github.com/toxy4ny/copy-fail-exploit-on-c-redteam

The repository contains only a vague README with buzzwords like 'Hardened AF_ALG/splice page-cache mutation primitive' but no actual exploit code, technical details, or proof-of-concept. It appears to be a placeholder or lure.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by MarioHY · pythonpoc
https://github.com/MarioHY/cve_2026_31431_audit

This repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via page cache hijacking to inject data into /etc/passwd for privilege escalation. The exploit includes detection, exploitation, and cleanup phases, with a menu-driven interface.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: Linux Kernel 5.10+
No auth needed
Prerequisites: Linux kernel 5.10+ · AF_ALG socket support · Python 3.x
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by AliHzSec · pythonpoc
https://github.com/AliHzSec/CVE-2026-31431

The repository contains a functional Python-based exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit manipulates socket options and file descriptors to achieve privilege escalation via the 'su' binary.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Python 3 environment
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Fulucky0-yuri · cpoc
https://github.com/Fulucky0-yuri/CVE-2026-31431-PocC

This repository contains a functional C-based PoC for CVE-2026-31431, exploiting a Linux kernel AF_ALG subsystem page cache poisoning vulnerability to achieve local privilege escalation (LPE) by corrupting SUID file contents. The code includes a shellcode payload to spawn a shell and demonstrates the exploit chain via AF_ALG socket manipulation and splice system calls.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel 5.15 ~ 6.1.x (with CONFIG_CRYPTO_USER_API_AEAD)
Auth required
Prerequisites: Kernel compiled with CONFIG_CRYPTO_USER_API_AEAD or AEAD modules loaded · Local low-privilege account with code execution capability · Filesystem supporting splice system calls · Presence of SUID binaries (e.g., /bin/su, /usr/bin/sudo)
devstral-2 · analyzed May 01, 2026 Full analysis →
github STUB
by abhishekhargan · poc
https://github.com/abhishekhargan/CVE-2026-31431

The repository contains only a minimal README with a title and brief description of CVE-2026-31431, a Linux Kernel Local Privilege Escalation vulnerability, but no exploit code, technical details, or additional content.

Classification
Stub 90%
Attack Type
Lpe
Complexity
Theoretical
Reliability
Theoretical
Target: Linux Kernel (version unspecified)
No auth needed
Prerequisites: none specified
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by OmerAti · shellpoc
https://github.com/OmerAti/almalinux-fix-cve-2026-31431

This repository contains a functional script that automates the mitigation of CVE-2026-31431 by updating the kernel on AlmaLinux/CloudLinux systems and setting the patched version as default. The script handles package updates, repository management, and GRUB configuration.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AlmaLinux/CloudLinux/RHEL-based systems)
Auth required
Prerequisites: root access · dnf package manager · AlmaLinux/CloudLinux/RHEL-based system
devstral-2 · analyzed May 01, 2026 Full analysis →
github STUB
by HulnotHutu · poc
https://github.com/HulnotHutu/CVE-2026-31431

The repository contains only a README.md file with no actual exploit code or technical details. It appears to be a placeholder or incomplete submission.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP
by deckhouse · poc
https://github.com/deckhouse/d8-copy-fail-mitigation

This repository provides mitigation guidance and configuration files for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module. It includes detailed technical analysis, mitigation steps, and detection rules for Deckhouse Kubernetes Platform.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Access to a system with the vulnerable `algif_aead` module loaded · Ability to create AF_ALG sockets
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by cyber-joker · local
https://github.com/cyber-joker/copy-fail-python

This repository contains a functional Python port of the CVE-2026-31431 exploit, which corrupts the page cache of the setuid `su` binary to achieve local privilege escalation (LPE). The exploit uses `os.splice` to overwrite the page cache with shellcode, then executes the corrupted `su` binary to gain root privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux systems with vulnerable kernel (CVE-2026-31431)
No auth needed
Prerequisites: Linux system with Python 3.10+ · Vulnerable kernel version · Access to the `su` binary
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP
by aestechno · poc
https://github.com/aestechno/cve-2026-31431-ansible

This repository provides an Ansible playbook to detect and mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` AF_ALG interface. The mitigation involves appending `initcall_blacklist=algif_aead_init` to the kernel command line to prevent exploitation.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (affecting distributions since 2017)
No auth needed
Prerequisites: Local access to a vulnerable system · Ability to modify kernel command line (root access required for mitigation)
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by johanburati · poc
https://github.com/johanburati/CVE-2026-31431

This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel AF_ALG AEAD use-after-free vulnerability. The code demonstrates the vulnerability by interacting with the AF_ALG interface and triggering the bug through crafted control messages.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG AEAD interface)
No auth needed
Prerequisites: AF_ALG interface enabled · AEAD cipher support
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by 3jee · local
https://github.com/3jee/copy-fail-go

This repository contains a Go-based exploit for CVE-2026-31431 (Copy.Fail), a Linux kernel vulnerability in the `algif_aead` crypto module. The exploit allows unprivileged users to gain root access by manipulating the page cache of SUID binaries without modifying the underlying files.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions affected since 2017)
No auth needed
Prerequisites: Linux kernel in affected version range · SUID world-readable binary present on the target
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by Spoo1k · poc
https://github.com/Spoo1k/Copy-Fail-Exploit-CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit leverages the AF_ALG socket interface to manipulate kernel memory and execute arbitrary code with elevated privileges.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Kernel with vulnerable AF_ALG implementation
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WORKING POC
by LeonardoNovais7 · local
https://github.com/LeonardoNovais7/Copy-Fail-Exploit-CVE-2026-31431

The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) via a flaw in the Linux AF_ALG socket interface. Both C and Python versions are provided, leveraging improper handling of cryptographic operations to escalate privileges to root.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (AF_ALG socket interface)
Auth required
Prerequisites: Local access to the target system · Ability to execute code as a non-root user
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP
by bryanvine · poc
https://github.com/bryanvine/copy-fail-fix

This repository provides per-distro mitigation scripts for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. It includes detailed technical analysis, patch status tracking, and scripts to blacklist the vulnerable module or install patched kernels.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Local access to the target system · Vulnerable kernel version
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP
by boliu83 · poc
https://github.com/boliu83/cve-2026-31431-algif-aead-remediator

This repository provides a Kubernetes DaemonSet to mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes detailed documentation, YAML manifests for deployment, and a script to blacklist the vulnerable module and label nodes based on their mitigation status.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Kubernetes cluster with cluster-admin permissions · kubectl configured against the target cluster
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by sngrotesque · pythonpoc
https://github.com/sngrotesque/CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, utilizing obfuscated Python code with ChaCha20 decryption to execute a payload. The exploit establishes a socket connection, sends crafted messages, and likely achieves remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: Unknown (obfuscated payload)
No auth needed
Prerequisites: Network access to target · Python environment with Crypto library
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by offsecguy · clocal
https://github.com/offsecguy/CVE-2026-31431

This repository contains a functional C exploit for CVE-2026-31431, leveraging the Linux kernel crypto API (AF_ALG) with AEAD mode, MSG_MORE flag, and splice system call to achieve privilege escalation by processing data from a read-only file descriptor.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux kernel with AF_ALG support · zlib for decompression
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by poyea · clocal
https://github.com/poyea/CVE-2026-31431.c

This repository contains a functional exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit uses crafted control messages and splice operations to achieve arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG socket support · zlib for shellcode decompression
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by maniakh · pythonlocal
https://github.com/maniakh/CVE-2026-31431---Copy-Fail-PoC

The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability involving page cache manipulation to achieve local privilege escalation (LPE). The exploit uses socket manipulation and file operations to overwrite the `/usr/bin/su` binary with a malicious payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux Kernel (version not specified)
No auth needed
Prerequisites: Local access to the vulnerable system · Python 3 environment
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec SCANNER
by effiesec · poc
https://github.com/effiesec/copy-fail-cve-2026-31431

This repository contains a Go-based scanner for CVE-2026-31431, designed to detect vulnerable systems by checking kernel versions, distribution details, changelogs, and module states. It does not include exploit code but provides a comprehensive detection mechanism.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not explicitly stated)
No auth needed
Prerequisites: Access to the target system's kernel and distribution details
devstral-2 · analyzed May 03, 2026 Full analysis →
nomisec WRITEUP
by mym0us3r · poc
https://github.com/mym0us3r/COPY-FAIL-Detection-with-Wazuh-4.14.4

This repository provides a detailed technical analysis and detection rules for CVE-2026-31431, a Linux kernel vulnerability in the 'authencesn' cryptographic template. It includes Wazuh rules and auditd configurations to detect the exploit chain, which involves a 4-byte write into the page cache of readable files.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions since commit 72548b093ee3)
No auth needed
Prerequisites: Local access to the system · Unprivileged user account
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by meowteusz · poc
https://github.com/meowteusz/copyfailautopatch

This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG socket family that allows a page-cache write primitive. The script detects the vulnerability and optionally applies a mitigation by blacklisting the algif_aead module.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux host · Python 3.10+ · AF_ALG socket family support
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by DENNISDGR · pythonpoc
https://github.com/DENNISDGR/CVE-2026-31431-poc

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG/crypto API. The PoC patches /usr/bin/su in memory to execute arbitrary commands as root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions with AF_ALG/crypto API vulnerability)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG and algif_aead support · Readable SUID binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by mishl-dev · cpoc
https://github.com/mishl-dev/CVE_2026_31431

The repository contains a functional exploit for CVE-2026-31431, a 4-byte page-cache write primitive in the Linux kernel's `authencesn` AEAD template. The exploit leverages `AF_ALG` and `splice()` to achieve local privilege escalation or container escape by overwriting specific bytes in the page cache of readable files.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Unprivileged local user access · Readable target file (e.g., /etc/passwd)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by B1gN0Se · clocal
https://github.com/B1gN0Se/copy-fail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit manipulates control messages and splicing operations to patch the `/usr/bin/su` binary, achieving local privilege escalation (LPE).

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG socket implementation)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Ability to compile and execute the exploit
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER
by liamromanis101 · pythonpoc
https://github.com/liamromanis101/CVE-2026-31431-Copy-Fail---Vulnerability-Detection-Script

This repository contains a Python-based vulnerability detection script for CVE-2026-31431, a local privilege escalation flaw in the Linux kernel's AF_ALG crypto subsystem. The script checks for exploitable conditions but does not include exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 4.10–6.14)
No auth needed
Prerequisites: Unprivileged local access · Vulnerable kernel version · Loadable algif_aead module
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Juguitos · pythonlocal
https://github.com/Juguitos/copy-fail

This repository contains a functional Python PoC for CVE-2026-31431, which exploits a vulnerability in the Linux kernel's `AF_ALG` interface to manipulate the page cache of SUID binaries and achieve local privilege escalation. The script includes payloads for multiple architectures and performs runtime checks for compatibility.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions supporting AF_ALG and algif_aead)
No auth needed
Prerequisites: Linux system with AF_ALG and algif_aead support · Python 3.10 or newer · Local access to the target system · Readable SUID binary (default: /usr/bin/su)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by yuspring · pythonlocal
https://github.com/yuspring/cve-2026-31431-poc

This repository contains a functional exploit for CVE-2026-31431, which leverages a flaw in the Linux kernel's authencesn length validation to write dirty pages back to unauthorized locations, achieving privilege escalation by modifying /etc/passwd to remove the root password.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (likely versions prior to 6.12.85)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute the Python script
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP
by devstuff · poc
https://github.com/devstuff/harden-docker-seccomp

This repository provides a mitigation tool and technical analysis for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` cryptographic template. It includes a script to block `AF_ALG` socket creation via seccomp for Docker containers and Kubernetes pods, along with detailed technical background and mitigation steps.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions with `authencesn` cryptographic template, pre-fix)
No auth needed
Prerequisites: Unpatched Linux kernel with `authencesn` vulnerability · Docker Engine or Kubernetes environment
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by websecnl · pythonlocal
https://github.com/websecnl/CVE-2026-31431

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability in the algif_aead module that allows local privilege escalation via a controlled 4-byte write into the page cache of any readable file. The exploit leverages the authencesn AEAD template to perform the write, targeting /etc/passwd to escalate privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (algif_aead module)
No auth needed
Prerequisites: Local access to the vulnerable system · Readable target file (e.g., /etc/passwd) · AF_ALG socket access
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SUSPICIOUS
by rshosting · shellpoc
https://github.com/rshosting/CVE-2026-31431-patch

The repository claims to provide a mitigation for CVE-2026-31431 but lacks actual exploit code. It directs users to download and run an external Python script from a different GitHub repository, which is a common tactic for distributing malware or fake exploits.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (AEAD vulnerability)
Auth required
Prerequisites: Access to the target system · Root privileges to modify kernel parameters
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by ShorterKing · poc
https://github.com/ShorterKing/Copyfail-rust

This repository contains a Rust-based PoC exploit for CVE-2026-31431, leveraging the AF_ALG socket family and splice() system calls to overwrite read-only files in the page cache, specifically targeting the 'su' binary for privilege escalation. The exploit includes multi-architecture support and demonstrates a clear understanding of the vulnerability mechanics.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Rust toolchain · Vulnerable Linux kernel
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by SeanRickerd · pythonpoc
https://github.com/SeanRickerd/cve-2026-31431

This repository contains a functional privilege escalation exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the authencesn AEAD implementation. The exploit manipulates the page cache to modify setuid binaries, granting root access, and includes detailed technical documentation and attack chain analysis for OpenShift environments.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel with authencesn support (2017-2026)
No auth needed
Prerequisites: Linux kernel with vulnerable authencesn implementation · Python 3.9+ · Unprivileged user access · Readable setuid binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by sec17br · shellpoc
https://github.com/sec17br/CVE-2026-31431-Copy-Fail

The repository contains a Bash script to detect and mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It checks for module presence, load status, and system patch state, and can apply a mitigation by blocking the module.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (Ubuntu, specifically)
No auth needed
Prerequisites: Local access to the target system · Bash environment
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by weirdindiankid · local
https://github.com/weirdindiankid/copy-fail

The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary, elevating privileges to root.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (unspecified version)
No auth needed
Prerequisites: Local user access · Python environment
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by MohamedKarrab · pythonlocal
https://github.com/MohamedKarrab/Copy-Fail-CVE-2026-31431

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability affecting AF_ALG AEAD implementation. The exploit corrupts the in-memory .text section of setuid-root binaries (e.g., /usr/bin/su) to achieve local privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel versions 4.14 and newer
No auth needed
Prerequisites: Unpatched Linux kernel (4.14+) · Access to AF_ALG sockets · Presence of setuid-root binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by mhdgning131 · poc
https://github.com/mhdgning131/CopyFail-Patcher

This repository provides functional bash scripts to mitigate CVE-2026-31431 by disabling the vulnerable 'algif_aead' kernel module via modprobe configuration and initramfs updates. It includes both patching and removal scripts with detailed logging and status checks.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root/sudo access · Linux system with 'algif_aead' module
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by abdullaabdullazade · shelllocal
https://github.com/abdullaabdullazade/CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a logic vulnerability in the Linux kernel's `authencesn` cryptographic template. The exploit leverages AF_ALG sockets and `splice()` to perform a controlled 4-byte write into the page cache of setuid binaries, enabling local privilege escalation to root.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions not specified)
No auth needed
Prerequisites: Unprivileged local access · AF_ALG socket support · Target setuid binary (e.g., /usr/bin/su)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by w3llr00t3d · pythonlocal
https://github.com/w3llr00t3d/CVE-2026-31431-PoC

This repository contains a functional Python 3.9-compatible PoC for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG interface allowing controlled 4-byte writes to the page cache. The exploit uses a ctypes-based splice polyfill and targets /usr/bin/su for privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG interface)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3.9 environment
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github STUB
by vynazevedo · poc
https://github.com/vynazevedo/fail-CVE-2026-31431

The repository contains only an empty README.md file with no exploit code, technical details, or meaningful content. It appears to be a placeholder or stub repository.

Classification
Stub 100%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by galoryber · pythonpoc
https://github.com/galoryber/CVE-2026-31431-cleaned

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the splice() system call to corrupt kernel memory and overwrite setuid binaries.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (version not specified)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Ability to execute Python scripts
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by leelong2020 · shellpoc
https://github.com/leelong2020/cve-2026-31431

This repository contains a detection script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The script checks for vulnerable configurations, loaded modules, and mitigation status but does not include exploit code.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific versions not specified)
No auth needed
Prerequisites: CONFIG_CRYPTO_USER_API_AEAD enabled · algif_aead module loaded or loadable
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by scriptzteam · shellpoc
https://github.com/scriptzteam/Paranoid-Copy-Fail-CVE-2026-31431

This repository provides a hardening script to mitigate CVE-2026-31431 by blocking AF_ALG kernel crypto interfaces. It includes a technical explanation of the mitigation approach and a functional script to disable vulnerable modules.

Classification
Writeup 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (AF_ALG crypto interfaces)
Auth required
Prerequisites: root access to modify kernel module configuration
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec SCANNER
by professional-slacker · poc
https://github.com/professional-slacker/alg_check

This repository provides a diagnostic toolkit for detecting and mitigating CVE-2026-31431, a local privilege escalation vulnerability in the Linux Kernel Crypto API (AF_ALG). It includes scripts to audit system security posture, disable AF_ALG modules, and restore them, but does not contain functional exploit code.

Classification
Scanner 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (AF_ALG)
No auth needed
Prerequisites: Access to a vulnerable Linux system with AF_ALG enabled
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by grishinpv · pythonpoc
https://github.com/grishinpv/CVE-2026-31431-old-python

This repository contains a functional exploit for CVE-2026-31431, leveraging a Python ctypes wrapper for `os.splice` to achieve remote code execution (RCE) on systems running Python versions below 3.10. The exploit uses socket manipulation and file descriptor splicing to execute arbitrary commands, specifically targeting `/usr/bin/su`.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Python < 3.10
No auth needed
Prerequisites: Python < 3.10 · Access to `libc.so.6` · Network connectivity for socket operations
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by eximiait · local
https://github.com/eximiait/CVE-2026-31431

This repository contains a functional exploit PoC for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG interface (algif_aead). It includes Ansible playbooks and scripts to check for vulnerability, apply mitigation, and revert changes.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (AF_ALG interface, algif_aead module)
Auth required
Prerequisites: Access to a vulnerable Linux system with the algif_aead module loaded · Python3 and Ansible installed
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by Boos4721 · local
https://github.com/Boos4721/copyfail-rs

This repository contains a functional Rust implementation of CVE-2026-31431, a Linux kernel vulnerability allowing unprivileged users to write arbitrary data into the page cache of readable files via AF_ALG splice. The exploit includes multiple privilege escalation modes, such as modifying /etc/passwd or overwriting the su binary with shellcode.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel < 6.12.23, < 6.13.11, < 6.14.2
No auth needed
Prerequisites: Unprivileged user access · Readable target file in page cache · AF_ALG splice support in kernel
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by attaattaatta · poc
https://github.com/attaattaatta/CVE-2026-31431

This repository contains a Go-based hotfix for CVE-2026-31431, which mitigates a vulnerability by unloading the 'algif_aead' kernel module and preventing its reloading. The code checks for vulnerability status and applies the fix if root privileges are available.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root privileges · presence of 'algif_aead' kernel module
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by dicatalin · pythonpoc
https://github.com/dicatalin/Copy_Fail_CVE-2026-31431_test_and_fix

The repository contains a Python script that checks for the presence of a vulnerable kernel module (algif_aead) by attempting to create a socket of type AF_ALG. It does not exploit the vulnerability but detects whether the system is vulnerable to CVE-2026-31431.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Linux Kernel (specific versions not specified)
No auth needed
Prerequisites: Access to a system with the algif_aead kernel module loaded
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by mfloresdacunha · pythonlocal
https://github.com/mfloresdacunha/CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` subsystem. The exploit manipulates the kernel page cache to overwrite arbitrary bytes in world-readable files, specifically targeting `/etc/passwd` to escalate privileges to root.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 6.12–6.18 (unpatched)
No auth needed
Prerequisites: AF_ALG socket support · authencesn(hmac(sha256),cbc(aes)) cipher · Python 3.6+ · 4-digit UID (1000–9999) · password set on the user account
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by Linux-zs · cpoc
https://github.com/Linux-zs/cve-2026-31431-mitigation

This repository provides a detailed technical analysis and mitigation strategy for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` / `authencesn` crypto subsystem. It includes a PAM module and standalone binary to apply seccomp filters, blocking the vulnerable `socket(AF_ALG, ...)` syscall.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (6.12+, 6.17+, 6.18+, RHEL/CentOS 4.18)
Auth required
Prerequisites: Linux kernel with seccomp support · gcc · libpam · root/sudo access · x86_64 architecture
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by jmac774 · poc
https://github.com/jmac774/CVE-2026-31431-mitigation-rhel

This repository provides a mitigation technique for CVE-2026-31431 on RHEL systems by disabling the AEAD subsystem via kernel boot parameters. It explains how to modify GRUB configurations to prevent the exploit from functioning by making the AEAD socket unavailable.

Classification
Writeup 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Red Hat Enterprise Linux (RHEL) kernel
Auth required
Prerequisites: Administrative access to modify GRUB configurations · Reboot required to apply changes
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by TikoTikTok · shellpoc
https://github.com/TikoTikTok/copy-fail-cve-2026-31431

This repository provides passive detection scripts and technical documentation for CVE-2026-31431, a Linux LPE and container-escape vulnerability. It includes tools to check for vulnerable kernel versions, module states, and configurations without executing exploit code.

Classification
Scanner 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (4.11 to patched versions)
No auth needed
Prerequisites: Access to target system for passive checks
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by gmeghnag · dockerfilepoc
https://github.com/gmeghnag/TEST-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, demonstrating a privilege escalation vulnerability in a containerized environment. The exploit leverages a Python script fetched from an external URL to escalate from a non-root user (UID 1001) to root.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely a containerized application or Red Hat UBI-based system)
No auth needed
Prerequisites: Access to a vulnerable containerized environment · Network access to fetch the exploit script from 'https://copy.fail/exp'
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by slauger · poc
https://github.com/slauger/CVE-2026-31431

This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` subsystem. It includes impact analysis, mitigation strategies, and test scripts to verify exploit prerequisites.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (all mainstream versions since 2017)
No auth needed
Prerequisites: AF_ALG socket access · presence of setuid binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by Webhosting4U · shellpoc
https://github.com/Webhosting4U/Copy-Fail_Detect_and_mitigate_CVE-2026-31431

This repository provides a Bash script to detect and mitigate exposure to CVE-2026-31431 (Copy Fail) by checking kernel patch status, module availability, and applying a host-level mitigation via modprobe configuration. It does not contain exploit code but helps identify vulnerable systems.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
Auth required
Prerequisites: root privileges · Linux host · common system tools (uname, modinfo, lsmod, ss, grep)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by rio128128 · pythonpoc
https://github.com/rio128128/copy-fail-CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `authencesn` cryptographic template that allows an unprivileged local user to perform a controlled 4-byte write into the page cache of any readable file, leading to local privilege escalation (LPE). The exploit is a 732-byte Python script that leverages `AF_ALG` sockets and `splice()` to corrupt the page cache of setuid binaries, achieving root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 6.12.0 to 6.18.8, among others)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3.10+ for `os.splice` support
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by amdisrar · poc
https://github.com/amdisrar/cve-2026-31431-mitigation

This repository provides a mitigation script and technical details for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG crypto interface. It includes scripts to unload vulnerable kernel modules and block exploit paths, along with verification and revert steps.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG crypto interface)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Kernel modules af_alg and algif_aead loaded
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by 0xBlackash · shellpoc
https://github.com/0xBlackash/CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The exploit leverages a controlled 4-byte write into the page cache of setuid binaries to achieve root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (versions from 2017 to early 2026)
No auth needed
Prerequisites: Unpatched Linux kernel · Unprivileged local user access
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by G01d3nW01f · rustlocal
https://github.com/G01d3nW01f/CVE-2026-31431

This repository contains a functional Rust-based PoC for CVE-2026-31431, a local privilege escalation (LPE) vulnerability. It exploits the Linux kernel's Crypto API and `splice` system call to manipulate the page cache, overwriting the UID field in `/etc/passwd` to escalate privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions vulnerable to Crypto API behavior)
No auth needed
Prerequisites: Linux system vulnerable to the Crypto API behavior · Rust toolchain · libc and nix dependencies
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by H1d3r · local
https://github.com/H1d3r/copy-fail_LPE_Interactive

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, a Linux kernel page cache pollution vulnerability in the `authencesn` AEAD algorithm. The exploit leverages `AF_ALG` and `splice()` system calls to write 4 bytes to arbitrary readable file page caches, enabling privilege escalation via setuid binaries like `/usr/bin/su`.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14+ (up to 2026-04)
No auth needed
Prerequisites: Linux kernel 4.14+ · access to a setuid binary (e.g., /usr/bin/su) · ability to compile and execute binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec SCANNER
by Phalanx-CCS · local
https://github.com/Phalanx-CCS/Copy-Fail

This repository contains a Python script that checks for the presence of the vulnerable `algif_aead` module in the Linux kernel, which is associated with CVE-2026-31431. The script does not exploit the vulnerability but passively detects whether the attack surface is reachable.

Classification
Scanner 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (4.14 and later)
No auth needed
Prerequisites: Linux system with Python 3 · Unpatched kernel (4.14 or later)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by dorianhhuc · poc
https://github.com/dorianhhuc/CVE-2026-31431

This repository contains an Ansible playbook that mitigates CVE-2026-31431 by disabling and unloading the vulnerable `algif_aead` kernel module. The playbook automates the remediation process for affected systems.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: Access to the target system with root/sudo privileges · Ansible installed on the control node
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec SUSPICIOUS
by jbiniek · poc
https://github.com/jbiniek/copy.fail-mitigation-MLM

The repository contains a vague README with no technical details about CVE-2026-31431, instead describing a generic mitigation step without exploit code or vulnerability analysis.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Multi-Linux Manager
Auth required
Prerequisites: access to Multi-Linux Manager configuration
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by adampielak · shellpoc
https://github.com/adampielak/CVE-2026-31431_SCA_WAZUH

This repository provides a Wazuh SCA policy and mitigation script for CVE-2026-31431, focusing on detecting exposure and verifying mitigation controls for the 'Copy Fail' vulnerability. It includes checks for kernel module states, mitigation file presence, and container hardening signals.

Classification
Writeup 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: Access to Wazuh agent configuration · Ability to modify kernel module settings
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by jiangban046-spec · pythonpoc
https://github.com/jiangban046-spec/CVE-2026-31431-exploit_py2_py3

This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG-based page cache write primitive to achieve local privilege escalation by modifying /etc/passwd to remove the root password. The exploit is compatible with both Python 2 and 3.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Readable /etc/passwd file · Kernel with vulnerable AF_ALG implementation
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER
by makitos666 · powershellpoc
https://github.com/makitos666/CVE-2026-31431-Copy-Fail-Detection-Toolkit

The repository contains a PowerShell script designed to detect indicators of CVE-2026-31431 (Copy Fail) in WSL and Docker environments by checking for vulnerable kernel modules, AF_ALG sockets, and suspicious processes. It does not include exploit code but focuses on scanning for potential vulnerabilities.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (WSL/Docker environments)
No auth needed
Prerequisites: WSL or Docker installed on the target system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by dixyes · cpoc
https://github.com/dixyes/fuck_cve_2026_31431

This repository contains a Linux Kernel Module (LKM) that exploits CVE-2026-31431 by unregistering the vulnerable `algif_aead` implementation and optionally registering a fake implementation to prevent reloading. The exploit targets a flaw in the AF_ALG socket interface, likely leading to a denial-of-service or privilege escalation.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
Auth required
Prerequisites: Linux kernel with vulnerable AF_ALG implementation · ability to load kernel modules (root access)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by Aurillium · local
https://github.com/Aurillium/RootRemover

This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability. The exploit modifies the root password field in /etc/passwd via a 4-byte page-cache write, allowing passwordless root access via `su`.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (Debian derivatives)
Auth required
Prerequisites: Local user access · Readable /etc/passwd · Root password not hashed in /etc/passwd
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by eleveni386 · golocal
https://github.com/eleveni386/CVE-2026-31431-Golang

This repository contains a functional Go-based exploit for CVE-2026-31431, targeting a Linux AF_ALG local privilege escalation vulnerability. The exploit leverages socket operations and splice to manipulate kernel memory, ultimately attempting to escalate privileges by executing '/usr/bin/su'.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux Kernel (AF_ALG subsystem)
No auth needed
Prerequisites: Linux system with vulnerable kernel · ability to execute binaries
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by nisec-eric · pythonlocal
https://github.com/nisec-eric/cve-2026-31431

This repository contains a fully functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability. The exploit leverages a logic bug in the `authencesn` cryptographic template, chained with `AF_ALG` and `splice()`, to achieve a 4-byte page-cache write, enabling reliable privilege escalation.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (versions 2017-2026, patched in v6.18.22+, v6.19.12+, v7.0+)
Auth required
Prerequisites: Local access to a vulnerable Linux system · User-level permissions
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by pascal-gujer · pythonlocal
https://github.com/pascal-gujer/CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the `authencesn` logic via `AF_ALG` and `splice()`. It includes both the original PoC and an ARM64 variant, both of which attempt to overwrite `/usr/bin/su` to gain a root shell.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
No auth needed
Prerequisites: Unpatched Linux kernel vulnerable to CVE-2026-31431 · Local user access · Presence of `/usr/bin/su`
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by mrowkoob · poc
https://github.com/mrowkoob/copy-fail-mitigate-no-reboot

This repository provides a functional mitigation script for CVE-2026-31431 (Copy Fail vulnerability) by disabling the vulnerable `algif_aead` kernel module and attempting to evict the first page of `/usr/bin/su` from the page cache. The script includes clear instructions for application, verification, and reversion.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root/sudo access · vulnerable kernel with `algif_aead` module loaded
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by WavesMan · pythonpoc
https://github.com/WavesMan/cve-2026-31431-fleet-remediator

This repository contains a functional exploit PoC for CVE-2026-31431, targeting a Linux kernel vulnerability. The tool automates batch SSH login, vulnerability detection, and remediation (disabling `algif_aead` and kernel upgrades) across multiple hosts.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
Auth required
Prerequisites: SSH access to target hosts · Python >= 3.13 · uv package manager
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by wuzuowei · pythonlocal
https://github.com/wuzuowei/copy-fail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the authencesn AEAD optimization that allows local privilege escalation to root via AF_ALG socket manipulation and splice() system calls. The exploit targets the page cache of setuid binaries like /usr/bin/su to achieve arbitrary write primitives.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (2017 - pre-patch versions)
No auth needed
Prerequisites: Local user access · Presence of setuid binary (e.g., /usr/bin/su) · AF_ALG socket support in kernel
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by Isw-9 · pythonlocal
https://github.com/Isw-9/copy-fail-cve-2026-31431-aarch64

The repository contains a functional exploit for CVE-2026-31431 targeting aarch64 and x86_64 architectures. The exploit leverages a socket-based attack to achieve local privilege escalation by overwriting the `/usr/bin/su` binary with a decompressed payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified, verified on Ubuntu 25.10 aarch64)
No auth needed
Prerequisites: aarch64 or x86_64 architecture · local access to the target system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by freelabz · pythonlocal
https://github.com/freelabz/CVE-2026-31431

The PoC exploits a local privilege escalation vulnerability by manipulating socket options and sending crafted messages to achieve root access. It uses a combination of socket operations and file descriptor manipulation to overwrite the `/usr/bin/su` binary with a malicious payload.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target machine
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by ryan2929 · local
https://github.com/ryan2929/CVE-2026-31431

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging the Linux AF_ALG socket interface and splice system calls to manipulate file descriptors and execute privileged commands. The exploit targets specific Linux kernel and Python versions, demonstrating a root shell via the 'su' binary.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions listed in README)
No auth needed
Prerequisites: Linux kernel versions listed in README · Python 3.8.10 or 3.10.6 · Access to /usr/bin/su
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by guard-wait · local
https://github.com/guard-wait/CVE-2026-31431_EXP

This repository contains a C-based exploit for CVE-2026-31431, which leverages a vulnerability in the Linux kernel's AF_ALG socket implementation to overwrite read-only page cache entries, similar to DirtyPipe. The exploit targets `/usr/bin/su` to achieve local privilege escalation (LPE) by injecting a malicious ELF payload.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access · Presence of a root-owned SUID binary (e.g., `/usr/bin/su`)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec SCANNER
by arkdev1 · poc
https://github.com/arkdev1/check-cve-2026-31431

This repository contains a bash script to check for the presence of CVE-2026-31431 by verifying kernel versions, package updates, and AF_ALG socket accessibility. It also includes a mitigation script to disable AF_ALG modules if needed.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG interface)
Auth required
Prerequisites: root access · Linux system with AF_ALG support
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by thrandomv · poc
https://github.com/thrandomv/cve-2026-31431-detection

This repository provides defensive detection content for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` crypto interface. It includes Sigma rules, auditd configurations, a Falco rule for containers, and a triage playbook for SOC analysts and detection engineers.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (algif_aead crypto interface)
No auth needed
Prerequisites: Unpatched Linux kernel · Access to AF_ALG socket interface
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by someCorp · shellpoc
https://github.com/someCorp/copyFail-CVE-2026-31431-workaround-bash

The repository contains a functional exploit for CVE-2026-31431, which involves disabling the 'algif_aead' kernel module via modprobe configuration to prevent exploitation. The script checks for required commands, ensures root privileges, and applies a workaround to mitigate the vulnerability.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (specific version not specified)
Auth required
Prerequisites: root access · presence of 'algif_aead' kernel module
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by Y5neKO · clocal
https://github.com/Y5neKO/copy-fail-CVE-2026-31431-universal

This repository contains functional exploit code for CVE-2026-31431, a use-after-free (UAF) vulnerability in the AF_ALG AEAD splice implementation in the Linux kernel. The exploit replaces the page cache of /usr/bin/su with a malicious ELF payload to achieve privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (AF_ALG subsystem)
No auth needed
Prerequisites: Linux system with vulnerable kernel · ability to execute code on the target system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by adysec · rustlocal
https://github.com/adysec/cve-2026-31431

This repository contains a functional Rust exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG socket interface combined with splice() to achieve local privilege escalation. The exploit targets /usr/bin/su and demonstrates a 732-byte payload to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (AF_ALG + splice() page cache write)
No auth needed
Prerequisites: Linux system with vulnerable kernel · ability to execute binaries · access to /usr/bin/su
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WRITEUP
by insomnisec · poc
https://github.com/insomnisec/Detections-CVE-2026-31431

This repository provides a detailed technical analysis and detection guidance for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` / `authencesn` cryptographic template. It includes YARA rules, auditd rules, and mitigation steps but does not contain functional exploit code.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel 4.14 – 6.18.21
No auth needed
Prerequisites: Unprivileged user access · Readable target file (e.g., /etc/passwd)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by vishwanathakuthota · pythonlocal
https://github.com/vishwanathakuthota/copy-fail-CVE-2026-31431

The repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability to achieve local privilege escalation (LPE). The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, granting root access.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Local access to the target system · Kernel vulnerability present in the target system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by JnamerZ · clocal
https://github.com/JnamerZ/CopyFail-CVE-2026-31431

This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation (LPE). The exploit manipulates the `splice` and `sendmsg` system calls to corrupt kernel memory and execute shellcode, ultimately spawning a root shell via `su`.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified, but likely recent kernels with AF_ALG support)
No auth needed
Prerequisites: Local access to the target system · Kernel with AF_ALG support · Ability to compile and execute the exploit binary
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by ruattd · poc
https://github.com/ruattd/cve-2026-31431

This repository contains a GitHub Actions workflow that tests for CVE-2026-31431 by executing a remote payload to achieve root privilege escalation. The workflow confirms successful exploitation by checking for root UID in the output.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: GitHub Actions runner (ubuntu-latest)
No auth needed
Prerequisites: GitHub Actions workflow execution environment
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by luotian2 · cpoc
https://github.com/luotian2/CVE-2026-31431

The repository contains functional exploit code (exp.c and exp.py) for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the authencesn cryptographic template. The exploit leverages a logic bug to perform controlled 4-byte writes into the page cache of any readable file, enabling local privilege escalation.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel with CONFIG_CRYPTO_AUTHENC (since 2017)
No auth needed
Prerequisites: Local access to a vulnerable Linux system · Python 3.10+ or a C compiler
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by gubaiovo · clocal
https://github.com/gubaiovo/CVE-2026-31431

This repository contains a functional proof-of-concept exploit for CVE-2026-31431, leveraging the Linux kernel's AF_ALG socket interface to manipulate page cache and achieve local privilege escalation. The exploit uses crafted cryptographic operations to overwrite a target SUID binary (default: /usr/bin/su) with a malicious ELF payload, resulting in arbitrary code execution with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system with AF_ALG socket support · Presence of a SUID binary (e.g., /usr/bin/su)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by b5null · clocal
https://github.com/b5null/CVE-2026-31431-C

This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG crypto subsystem. The exploit uses splice operations and AF_ALG sockets to corrupt kernel memory and patch the /usr/bin/su binary in memory, allowing root access without credentials.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (AF_ALG crypto subsystem)
No auth needed
Prerequisites: Vulnerable Linux kernel version · CONFIG_CRYPTO_USER_API_AEAD enabled · User namespaces permitted · Local shell access
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by Crihexe · local
https://github.com/Crihexe/copy-fail-tiny-elf-CVE-2026-31431

This repository contains a minimal 801-byte Linux x86_64 no-libc ELF proof-of-concept for CVE-2026-31431, leveraging a Copy Fail vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit uses crafted AEAD operations to trigger the vulnerability and execute arbitrary code.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Linux x86_64 system · gcc · ld · llvm-strip
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by ZephrFish · local
https://github.com/ZephrFish/CopyFail-CVE-2026-31431

This repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG and splice to overwrite the page cache of setuid-root binaries, achieving local privilege escalation (LPE) on Linux systems. The exploit is well-documented, supports multiple architectures, and includes diagnostic and scanning capabilities.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (AF_ALG + splice)
No auth needed
Prerequisites: Linux kernel with AF_ALG and authencesn support · Python 3.6+ · setuid-root binary present on the system
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by painoob · pythonlocal
https://github.com/painoob/Copy-Fail-Exploit-CVE-2026-31431

This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the kernel crypto API via AF_ALG. The exploit manipulates page cache data of SUID binaries to gain root access.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (specific versions not specified)
No auth needed
Prerequisites: AF_ALG enabled · algif_aead module loaded · Python 3.10+ for Python exploit
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by jneuhauser · poc
https://github.com/jneuhauser/copy-fail-CVE-2026-31431

The repository contains a functional Python exploit for CVE-2026-31431, leveraging a socket-based attack to achieve local privilege escalation (LPE) by manipulating file descriptors and splicing data to overwrite the `/usr/bin/su` binary with a malicious payload.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (multiple distributions)
No auth needed
Prerequisites: Local access to the target system · Kernel version vulnerable to CVE-2026-31431
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Alfredooe · gopoc
https://github.com/Alfredooe/CVE-2026-31431

This Go-based exploit targets CVE-2026-31431 by leveraging AF_ALG socket manipulation and splice operations to achieve local privilege escalation. It crafts malicious control messages and uses a pipe to trigger the vulnerability in the Linux kernel's crypto subsystem.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version not specified)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute binaries
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SUSPICIOUS
by mhdgning131 · pythonpoc
https://github.com/mhdgning131/CVE-2026-31431_poc

The repository contains minimal content with no actual exploit code, only a vague README with a generic command sequence that does not provide technical details about the vulnerability. The commands listed are nonsensical and do not align with typical exploit execution.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Apr 30, 2026 Full analysis →
vulncheck_xdb WORKING POC
local
https://github.com/Rat5ak/CVE-2026-31431-Copy-Fail-POC---578B

This repository contains a functional exploit for CVE-2026-31431, a page cache corruption vulnerability in the Linux kernel's AF_ALG implementation. The exploit is a 587-byte static ELF binary that leverages AEAD operations to overwrite the entry point of a setuid binary (e.g., /bin/su) with shellcode, achieving local privilege escalation.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific versions affected by CVE-2026-31431)
Auth required
Prerequisites: Local user access · AF_ALG/AEAD support in kernel · Readable setuid binary (e.g., /bin/su)
devstral-2 · analyzed Jun 04, 2026 Full analysis →
vulncheck_xdb WORKING POC
local
https://github.com/Aurillium/public-passwd

This repository contains a functional exploit PoC that combines CVE-2026-46333 (file descriptor theft) and CVE-2026-31431 (CopyFail) to modify any user's password in /etc/shadow without requiring root privileges. The exploit leverages a stolen file descriptor from 'chage' and uses CopyFail to overwrite bytes in the shadow file.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux systems vulnerable to CVE-2026-46333 and CVE-2026-31431
Auth required
Prerequisites: User must have permission to execute 'chage' · System must be vulnerable to both CVE-2026-46333 and CVE-2026-31431
devstral-2 · analyzed May 19, 2026 Full analysis →
vulncheck_xdb WORKING POC
local
https://github.com/StarxSky/CVE-2026-13431

The repository contains a functional exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG socket interface. The exploit manipulates Bluetooth L2CAP sockets and uses splice operations to achieve privilege escalation by executing '/usr/bin/su'.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
No auth needed
Prerequisites: Linux system with vulnerable kernel · AF_ALG socket interface enabled · Bluetooth L2CAP socket support
devstral-2 · analyzed May 07, 2026 Full analysis →
vulncheck_xdb WORKING POC
local
https://github.com/GOVIND28/-copy-fail-CVE-2026-31431

The repository contains a functional Python-based exploit for CVE-2026-31431, a Linux kernel LPE vulnerability leveraging a logic flaw in the crypto API (AF_ALG) combined with splice() to overwrite memory pages of SUID binaries like /usr/bin/su, achieving root privileges without disk modifications.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions 4.14 to early 6.x)
No auth needed
Prerequisites: Unprivileged user access · Vulnerable Linux kernel (4.14 to early 6.x) · SUID binary (e.g., /usr/bin/su)
devstral-2 · analyzed May 05, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Xint Code, rootsecdev, Spencer McIntyre, Diego Ledda · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/cve_2026_31431_copy_fail.rb

This Metasploit module exploits CVE-2026-31431, a Linux kernel logic flaw in the authencesn AEAD template via AF_ALG socket and splice(), enabling unprivileged local users to perform a controlled 4-byte write into the page cache of any readable file, leading to local privilege escalation.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (affected versions between commit 72548b093ee3 and a664bf3d603d)
No auth needed
Prerequisites: Local access to the target system · Python binary available on the target
devstral-2 · analyzed May 01, 2026 Full analysis →

References (86)

Core 86
Core References
Various Sources
https://copy.fail
Third Party Advisory, US Government Resource
https://www.kb.cert.org/vuls/id/260001

Scores

CVSS v3 7.8
EPSS 0.7552
EPSS Percentile 99.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable no
Technical Impact total

Details

CISA KEV 2026-05-01
VulnCheck KEV 2026-05-01
ENISA EUVD EUVD-2026-24639
CWE
CWE-669
Status published
Products (44)
amazon/amazon_linux
arista/cloudvision_agni 2024.4.0 - 2025.2.2
arista/cloudvision_portal 2024.2.0 - 2026.1.0
arista/netvisor_os 7.1.0 (2 CPE variants)
arista/netvisor_os < 7.1.0
arista/velocloud_edge 4.5.0 - 6.4.1
arista/velocloud_gateway
canonical/ubuntu_linux
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
... and 34 more
Published Apr 22, 2026
KEV Added May 01, 2026
Tracked Since Apr 22, 2026