BlackRainSentinel/cPanel-patch-radar
GitHub: BlackRainSentinel/cPanel-patch-radar
Stars: 2 | Forks: 0
██████╗ ██████╗ ███╗ ██╗███████╗██╗
██╔══██╗██╔══██╗████╗ ██║██╔════╝██║
██████╔╝███████║██╔██╗ ██║█████╗ ██║
██╔═══╝ ██╔══██║██║╚██╗██║██╔══╝ ██║
██║ ██║ ██║██║ ╚████║███████╗███████╗
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝
RADAR :: cPanel/WHM CVE Audit
[](LICENSE)
[](https://cpanel.net)
[](https://www.gnu.org/software/bash/)
[](#cve-coverage)
[](https://github.com/BlackRainSentinel/cPanel-patch-radar)
I work in the security unit of a hosting company. We manage 300+ cPanel servers and when the May 2026 CVE batch dropped, manually checking each one wasn't an option anymore — especially after seeing a few servers in our network get hit before patches were applied.
I wrote this to automate what I was doing by hand. Single file, no dependencies, runs anywhere cPanel is installed.
## What it does
Checks your cPanel/WHM server against 12 CVEs and security advisories from the May 2026 patch batch — including the critical auth bypass (CVE-2026-41940). Tells you what's vulnerable, what's patched, and can apply targeted fixes if you want.
No full `upcp --force`. No unnecessary reboots. Just checks the packages that matter and updates only what's broken.
## Quick Start
git clone https://github.com/BlackRainSentinel/cPanel-patch-radar.git
cd cPanel-patch-radar
chmod +x cPanel-patch-radar.sh
bash cPanel-patch-radar.sh
## Usage
# Just audit — no changes
bash cPanel-patch-radar.sh
# Audit and fix (confirms before each change)
bash cPanel-patch-radar.sh --fix
# Audit + fix + backup config files first
bash cPanel-patch-radar.sh --fix --backup
# Generate an HTML report (good for sending to clients)
bash cPanel-patch-radar.sh --report
# Everything at once
bash cPanel-patch-radar.sh --fix --backup --report
# Check one specific CVE
bash cPanel-patch-radar.sh --cve CVE-2026-41940
## Flags
| Flag | What it does |
|------|-------------|
| *(none)* | Audit only, zero changes |
| `--fix` | Targeted package update, asks confirmation first |
| `--backup` | Backs up config files before touching anything |
| `--report` | Saves an HTML report to `/var/log/cpanel-patch-radar/` |
| `--cve