CVE-2026-54420 Splunk · SPL

Detect LiteSpeed cPanel Plugin UNIX Symbolic Link (Symlink) Following Vulnerability in Splunk

Detects exploitation of CVE-2026-54420, a UNIX symbolic link (symlink) following vulnerability in the LiteSpeed cPanel Plugin. Attackers with local access can create malicious symlinks to read or overwrite files outside the intended directory, potentially leading to privilege escalation or unauthorized file access on cPanel-managed hosting servers. This vulnerability is actively exploited in the wild (CISA KEV).

MITRE ATT&CK

Tactic
Privilege Escalation Defense Evasion Credential Access

SPL Detection Query

Splunk (SPL)
spl
index=os OR index=endpoint sourcetype IN ("linux_audit", "auditd", "sysmon_for_linux", "osquery")
| eval event_time=_time
| search (syscall="symlink" OR syscall="symlinkat" OR process_name IN ("ln") AND ("ln -s" OR "ln --symbolic"))
| eval cmd=coalesce(cmd, command, cmdline)
| eval uid=coalesce(uid, user, auid)
| eval path_val=coalesce(nametype, path, file_path)
| where match(cmd, "(?i)(ln\s+-s|symlink)")
| eval suspicious_target=if(match(cmd, "(?i)(/etc/passwd|/etc/shadow|/root/|/etc/ssh|/etc/sudoers|/etc/cron|/proc/)"), 1, 0)
| eval litespeed_context=if(match(cmd, "(?i)(lsws|lsphp|lshttpd|litespeed|cpanel.plugin)") OR match(path_val, "(?i)(/usr/local/lsws|/opt/cpanel|/var/lsws|/etc/lsws)"), 1, 0)
| where suspicious_target=1 OR litespeed_context=1
| eval risk_score=case(suspicious_target=1 AND litespeed_context=1, 90, suspicious_target=1, 70, litespeed_context=1, 50, true(), 30)
| table _time, host, user, uid, cmd, path_val, suspicious_target, litespeed_context, risk_score
| sort -risk_score, -_time
high severity medium confidence

Searches Linux audit, auditd, and osquery logs for symlink syscalls or ln commands involving LiteSpeed paths or sensitive system file targets. Risk-scores results based on combined suspicious indicators.

Data Sources

Linux Audit Daemon (auditd)Sysmon for LinuxosquerySplunk Stream

Required Sourcetypes

linux_auditauditdsysmon_for_linuxosquery

False Positives & Tuning

  • LiteSpeed Plugin legitimate upgrade scripts that create PHP binary symlinks under /usr/local/lsws
  • cPanel-automated processes (cpaneld, whostmgrd) that symlink binaries during feature provisioning
  • Hosting automation frameworks (Plesk migration tools, Imunify360) that manipulate filesystem links
  • Security hardening scripts that relocate or alias configuration files using symlinks

Other platforms for CVE-2026-54420


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Create Malicious Symlink in LiteSpeed Plugin Directory Targeting /etc/shadow

    Expected signal: auditd SYSCALL=symlink with a1 pointing to /etc/shadow; FileOpenInfo event on /etc/shadow via the symlink path; process creating the symlink is a non-root user

  2. Test 2Symlink Traversal via LiteSpeed Binary Process Simulation

    Expected signal: SYSCALL=symlink event for the ln -sv command; stat and readlink syscalls on the symlink; auditd logs should capture the effective UID and process name

  3. Test 3Enumerate LiteSpeed Plugin Directory and Create Targeted Symlink Chain

    Expected signal: Multiple syscall events: find spawning openat calls on LiteSpeed paths; SYSCALL=symlink for the ln command; readdir on /root/.ssh via the symlink (if permitted); auditd AVC denials if SELinux/AppArmor active

Unlock Pro Content

Get the full detection package for CVE-2026-54420 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections