Unauthenticated pre-auth command injection in Citrix NetScaler enables root RCE
CVE-2026-88771 allows an unauthenticated attacker to execute arbitrary commands as root on default-configured NetScaler appliances.
Security & privacy watchTowr Labs 28 Sep 2026 Disclosure Prototype evidence
Published as “Oh Look, The Foot Gun Went Off Again (Citrix NetScaler PreAuth Command Injection CVE-2026-88771)”
Why it matters
Organizations should apply the Citrix NetScaler patches immediately and monitor logs for suspicious entries that could trigger the injection.
Summary
The team set up two NetScaler appliances (vulnerable 14.1-73.30 and patched 14.1-73.37) and examined the Perl script ns_monuploadd_err.pl. They discovered that the script built a shell command from log data without sanitisation, enabling an attacker to inject a command via a crafted login field and achieve root command execution. The patch removes the back-tick pipeline, validates captured fields, and invokes find via Perl’s list form, eliminating the injection vector. Evidence consists of lab-based PoC runs and a detection-artifact generator released on GitHub.
What they found 1
- The vulnerable script interpolates attacker-controlled log data into a back-tick command, leading to command injection.
“my $WR_PPE_CORE = `find /var/core -name ${WR_PPE_COREFILE_NAME}* -print | tail -1`;”
Caveats 4
- The command injection does not trigger instantly; the script may take up to 24 hours to run.
- The authors note they have not publicly disclosed a technique to force immediate execution.
- The injection may take up to 24 hours to trigger because ns_monuploadd_err.pl runs periodically.
- Force-execution method is kept private, limiting reproducibility.
What’s new here 4
- Identified a pre-auth command injection caused by unsafe Perl back-ticks in ns_monuploadd_err.pl.
- Demonstrated remote root command execution using a crafted login parameter.
- Showed that the official Citrix patch mitigates the issue by sanitising input and avoiding a shell.
- Released a Python detection-artifact generator to test for susceptibility.