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-cpanel_authbypass_reproduction — CVE Reproduction: cve-2026-41940-cpanel_authbypass_reproduction | Kitploit
Tools/GitHubGitHub/razureink/cve-2026-41940-cpanel_authbypass_reproduction
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubrazureink/cve-2026-41940-cpanel_authbypass_reproduction

cve-2026-41940-cpanel_authbypass_reproduction

Share

CVE Reproduction: cve-2026-41940-cpanel_authbypass_reproduction

View Repository
1404 months agoNot yet reviewed

CVE-2026-41940 — cPanel & WHM Authentication Bypass

CVSS v3.1: 9.8 (Critical)

Overview

CVE-2026-41940 is a critical authentication bypass vulnerability in cPanel & WHM that allows unauthenticated attackers to gain full administrative access to the control panel. The vulnerability was exploited in the wild within 24 hours of public disclosure, with ransomware being deployed against vulnerable hosts. It was discovered and publicly disclosed by watchTowr researchers.

Technical Details

The login flow in cPanel/WHM improperly validates session tokens during the authentication handshake. By crafting a specific sequence of HTTP requests to the login endpoints, an attacker can manipulate the server into accepting a forged or skipped authentication step, effectively bypassing credential verification.

The bypass exploits a race condition / logic flaw in the login.cgi and cpsess token generation flow. The server does not properly verify that the session was established through a legitimate login — it only checks for the presence of a correctly formatted session cookie, which can be predicted or forced.

Affected Versions

  • All cPanel & WHM versions after 11.40 up to the latest prior to the security patch
  • Confirmed on: 11.40–11.98, 12.0–12.6

Reproduction Steps

  1. Target a cPanel/WHM instance (port 2082 for cPanel, 2083 for WHM)
  2. Send an initial request to /login.cgi to obtain the cpsess token prefix
  3. Forge a session cookie using the leaked token seed
  4. Access admin endpoints directly with the forged session

Proof of Concept

python exploit.py --target 192.168.1.100 --port 2083 --ssl --cmd "id"

Mitigation

  • Immediately upgrade cPanel/WHM to the latest patched version
  • Restrict access to cPanel/WHM ports (2082, 2083, 2095, 2096) via firewall
  • Enable multi-factor authentication
  • Monitor for unauthorized cpsess token usage in access logs

References

  • watchTowr disclosure: https://labs.watchtowr.com/
  • CVE entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-41940
  • cPanel security announcements: https://news.cpanel.com/category/security/
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.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    556
  • 3

    redforge

    cybersecurity91/redforge

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

    352
  • 4

    ARTEX

    baarai/artex

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

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

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

    291

Explore all tools

Browse our collection of tools

View all tools →