CVE-2026-41940

CRITICAL KEV NUCLEI LAB

cPanel and WHM Authentication Bypass via Login Flow

Title source: cna
STIX 2.1

Exploitation Summary

CVE-2026-41940 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added April 30, 2026. EIP tracks 83 public exploits from researchers including nu11secur1ty, assetnote, bughunt4me, including a Metasploit module exploits/multi/http/cpanel_whm_auth_bypass_rce. A Nuclei detection template is also available.

AI-analyzed exploit summary The exploit demonstrates a CRLF injection vulnerability in cPanel/WHM's `cpsrvd` daemon, allowing unauthenticated remote attackers to inject malicious session parameters via the `Authorization` header and `whostmgrsession` cookie, bypassing authentication and gaining root privileges.

Description

cPanel and WHM versions after 11.40 contain an authentication bypass vulnerability in the login flow that allows unauthenticated remote attackers to gain unauthorized access to the control panel.

Exploits (83)

exploitdb WORKING POC
by nu11secur1ty · textwebappsphp
https://www.exploit-db.com/exploits/52574

The exploit demonstrates a CRLF injection vulnerability in cPanel/WHM's `cpsrvd` daemon, allowing unauthenticated remote attackers to inject malicious session parameters via the `Authorization` header and `whostmgrsession` cookie, bypassing authentication and gaining root privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (cpsrvd) 11.40
No auth needed
Prerequisites: network access to target · cPanel/WHM service exposed on port 2087
devstral-2 · analyzed May 27, 2026 Full analysis →
nomisec SCANNER 11 stars
by assetnote · poc
https://github.com/assetnote/cpanel2shell-scanner

This repository contains a high-fidelity scanner for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The scanner detects vulnerable hosts by injecting a session payload and verifying the response, avoiding false negatives and account lockouts.

Classification
Scanner 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: network access to target ports (2087, 2083, 443)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 8 stars
by bughunt4me · poc
https://github.com/bughunt4me/cpanelCVE-2026-41940

This repository contains a functional proof-of-concept exploit for CVE-2026-41940, a critical session-file CRLF injection vulnerability in cPanel & WHM that allows root authentication bypass on WHM port 2087. The exploit automates the process of obtaining a session cookie, injecting malicious data via CRLF, and verifying root access, optionally opening a browser to the WHM dashboard.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (version not specified)
No auth needed
Prerequisites: Python 3.8+ · Selenium (for auto-browser login) · Target URL with WHM port (default: 2087)
devstral-2 · analyzed May 07, 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-41940

This exploit demonstrates an authentication bypass vulnerability in cPanel/WHM (CVE-2026-41940) by leveraging CRLF injection in session cookies and Basic Auth headers to escalate privileges to root. It automates the attack chain to change the root password.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (likely versions prior to patch for CVE-2026-41940)
No auth needed
Prerequisites: Network access to WHM port (default 2087) · Valid target URL
devstral-2 · analyzed May 18, 2026 Full analysis →
github SCANNER 3 stars
by exploitintel · cpoc
https://github.com/exploitintel/eip-pocs-and-cves/tree/main/CVE-2026-41940

The repository contains a detection-only PoC for CVE-2026-41940, a CRLF injection vulnerability in cPanel & WHM leading to authentication bypass. The PoC verifies the vulnerability by walking through the bypass chain and reading the target's version but does not include the full exploit chain for RCE.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM prior to 11.110.0.97, 11.118.0.63, 11.126.0.54, 11.132.0.29, 11.134.0.20, 11.136.0.5; WP Squared prior to 11.136.1.7
No auth needed
Prerequisites: Network access to the target cPanel/WHM service · Target running a vulnerable version of cPanel/WHM
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec SCANNER 3 stars
by Andrei-Dr · remote
https://github.com/Andrei-Dr/cpanel-cve-2026-41940-ioc

This repository contains a detection script for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The script scans session files and logs for indicators of exploitation, such as newline injection in session handling, and provides severity-based findings.

Classification
Scanner 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM versions after 11.40
No auth needed
Prerequisites: Access to the target cPanel server · Root privileges to read session files and logs
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC 2 stars
by merdw · remote
https://github.com/merdw/cPanel-CVE-2026-41940-Scanner

This repository contains a functional exploit for CVE-2026-41940, a CRLF injection vulnerability in cPanel & WHM. The exploit automates the process of bypassing authentication and generating administrative tokens, demonstrating a clear path to unauthorized access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM
No auth needed
Prerequisites: Shodan API key for target discovery · network access to cPanel/WHM ports (2087, 2083, 2096)
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 2 stars
by adriyansyah-mf · pythonremote
https://github.com/adriyansyah-mf/cve-2026-41940-poc

This exploit demonstrates an authentication bypass in cPanel/WHM (CVE-2026-41940) by injecting a crafted Base64 payload via CRLF injection in the session cookie, leading to unauthorized root access. The PoC automates the attack chain, including session minting, token leakage, and password change.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (likely versions prior to patch for CVE-2026-41940)
No auth needed
Prerequisites: Network access to WHM port (default 2087) · Valid target URL
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC 1 stars
by murrez · poc
https://github.com/murrez/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit uses a multi-stage attack involving CRLF injection and session token manipulation to achieve root-level access to the WHM interface.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (version not specified)
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Port 2087 (or similar) accessible
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec FAILED 1 stars
by bughunt4me · poc
https://github.com/bughunt4me/cpanelCVE
nomisec WORKING POC 1 stars
by nickpaulsec · remote
https://github.com/nickpaulsec/2026-41940-poc

The repository contains a functional Python exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection to achieve unauthenticated root access, with detection and exploitation modes.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to cPanel/WHM service · Unpatched cPanel/WHM version
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC 1 stars
by Ishanoshada · goremote
https://github.com/Ishanoshada/CVE-2026-41940-Exploit-PoC

This repository contains a functional Go-based exploit for CVE-2026-41940, a CRLF injection vulnerability in cPanel & WHM that allows authentication bypass and root access. The exploit includes detailed technical documentation, multi-platform binaries, and post-exploitation features.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (versions < 11.110.0.97, 11.118.0.63, 11.126.0.54, 11.132.0.29, 11.134.0.20, 11.136.0.5)
No auth needed
Prerequisites: network access to cPanel/WHM port (typically 2087) · Go 1.20+ for building from source
devstral-2 · analyzed May 03, 2026 Full analysis →
github SCANNER 1 stars
by AmirrezaMarzban · pythonpoc
https://github.com/AmirrezaMarzban/portscan-CVE-2026-41940

This repository contains a Python script that scans CIDR ranges for open TCP ports 2083 and 2087, which are associated with cPanel and WHM services. It does not exploit CVE-2026-41940 but rather detects potentially vulnerable hosts by identifying open ports.

Classification
Scanner 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: CIDR ranges or a file containing CIDR ranges
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 1 stars
by Unleasheddotc · pythonpoc
https://github.com/Unleasheddotc/cve-2026-41940-exploit

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection and session manipulation to bypass authentication and gain root access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Access to the target cPanel/WHM instance
devstral-2 · analyzed May 21, 2026 Full analysis →
github WORKING POC 1 stars
by 0xF55 · pythonpoc
https://github.com/0xF55/cve-2026-41940-exploit

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel. The exploit uses a multi-stage approach involving CRLF injection and session manipulation to bypass authentication and gain root access to WHM.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel WHM (specific version not specified)
No auth needed
Prerequisites: Network access to the target WHM instance · WHM service running on port 2087
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC 1 stars
by NULL200OK · pythonpoc
https://github.com/NULL200OK/cve-2026-41940-tool

This repository contains a functional Python tool for detecting and exploiting CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM and WP Squared. The tool includes multi-port scanning, Google dork generation, and interactive RCE capabilities via crafted Authorization headers.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM >= 11.40 (unpatched), WP Squared
No auth needed
Prerequisites: target IP/hostname or list of targets · access to cPanel/WHM ports (2082-2087, 2095-2096)
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER 1 stars
by unteikyou · pythonpoc
https://github.com/unteikyou/CVE-2026-41940-AuthBypass-Detector

This repository contains a detection tool for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The tool scans for vulnerable instances but does not exploit the vulnerability.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: target IP/port · optional Shodan API key for mass scanning
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC 1 stars
by george1-adel · pythonremote
https://github.com/george1-adel/CVE-2026-41940_exploit

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection in the HTTP Basic authentication handler to manipulate session files, granting root privileges without valid credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Racy
Target: cPanel & WHM versions prior to 11.110.0.97, 11.118.0.63, 11.126.0.54, 11.132.0.29, 11.134.0.20, 11.136.0.5
No auth needed
Prerequisites: Network access to cPanel/WHM ports (2082/2083, 2086/2087, 2095/2096) · Python 3 with requests and urllib3 libraries
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER 1 stars
by AndreiG6 · pythonpoc
https://github.com/AndreiG6/cpanel-cve-2026-41940-ioc

This repository contains a detection script for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The script scans session files and logs for indicators of exploitation, such as newline injection in session handling, and provides severity-based findings.

Classification
Scanner 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (versions after 11.40)
No auth needed
Prerequisites: access to cPanel server logs and session files · root privileges on the target system
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WRITEUP 1 stars
by rfxn · poc
https://github.com/rfxn/cpanel-sessionscribe

This repository provides a detailed technical analysis of CVE-2026-41940, a critical unauthenticated RCE vulnerability in cPanel & WHM. It includes a comprehensive writeup explaining the root cause (CRLF injection via session data manipulation) and offers mitigation tools such as a defense-in-depth shim, ModSecurity rules, and IOC scanners.

Classification
Writeup 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM
No auth needed
Prerequisites: Access to a vulnerable cPanel & WHM instance
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP 1 stars
by Hex0rc1st · pythonpoc
https://github.com/Hex0rc1st/CVE_POC_monitor/tree/main/article/uploads/demo_1777531066/【已复现】cPanel&WHM 身份认证绕过漏洞(CVE-2026-41940)安全风险通告

This is a detailed security advisory from QiAnXin CERT regarding an authentication bypass vulnerability in cPanel & WHM (CVE-2026-41940). The document provides an overview of the vulnerability, including its impact and mitigation measures, but does not include functional exploit code.

Classification
Writeup 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Theoretical
Target: cPanel & WHM
No auth needed
Prerequisites: Access to a vulnerable cPanel & WHM instance
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github SCANNER 1 stars
by Sachinart · pythonpoc
https://github.com/Sachinart/CVE-2026-41940-cpanel-0day

The repository contains a Python-based scanner for detecting exposure to CVE-2026-41940, a cPanel/WHM authentication bypass vulnerability. It checks for proxy subdomain misconfigurations and passive indicators without attempting exploitation.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (versions 11.110.0.97 and below, 11.118.0.63 and below, etc.)
No auth needed
Prerequisites: DNS resolution for proxy subdomains · HTTPS accessibility on port 443 · Optional SSH access for deeper validation
devstral-2 · analyzed Apr 29, 2026 Full analysis →
github WORKING POC
by wnaspy · pythonpoc
https://github.com/wnaspy/CVE-POC-WEAPON/tree/main/CVE-2026-41940.py

This repository contains a functional exploit for CVE-2026-41940, a critical authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection in the Authorization header to poison session files, allowing root access without valid credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM < 11.110.0.97 / 11.118.0.63 / 11.126.0.54 / 11.132.0.29 / 11.134.0.20 / 11.136.0.5
No auth needed
Prerequisites: Target running vulnerable cPanel & WHM version · Network access to WHM port (typically 2087)
devstral-2 · analyzed Jun 14, 2026 Full analysis →
nomisec SCANNER
by limo57640-crypto · poc
https://github.com/limo57640-crypto/cpanel-cve-41940-detector

This repository contains a read-only IOC detector for cPanel/WHM servers affected by CVE-2026-41940. It scans for indicators of compromise such as ransomware files, backdoors, C2 callbacks, and log anomalies without exploiting the vulnerability.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
Auth required
Prerequisites: root access · cPanel/WHM installation
devstral-2 · analyzed Jun 08, 2026 Full analysis →
nomisec WORKING POC
by asdasddqwdq29-a11y · remote
https://github.com/asdasddqwdq29-a11y/CVE-2026-41940

This repository contains a functional Go-based exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection in the Authorization header to bypass authentication and gain root-level access to WHM APIs.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to cPanel/WHM on port 2087 · Unpatched cPanel/WHM installation
devstral-2 · analyzed Jun 06, 2026 Full analysis →
github TROJAN
by olofsatte · pythonpoc
https://github.com/olofsatte/CVE-2026-41940-PoC

The repository contains obfuscated Python code with multiple layers of base64, zlib, and XOR encoding, which is highly suspicious. The README describes a cPanel/WHM exploit but the code does not match this description, instead containing deceptive constructs and no functional exploit logic.

Classification
Trojan 95%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: cPanel & WHM (claimed)
No auth needed
Prerequisites: none
devstral-2 · analyzed Jun 05, 2026 Full analysis →
github SUSPICIOUS
by yurahshell · poc
https://github.com/yurahshell/CVE-2026-41940

The repository claims to be an interactive exploitation tool for CVE-2026-41940 but lacks actual exploit code. It provides vague marketing language and references external sources without technical details or functional code.

Classification
Suspicious 90%
Attack Type
Auth Bypass
Complexity
Theoretical
Reliability
Theoretical
Target: cPanel & WHM > v11.40, WP Squared <= v136.1.7
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Jun 05, 2026 Full analysis →
nomisec SUSPICIOUS
by willygailo · poc
https://github.com/willygailo/CVE-2026-41940-Linux

The repository contains heavily obfuscated Python code using PyArmor, with no clear technical details about CVE-2026-41940. The presence of obfuscation and lack of legitimate exploit code or technical analysis suggests a potential lure for malware or monetization.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none specified
devstral-2 · analyzed May 27, 2026 Full analysis →
github WORKING POC
by sardine-web · pythonremote
https://github.com/sardine-web/Automated-scanner-CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, a critical authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection in the Authorization header to poison session files, granting root-level WHM access without valid credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM < 11.110.0.97 / 11.118.0.63 / 11.126.0.54 / 11.132.0.29 / 11.134.0.20 / 11.136.0.5
No auth needed
Prerequisites: Network access to WHM port (2087) · Vulnerable cPanel & WHM version
devstral-2 · analyzed May 24, 2026 Full analysis →
github STUB
by xxconi · pythonpoc
https://github.com/xxconi/CVE-2026-41940

The repository contains a placeholder file 'priv.py' with no functional exploit code, only a 'coming soon...' message. The other file is a JPEG image, which is unrelated to exploit code.

Classification
Stub 95%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed May 23, 2026 Full analysis →
github WORKING POC
by XZ1r0 · pythonpoc
https://github.com/XZ1r0/cve-2026-poc-collection/tree/main/other/CVE-2026-41940

The repository contains a functional Python exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection in Basic Authentication headers to forge a root session, propagate it into the daemon cache, and achieve root-level WHM access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Python 3.x · requests library · network access to target cPanel/WHM instance
devstral-2 · analyzed May 21, 2026 Full analysis →
nomisec WORKING POC
by tc4dy · poc
https://github.com/tc4dy/CVE-2026-41940-POC-Exploit

This repository contains a functional Python exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection to bypass authentication, extract account data, and hijack sessions.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM versions 11.92 to 11.102
No auth needed
Prerequisites: network access to cPanel/WHM service on port 2087 or 2083
devstral-2 · analyzed May 13, 2026 Full analysis →
nomisec WORKING POC
by zycoder0day · remote
https://github.com/zycoder0day/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, targeting a cPanel/WHM authentication bypass vulnerability. The exploit automates the creation of a reseller account without requiring valid credentials, leveraging a multi-stage attack to bypass authentication and propagate session tokens.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Valid host and port for the target
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC
by anach-ai · remote
https://github.com/anach-ai/CVE-2026-41940

The repository contains a functional exploit framework for CVE-2026-41940, targeting a CRLF injection vulnerability in cPanel/WHM's Basic authentication handler. It includes payload generation, session manipulation, and post-exploitation modules, demonstrating a clear understanding of the vulnerability mechanics.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (cpsrvd)
No auth needed
Prerequisites: network access to target cPanel/WHM instance · vulnerable version of cPanel/WHM
devstral-2 · analyzed May 11, 2026 Full analysis →
nomisec SCANNER
by ngksiva · poc
https://github.com/ngksiva/cpanel-forensics

This repository contains a forensic bash script designed to detect signs of compromise following the exploitation of CVE-2026-41940 in cPanel/WHM systems. It checks for unauthorized SSH keys, rootkits, cron jobs, and other indicators of compromise.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
Auth required
Prerequisites: root access to the target system
devstral-2 · analyzed May 11, 2026 Full analysis →
nomisec WORKING POC
by 44pie · poc
https://github.com/44pie/cpsniper

The repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM via CRLF injection in session files. It includes scripts for target filtering, mass scanning, and exploitation with detailed documentation.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM
No auth needed
Prerequisites: list of target domains/IPs · Python 3.8+ · Bash environment
devstral-2 · analyzed May 10, 2026 Full analysis →
nomisec SCANNER
by SreejaPuthan · poc
https://github.com/SreejaPuthan/cpanel-control-plane-exposure-check

The repository contains a Python-based scanner that detects exposed cPanel, WHM, and Webmail administrative interfaces by checking specific ports and analyzing HTTP responses. It does not exploit CVE-2026-41940 but identifies potential exposure to it.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: cPanel/WHM/Webmail (versions affected by CVE-2026-41940)
No auth needed
Prerequisites: list of target hosts/IPs in a text file
devstral-2 · analyzed May 10, 2026 Full analysis →
nomisec WORKING POC
by acuciureanu · poc
https://github.com/acuciureanu/cpanel2shell-honeypot

This repository contains a Rust-based honeypot that simulates a vulnerable cPanel/WHM instance for CVE-2026-41940, an authentication bypass vulnerability. It emulates the response sequence used by cPanel2Shell vulnerability scanners and provides a fake bash shell for attackers who proceed past the initial probe.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec SCANNER
by branixsolutions · poc
https://github.com/branixsolutions/Security-CVE-2026-41940-cPanel-WHM-WP2

The repository contains a bash script designed to scan for compromised cPanel/WHM session files by checking for indicators of compromise (IOCs) such as token denial counters and authentication markers. It does not exploit the vulnerability but detects potential post-exploitation artifacts.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: access to session files and logs on the target system
devstral-2 · analyzed May 09, 2026 Full analysis →
nomisec WORKING POC
by thekawix · remote
https://github.com/thekawix/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages a CRLF injection technique to bypass authentication and gain root access to the WHM interface.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Access to the target cPanel/WHM instance · Network connectivity to the target
devstral-2 · analyzed May 08, 2026 Full analysis →
nomisec SUSPICIOUS
by Defacto-ridgepole254 · poc
https://github.com/Defacto-ridgepole254/CVE-2026-41940-Exploit-PoC

The repository claims to provide a PoC for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM via CRLF injection, but contains no actual exploit code. Instead, it directs users to download an executable from GitHub releases, which is a common tactic for distributing malware or fake exploits.

Classification
Suspicious 95%
Attack Type
Auth Bypass
Complexity
Theoretical
Reliability
Theoretical
Target: cPanel & WHM
No auth needed
Prerequisites: none provided
devstral-2 · analyzed May 07, 2026 Full analysis →
nomisec WORKING POC
by ZildanZ · remote
https://github.com/ZildanZ/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, targeting cPanel's authentication bypass vulnerability. The exploit uses a multi-stage approach to inject a malicious session cookie, propagate it, and verify successful bypass, with support for both single and mass exploitation.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel (version not explicitly specified)
No auth needed
Prerequisites: target cPanel instance accessible on port 2087 · network connectivity to the target
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec WORKING POC
by itsismarcos · remote
https://github.com/itsismarcos/CVE-2026-41940

The repository contains a functional exploit for CVE-2026-41940, which bypasses cPanel/WHM authentication via CRLF injection in session tokens. The PoC automates the attack by creating a session, injecting malicious headers, and verifying root access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Racy
Target: cPanel/WHM (versions prior to the patch for CVE-2026-41940)
No auth needed
Prerequisites: Target running vulnerable cPanel/WHM · Network access to ports 2083 or 2087
devstral-2 · analyzed May 05, 2026 Full analysis →
nomisec SCANNER
by sercanokur · remote
https://github.com/sercanokur/CVE-2026-41940-cPanel-WHM-Verification-Tool

This repository contains a Python-based verification script for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The script checks for the presence of the vulnerability by attempting to create a pre-authentication session and injecting a crafted payload, but it does not include full exploit code for unauthorized access.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (versions after 11.40, before patched versions)
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Target running a vulnerable version of cPanel/WHM
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WRITEUP
by habibkaratas · poc
https://github.com/habibkaratas/sorry-ransomware-analysis

This repository provides a detailed technical analysis of the 'Sorry' ransomware campaign exploiting CVE-2026-41940, including IOCs, YARA rules, forensic scripts, and methodology. It focuses on defensive measures and does not contain exploit code.

Classification
Writeup 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Access to a vulnerable cPanel/WHM instance
devstral-2 · analyzed May 04, 2026 Full analysis →
nomisec WORKING POC
by zwanski2019 · poc
https://github.com/zwanski2019/cPanelSniper

The repository contains a functional exploit for CVE-2026-41940, a critical authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection in the Authorization header to poison session files, granting root-level WHM access without valid credentials.

Classification
Working Poc 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM < 11.110.0.97 / 11.118.0.63 / 11.126.0.54 / 11.132.0.29 / 11.134.0.20 / 11.136.0.5
No auth needed
Prerequisites: Access to the target cPanel/WHM instance · Network connectivity to the target
devstral-2 · analyzed Jun 03, 2026 Full analysis →
nomisec WORKING POC
by Underh0st · poc
https://github.com/Underh0st/CPanel-Audit-Remediation-Tool

This repository contains a functional PoC for CVE-2026-41940, an authentication bypass vulnerability in cPanel. The tool demonstrates the exploit by generating a crafted session token to access the cPanel File Manager without credentials.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: cPanel (version not specified)
No auth needed
Prerequisites: Access to cPanel login page (port 2083)
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC
by cy3erm · pythonremote
https://github.com/cy3erm/CVE-2026-41940-POC

This repository contains a functional proof-of-concept exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM's cpsrvd service. The exploit chains CRLF injection with Basic auth header poisoning to gain root WHM access without valid credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM versions 11.40 through unpatched builds
No auth needed
Prerequisites: Network access to the target cPanel/WHM service · cPanel/WHM service running on port 2087
devstral-2 · analyzed May 04, 2026 Full analysis →
github SUSPICIOUS
by tfawnies · pythonpoc
https://github.com/tfawnies/CVE-2026-41940-next

The repository contains a Python script that claims to be a verification script for CVE-2026-41940 but lacks any actual exploit code. Instead, it requires automated analysis tools to register by sending identification to an external URL, which is a red flag for potential tracking or malicious intent.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: automated analysis tools
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by imbas007 · pythonremote
https://github.com/imbas007/POC_CVE-2026-41940

This repository contains a functional exploit PoC for CVE-2026-41940, a session-file CRLF injection vulnerability in cPanel & WHM that allows root authentication bypass. The exploit chain involves poisoning session files via crafted Authorization headers and includes post-exploitation actions like password changes and command execution.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM < 11.110.0.97 / 11.118.0.63 / 11.126.0.54 / 11.132.0.29 / 11.134.0.20 / 11.136.0.5
No auth needed
Prerequisites: Access to WHM login page (port 2087) · Valid target URL or list of targets
devstral-2 · analyzed May 03, 2026 Full analysis →
github WORKING POC
by MrOplus · pythonremote
https://github.com/MrOplus/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, targeting a vulnerability in cPanel/WHM. The exploit leverages a multi-stage attack to achieve authentication bypass and remote code execution via websocket shell access and API token persistence.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Python environment with required libraries (requests, websocket)
devstral-2 · analyzed May 03, 2026 Full analysis →
github SCANNER
by linko-iheb · pythonpoc
https://github.com/linko-iheb/cve-2026-41940-scanner

This repository contains a Python-based scanner for detecting CVE-2026-41940, a CRLF injection vulnerability in cPanel & WHM that could lead to authentication bypass. The tool performs passive fingerprinting and version detection without exploiting the vulnerability.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM
No auth needed
Prerequisites: Network access to cPanel/WHM service (typically port 2087)
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by ThatNotEasy · pythonremote
https://github.com/ThatNotEasy/CVE-2026-41940

This repository contains a functional proof-of-concept exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection to manipulate session files, allowing unauthorized access to WHM/cPanel APIs.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM prior to version 11.115
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Target running a vulnerable version of cPanel/WHM
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec SCANNER
by 3tternp · poc
https://github.com/3tternp/CVE-2026-41940---cPanel-WHM-check

This repository contains a detection script provided by cPanel to scan for indicators of compromise (IOCs) related to CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The script checks session files for suspicious patterns but does not exploit the vulnerability.

Classification
Scanner 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM, DNSOnly, WP2
No auth needed
Prerequisites: access to cPanel session files · bash environment
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by dennisec · pythonremote
https://github.com/dennisec/CVE-2026-41940

The repository contains a functional Python exploit for CVE-2026-41940, which leverages CRLF injection to bypass authentication in cPanel/WHM and change the root password. The exploit includes detailed usage instructions, Telegram notification support, and multi-threading capabilities.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Python 3.6+ · requests library · urllib3 library · target cPanel/WHM instance
devstral-2 · analyzed May 02, 2026 Full analysis →
nomisec SCANNER
by MrAriaNet · poc
https://github.com/MrAriaNet/cPanel-Fix

This repository provides a remediation script for CVE-2026-41940 (cPanel authentication bypass) and CVE-2026-31431 (Linux kernel 'Copy Fail'). It assesses system vulnerabilities and applies fixes but does not include exploit code.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM, Linux kernel
No auth needed
Prerequisites: root access · cPanel installation · CSF firewall
devstral-2 · analyzed May 02, 2026 Full analysis →
github SUSPICIOUS
by vineet7800 · poc
https://github.com/vineet7800/cpanel-malware-cleaner-cve-2026

The repository claims to provide a tool for detecting and removing malware related to CVE-2026-41940 but lacks any actual exploit code or technical details. It directs users to an external link for the 'official tool,' which is a common tactic for suspicious or malicious repositories.

Classification
Suspicious 95%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: cPanel & WHM
No auth needed
Prerequisites: none provided
devstral-2 · analyzed May 02, 2026 Full analysis →
github SCANNER
by devtint · htmlpoc
https://github.com/devtint/CVE-2026-41940

The repository contains a Nuclei template for detecting CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM via CRLF injection in the basic auth header. The YAML file defines a request to probe for the vulnerability but does not include functional exploit code for gaining access.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: network access to the target cPanel/WHM instance
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by 0xBlackash · pythonpoc
https://github.com/0xBlackash/CVE-2026-41940

The repository contains a functional Python exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection via malformed Basic Auth headers to gain root WHM access without credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (versions after 11.40 until patched)
No auth needed
Prerequisites: Network access to cPanel/WHM ports (2082, 2083, 2086, 2087) · Unpatched cPanel/WHM instance
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 flaw) and CVE-2026-41940 (cPanel & WHM authentication bypass). The script checks for vulnerable versions, module status, and patch availability 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 some checks
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by kmaruthisrikar · pythonremote
https://github.com/kmaruthisrikar/CVE-2026-41940-cPanel-Auth-Bypass-Exploit

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection and conditional encoding bypass in session handling to gain unauthorized access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (all supported versions)
No auth needed
Prerequisites: network access to target cPanel/WHM instance · ability to send HTTP requests to ports 2086/2087
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER
by XsanFlip · pythonremote
https://github.com/XsanFlip/poc-cpanel-cve-2026-41940

The repository contains a multi-threaded scanner for detecting CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM via CRLF injection. It checks multiple ports and provides detailed reports but does not include functional exploit code.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (cpsrvd)
No auth needed
Prerequisites: target IP/domain list · network access to cPanel ports
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec SCANNER
by 0dev1337 · poc
https://github.com/0dev1337/cpanelscanner

This repository contains a Go-based CLI tool designed to scan for internet-exposed cPanel/WHM instances by probing HTTPS ports and checking for a specific marker string in the response. It is intended to identify potential targets for testing CVE-2026-41940 (cPanel & WHM Authentication Bypass) but does not include exploit code.

Classification
Scanner 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM
No auth needed
Prerequisites: network access to target hosts · list of host IPs or domains
devstral-2 · analyzed May 02, 2026 Full analysis →
github WORKING POC
by Jenderal92 · pythonpoc
https://github.com/Jenderal92/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, which bypasses authentication in cPanel/WHM by leveraging a CRLF injection vulnerability to forge a session token. The exploit automates the process of obtaining root access and changing the root password.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · Port 2087 (or similar) accessible
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by Christian93111 · pythonpoc
https://github.com/Christian93111/CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection in Basic Authentication headers to forge a root session, granting unauthorized access to WHM APIs.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Python 3.x · requests library · network access to target WHM port (2087)
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by ynsmroztas · poc
https://github.com/ynsmroztas/cPanelSniper

This repository contains a functional exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The exploit leverages CRLF injection in the session file via the Authorization header to gain root-level WHM access without valid credentials.

Classification
Working Poc 100%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (versions ≤ 11.136.0.4)
No auth needed
Prerequisites: Access to cPanel/WHM login interface · Python 3.8+ environment
devstral-2 · analyzed May 01, 2026 Full analysis →
github SUSPICIOUS
by Lutfifakee-Project · poc
https://github.com/Lutfifakee-Project/CVE-2026-41940

The repository contains no actual exploit code or technical details, only a vague title mentioning a 'Mass Scanner & Exploiter' for CVE-2026-41940. This is characteristic of a social engineering lure.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: cPanel/WHM
No auth needed
devstral-2 · analyzed May 01, 2026 Full analysis →
github SCANNER
by mahfuzreham · shellpoc
https://github.com/mahfuzreham/cpanel-cve-2026-41940

This repository provides two Bash scripts designed to detect and mitigate the effects of CVE-2026-41940, a critical vulnerability in cPanel/WHM. The scripts perform security audits, malware detection, and cleanup tasks but do not include functional exploit code.

Classification
Scanner 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM (all supported versions)
Auth required
Prerequisites: root SSH access · cPanel/WHM installation · Imunify360 (for second script)
devstral-2 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by senyx122 · remote
https://github.com/senyx122/CVE-2026-41940

This repository contains a functional Python exploit for CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The exploit includes a full chain to bypass authentication and gain an interactive shell, with detailed logging and target discovery mechanisms.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM versions after 11.40
No auth needed
Prerequisites: network access to target cPanel/WHM service · target running vulnerable cPanel/WHM version
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by zedxod · pythonpoc
https://github.com/zedxod/CVE-2026-41940-POC

This repository contains a functional exploit for CVE-2026-41940, demonstrating a multi-step authentication bypass in cPanel/WHM via CRLF injection and session poisoning. The exploit follows a 4-step process to inject malicious session data, trigger session regeneration, and verify root-level access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Python 3.x · requests library
devstral-2 · analyzed May 01, 2026 Full analysis →
github WRITEUP
by shahidmallaofficial · shellpoc
https://github.com/shahidmallaofficial/cpanel-cve-2026-41940-fix

This repository provides a detailed technical analysis and remediation script for CVE-2026-41940, a pre-authentication bypass vulnerability in cPanel/WHM. It includes a comprehensive Bash script for detection, remediation, and patching, along with indicators of compromise (IOCs) and manual cleanup steps.

Classification
Writeup 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM versions after 11.40
No auth needed
Prerequisites: Access to cPanel/WHM server · Root privileges
devstral-2 · analyzed May 01, 2026 Full analysis →
github WORKING POC
by 0xabdoulaye · pythonremote
https://github.com/0xabdoulaye/CPANEL-CVE-2026-41940

This repository contains a functional exploit for CVE-2026-41940, a critical authentication bypass vulnerability in cPanel/WHM. The exploit leverages CRLF injection in session handling to achieve root access without authentication.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM < 11.110.0.97, < 11.118.0.63, < 11.126.0.54, < 11.132.0.29, < 11.134.0.20, < 11.136.0.6
No auth needed
Prerequisites: Network access to cPanel/WHM service (port 2087) · Python 3 with requests library
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by ilmndwntr · remote
https://github.com/ilmndwntr/CVE-2026-41940-MASS-EXPLOIT

This repository contains a functional exploit for CVE-2026-41940, targeting cPanel/WHM authentication bypass via CRLF injection and session forgery. The exploit automates the process of gaining root access by changing the root password.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: network access to target cPanel/WHM instance · target running vulnerable version of cPanel/WHM
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by realawaisakbar · pythonremote
https://github.com/realawaisakbar/CVE-2026-41940-Exploit-PoC

This repository contains a functional exploit for CVE-2026-41940, targeting cPanel WHM authentication bypass via CRLF injection. The exploit follows a multi-stage process to bypass authentication and leak account data.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel WHM
No auth needed
Prerequisites: network access to target WHM interface · valid target URL with port 2087
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by Wesuiliye · gopoc
https://github.com/Wesuiliye/CVE-2026-41940

This repository contains a functional Go-based exploit for CVE-2026-41940, an authentication bypass leading to RCE in cPanel/WHM. The exploit includes a multi-stage attack chain to achieve root access on vulnerable systems.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM < 11.120.0.5
No auth needed
Prerequisites: target running vulnerable cPanel/WHM version · network access to WHM ports (2086/2087)
devstral-2 · analyzed Apr 30, 2026 Full analysis →
nomisec WORKING POC
by Kagantua · remote
https://github.com/Kagantua/cPanelWHM-AuthBypass

This repository contains a functional Go-based exploit for CVE-2026-41940, a cPanel/WHM authentication bypass vulnerability. The tool supports both scanning and exploitation, including RCE, password modification, API calls, and session generation.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: Access to cPanel/WHM login endpoint · Network connectivity to target
devstral-2 · analyzed Apr 30, 2026 Full analysis →
github WORKING POC
by debugactiveprocess · pythonpoc
https://github.com/debugactiveprocess/cPanel-WHM-AuthBypass-Session-Checker

This repository contains a functional Python script that validates session authentication after exploiting CVE-2026-41940, an authentication bypass vulnerability in cPanel/WHM. The script tests multiple endpoints to confirm whether the injected session grants authenticated access, including API calls and terminal access.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM
No auth needed
Prerequisites: A pre-exploited session via CVE-2026-41940 · Network access to the target cPanel/WHM instance
devstral-2 · analyzed Apr 30, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Sina Kheirkhah, Adam Kues, Shubham Shah, Crypto-Cat · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cpanel_whm_auth_bypass_rce.rb

This Metasploit module exploits CVE-2026-41940, a CRLF injection vulnerability in cPanel/WHM's cpsrvd daemon, allowing unauthenticated remote code execution as root. It bypasses authentication by injecting malicious session fields and leverages the WHM JSON API to execute commands via SSH.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: cPanel/WHM (versions after 11.40, fixed in various branches)
No auth needed
Prerequisites: Network access to cPanel/WHM on port 2087 (or 2086 for HTTP) · SSH access to the target on port 22
devstral-2 · analyzed May 18, 2026 Full analysis →
vulncheck_xdb SCANNER
remote
https://github.com/iSee857/cPanel-WHM-CVE-2026-41940-AuthBypass

This repository contains a Python-based scanner for CVE-2026-41940, an authentication bypass vulnerability in cPanel & WHM. The tool detects the vulnerability by exploiting a CRLF injection flaw in session handling but does not include exploit code for gaining root access.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: cPanel & WHM < 11.110.0.97 / 11.118.0.63 / 11.126.0.54 / 11.132.0.29 / 11.134.0.20 / 11.136.0.5
No auth needed
Prerequisites: Network access to the target cPanel/WHM instance · WHM port (2087) exposed
devstral-2 · analyzed May 04, 2026 Full analysis →

Nuclei Templates (1)

cPanel & WHM - Authentication Bypass via Session-File CRLF Injection
CRITICALVERIFIEDby watchtowr,hadrian.io,DhiyaneshDk
Shodan: title:"WHM Login"

Scores

CVSS v3 9.8
EPSS 0.9054
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2026-04-30
VulnCheck KEV 2026-04-28
ENISA EUVD EUVD-2026-26246
CWE
CWE-306
Status published
Products (50)
cPanel/cPanel 11.110.0 - 11.110.0.97
cPanel/cPanel 11.118.0 - 11.118.0.63
cPanel/cPanel 11.126.0 - 11.126.0.54
cPanel/cPanel 11.130.0 - 11.130.0.18
cPanel/cPanel 11.132.0 - 11.132.0.29
cPanel/cPanel 11.134.0 - 11.134.0.20
cPanel/cPanel 11.136.0 - 11.136.0.5
cpanel/cpanel 11.40 - 86.0.41
cPanel/cPanel 11.86.0 - 11.86.0.41
cPanel/WHM 11.110.0 - 11.110.0.97
... and 40 more
Published Apr 29, 2026
KEV Added Apr 30, 2026
Tracked Since Apr 29, 2026