Exploit databaseDownload repository ZIP
GH-4af696a23d9d84b2c2bc4ef95d038fb9
mahfuzreham/litespeed-cpanel-cve-2026-54420-fix
Sources for CVE-2026-54420
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files6
mahfuzreham/litespeed-cpanel-cve-2026-54420-fixRevision 0f8c0b620ba8
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fix.sh
Suggested starting fileShell · 558 bytes#!/bin/bash
set -e
echo "[+] Starting CVE-2026-54420 mitigation"
if [ ! -d "/usr/local/lsws" ]; then
echo "[-] LiteSpeed not found"
exit 1
fi
echo "[+] Updating LiteSpeed..."
/usr/local/lsws/admin/misc/lsup.sh -f || true
echo "[+] Refreshing CageFS (if present)..."
if command -v cagefsctl >/dev/null 2>&1; then
cagefsctl --force-update || true
cagefsctl --remount-all || true
fi
echo "[+] Restarting LiteSpeed..."
systemctl restart lsws
echo "[+] Current versions:"
rpm -qa | grep -Ei 'litespeed|lsws' || true
echo "[+] Mitigation completed"