
Advanced cPanel & WHM Security Scanner for CVE-2026-41940. with mass Shodan discovery
This high-performance security tool is designed to identify and exploit CVE-2026-41940, a critical CRLF injection vulnerability in cPanel & WHM. It automates the entire process from Shodan discovery to administrative token creation.

Note: The scanner provides real-time stage-by-step logging from
[0](Canonical Host) to[4](Root Verification).
Clone the repository:
git clone https://github.com/merdw/cPanel-CVE-2026-41940-Scanner.git
cd cPanel-CVE-2026-41940-Scanner
Install dependencies:
pip install -r requirements.txt
Configure the tool:
Edit config.json with your Shodan API key and scan preferences.
Run the main orchestrator:
python main.py
config.json and starts scanning.config.json){
"shodan_api_key": "YOUR_API_KEY",
"threads": 25,
"timeout": 35,
"shodan_start_page": 1,
"shodan_pages": 10,
"shodan_country": "TR",
"scan_ports": [2087, 2083, 2096]
}
This tool is for educational purposes and authorized security testing only. The author is not responsible for any misuse or damage caused by this software. Use it at your own risk.
Special thanks to @watchtowrlabs for the original research and exploit implementation. This PoC is a modified and extended version of their work.
Feel free to open issues or submit pull requests to improve the scanner!
Developed with ❤️ for the security community.