Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-31431 — Standalone C++/x86-64 assembly implementation of CVE-2026-31431 (Copyfail) for local privilege escalation. Compiles to a dependency-free binary that opens a root shell on vulnerable Linux systems. Includes an ASCII bootstrap script for transfer. | Kitploit
Tools/GitHubGitHub/gbonacini/cve-2026-31431
Privilege EscalationExploitationShellcodePenetration TestingLearning & EducationBinary Exploitation
GitHubgbonacini/cve-2026-31431

CVE-2026-31431

Standalone C++/x86-64 assembly implementation of CVE-2026-31431 (Copyfail) for local privilege escalation. Compiles to a dependency-free binary that opens a root shell on vulnerable Linux systems. Includes an ASCII bootstrap script for transfer.

Share
View Repository
1236 months agoNot yet reviewed

Description:

Cfail is my implementation in C++ x86-64 Assembly of CVE-2026-31431 (aka Copyfail), with no dependecy required at all, included libc. In fact, you obtain am universal executable able to run stand-alone on every Linux x86-64 distribution, thanks to a minimal implementation of the standard libs. That makes this program is 'copile once deploy everywhere' type, where for 'everywhere' is intended a random vulnerable Linux x86-64 distribution.

Running the program as unprivileged user on a vulnerable system, will open a root shell.

The makefile also create a "bootstrap" shell script called 'cfail.sh' able to create the binary executable, byte by byte, used the embedded data, so the program can be distributed as ASCII bash script too, in case it's required by the specific testing constrains.

DISCLAIMER:

This code has been posted for information and educational purposes. The intrusion in systems and services without the owner's authorisation is illegal. The misuse of the information and the software in this repo can result in criminal charges brought against the perpetrator of the crime. Any actions and or activities related to the material contained within this Git Repository is solely your responsibility. The author will not be held responsible in the event any criminal charges be brought against any individuals misusing the information or the software in this website to break the law.

Prerequisites:

  • A CVE-2026-31431 vulnerable system.

  • The program was successfully used with:

  • Ubuntu 22.04.2 LTS, x86-64
  • Ubuntu 24.04.4 LTS, x86-64
  • Red Hat Enterprise Linux 9.6 (Plow), x86-64
  • Red Hat Enterprise Linux 8.10 (Ootpa), x86-64

and compiled with:

  • gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0;

Installation:

  • Compile the program:
  make
  • Start the program:
  ./cfail

Compact Version (experimental):

  • makefile has an option permitting to create a more compact executable that, at the moment, I consider experimental:
  make compact
  • The size of the generated binary is only 8 KB;

Transfer the Executable from Bash Script:

  • Compiling the project you also obtain the 'cfail.sh' script, that can be used to transfer the executaable via ASCII encoded script:
  ./cfail.sh > cfail
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    536
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    355
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    294
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    276

Explore all tools

Browse our collection of tools

View all tools →