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-41940 — Proof-of-concept exploit for CVE-2026-41940, an authentication bypass chain in WHM/cPanel. Multi-threaded scanner that changes root password on vulnerable targets. For authorized testing only. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-41940
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubmurrez/cve-2026-41940

CVE-2026-41940

Proof-of-concept exploit for CVE-2026-41940, an authentication bypass chain in WHM/cPanel. Multi-threaded scanner that changes root password on vulnerable targets. For authorized testing only.

View Repository
101416 months agoNot yet reviewed
Share

CVE-2026-41940 — WHM/cPanel Authentication Bypass Research Tool

This repository contains a Proof-of-Concept (PoC) script based on the authentication bypass chain for cPanel/WHM (via the whostmgrsession cookie and HTTP headers). After a successful compromise, the script changes the root password and writes the result to a file.

Legal disclaimer

Use this software only on systems you have explicit permission to test (your own lab environment, contracted pentests, vendor-approved security testing). Unauthorized access is a crime in most countries. This README is intended solely for security research and defense awareness; the authors are not responsible for misuse.

Features

  • Multi-target scanning with a target list (similar to targets.txt)
  • Default WHM TLS port 2087; the scheme is normalized to https
  • Stages: pre-session (/login), /cpsess leak via CRLF injection, do_token_denied trigger, verification via /json-api/version
  • Targets with confirmed successful password changes are appended to res.txt
  • Optional Host header override (reverse proxy / virtual host scenarios)
  • Multi-threading (ThreadPoolExecutor)

Requirements

  • Python 2.7 (#!/usr/bin/env python2.7 — the script uses Python 2 syntax and urllib / urlparse)
  • Dependencies: requirements.txt
pip install -r requirements.txt

Note: On Python 2, the futures package is required for concurrent.futures (listed in the file). Porting the script to Python 3 requires adapting differences such as urllib, urlparse, print, unicode/str, and similar; this has not been done in this repository.

Usage

python CVE-2026-41940.py <target_list_file> [--hostname CANONICAL_HOST] [--threads N] [--timeout SECONDS]
ArgumentDescription
list_fileOne target per line (host or URL; https:// is prepended if http:// is absent)
--hostnameForces the canonical name to be used for Host: and related logic in all requests
--threadsNumber of concurrent threads (default: 15)
--timeoutConnection timeout in seconds (default: 15)

Output:

  • Stage-by-stage log on the console
  • Only targets whose password change is considered successful are written to res.txt in URL and session info format

Defense and hardening recommendations (summary)

  • Keep WHM/cPanel and related components up to date; monitor security bulletins.
  • Use source IP restrictions or VPN access for 2087 (and unnecessary management ports).
  • Consider a WAF and log correlation for abnormal Authorization / cookie combinations and unexpected redirects.

File structure

├── CVE-2026-41940.py   # Main script
├── requirements.txt    # pip dependencies
└── README.md

Ethical use

Changing passwords on production systems after compromise carries the risk of data loss and service disruption. Test in non-production, isolated lab environments and with written permission; share your findings through responsible disclosure (coordinated disclosure) processes.

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.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    538
  • 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.

    420
  • 4

    redforge

    cybersecurity91/redforge

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

    357
  • 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.

    297
  • 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.

    280

Explore all tools

Browse our collection of tools

View all tools →