Threat reportVulnerabilityTL-2026-3321
Citrix NetScaler ADC/Gateway Pre-Auth RCE via SAML Heap Overflow (CVE-2026-8452) Exploited in the Wild
CVE-2026-8452 is a pre-authentication heap overflow in the SAML signature canonicalization code of the NetScaler packet processing engine (nsppe). Citrix patched it on 2026-06-30 as a denial-of-service issue; watchTowr Labs showed on 2026-08-14 that it yields unauthenticated root RCE. CISA added it to KEV on 2026-08-26 after web-shell exploitation was observed. First disclosed .
Key facts
| Identifiers | TL-2026-3321, CVE-2026-8452 |
|---|---|
| Also known as | You're Back In The Room |
| Severity | CRITICAL |
| CVSS | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| First disclosed | |
| EPSS | CVE-2026-8452: 0.4% (38.3th percentile) |
| Affected products | Citrix (Cloud Software Group) NetScaler ADC; Citrix (Cloud Software Group) NetScaler Gateway |
| Weaknesses (CWE) | CWE-119 |
| MITRE ATT&CK techniques | T1033 System Owner/User Discovery, T1059.004 Unix Shell, T1190 Exploit Public-Facing Application, T1499.004 Application or System Exploitation, T1505.003 Web Shell, T1548.001 Setuid and Setgid, T1685 Disable or Modify Tools |
| Motivation | UNKNOWN |
| Target sectors | government administration, finance, health, technology, telecoms, education |
| Target regions | Global, North America, Europe, Asia-Pacific |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-10-15, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3321 across Splunk SPL, Microsoft KQL and Sigma, covering 16 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: CVE-2026-8452 NetScaler Web Shell Access (x.php / z.php / /vpn/theme/*.php)
Detects successful HTTP requests to the web-shell paths seen in CVE-2026-8452 exploitation: x.php, z.php and any .php under /vpn/theme/. The web shell is the attacker's command channel on the appliance. Requests to these paths on a NetScaler Gateway should never occur in normal operation.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1505.003, T1033, T1071.001
- Data sources: splunk_stream_http, netscaler_gateway_traffic
- Severity: critical
- Confidence: high
Splunk SPL
index=network sourcetype="stream:http" uri_path="*.php" status=200
| regex uri_path="(?i)(/vpn/theme/[^?]*[.]php$|/(x|z)[.]php$)"
| eval discovery_cmd=if(match(lower(coalesce(uri_query,form_data,"")),"(^|[=&;|% ])(id|echo|whoami|uname)($|[&;|% ])"),1,0)
| stats count AS hits sum(discovery_cmd) AS discovery_cmd_hits values(uri_path) AS shell_paths values(dest_ip) AS netscaler_targets min(_time) AS first_seen max(_time) AS last_seen BY src_ip
| convert ctime(first_seen) ctime(last_seen)
| sort - hitsMicrosoft KQL
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where DeviceVendor has "Citrix" or DeviceProduct has "NetScaler"
| where RequestURL matches regex @"(?i)(/vpn/theme/[^? ]*[.]php|/(x|z)[.]php)([?]|$)"
| summarize Hits = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Urls = make_set(RequestURL, 10) by SourceIP, DestinationIP
| order by Hits descSigma
title: NetScaler Web Shell Access x.php z.php Or Theme PHP - CVE-2026-8452
id: a14d8e37-5c92-4a60-b3f8-7d1e0c9a2b45
status: experimental
description: Detects successful requests to web-shell paths used in CVE-2026-8452 exploitation, namely x.php, z.php or any PHP file under /vpn/theme/.
references:
- https://labs.watchtowr.com/youre-back-in-the-room-citrix-netscaler-pre-auth-rce-cve-2026-8452/
- https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-082/
- https://labs.cloudsecurityalliance.org/research/csa-research-note-citrix-netscaler-cve-2026-8452-exploited-2/
author: Threadlinqs Team
date: 2026-10-12
tags:
- attack.persistence
- attack.t1505.003
- attack.discovery
- attack.t1033
- attack.command-and-control
- attack.t1071.001
- cve.2026.8452
logsource:
category: webserver
detection:
selection:
sc-status: 200
c-uri|re: '(?i)(/vpn/theme/[^? ]*[.]php|/(x|z)[.]php)([?].*)?$'
condition: selection
falsepositives:
- Authorised scanning or web-shell hunting
- Custom PHP portal pages under the theme path (rare)
level: critical
Known false positives:
- Security scanners or threat-hunting teams probing for known web-shell names
- Custom portal pages legitimately served as PHP under the theme path (rare)
Tuning notes: Confirm how /var/vpn/theme maps to URL space on your build and extend the regex to match. Exclude authorised scanner IPs. A 200 response is high priority; 404s indicate probing only and can be split into a lower-severity alert.
- CVE-2026-8452 NetScaler [indicator] Crash or Restart Following Exploit Attempt · unlock with TL Creds
- CVE-2026-8452 NetScaler PHP Web Shell Written to [indicator] · unlock with TL Creds
- CVE-2026-8452 NetScaler Web Shell Discovery Command Execution (id / echo) · unlock with TL Creds
- CVE-2026-8452 NetScaler SAML Endpoint POST Returning Server Error · unlock with TL Creds
- CVE-2026-8452 NetScaler pitboss/[indicator] Watchdog Tampering or Restart Suppression · unlock with TL Creds
- CVE-2026-8452 NetScaler Web Server or PHP Process Spawning Shell for Discovery (id / echo) · unlock with TL Creds
- CVE-2026-8452 NetScaler SAML Oversized Request (PrefixList Heap Overflow Trigger) · unlock with TL Creds
- CVE-2026-8452 NetScaler SUID Bit Set on [indicator] (Root Escalation via nobody Web Shell) · unlock with TL Creds
Indicators of compromise
As of 2026-10-15, Threadlinqs Intelligence tracks 16 indicators of compromise for TL-2026-3321.
Technical analysis
CVE-2026-8452 affects NetScaler ADC and NetScaler Gateway appliances configured as a Gateway virtual server (SSL VPN, ICA Proxy, Clientless VPN, RDP Proxy) or as an AAA virtual server, where the SAML authentication flow (Service Provider or Identity Provider mode) is exposed. Load-balancer-only configurations are not affected. Citrix disclosed the flaw on 2026-06-30 in security bulletin CTX696604 as a memory overflow leading to unpredictable behavior and denial of service (NVD: CVSS 3.1 9.8, CVSS 4.0 8.8, CWE-119), alongside five other NetScaler CVEs (CVE-2026-8451, CVE-2026-8655, CVE-2026-10816, CVE-2026-10817, CVE-2026-13474). The article that prompted this record notes the CVE assignment was initially suspected rather than confirmed by Citrix; NVD and CISA subsequently list CVE-2026-8452 for this flaw.
Root cause (watchTowr Labs, 2026-08-14): when nsppe canonicalizes the SignedInfo element of a signed SAML message, it copies data into a fixed-size global buffer without bounds checking. The attacker-controlled PrefixList attribute of the InclusiveNamespaces element inside CanonicalizationMethod can hold an arbitrarily long list of unique space-separated tokens (the PoC used roughly 2,000 tokens N0..N1999). The oversized list overflows the buffer into the adjacent heap chunk metadata, making the neighbouring chunk's data pointer (offset +0x50) attacker-controlled. A later memcpy in splitPktInner() then uses that pointer as destination, giving a write-what-where primitive. Overwriting the function pointer tx_pkt_complete_fptr redirects execution via jmp rax to shellcode placed on an RWX heap.
Post-exploitation in the research PoC: shellcode first crashed nsppe, so signal handlers were neutralized with sigaction() syscalls to stop the automatic restart/reboot (the pitboss process monitor is referenced in third-party analysis). A PHP web shell initially ran as nobody; the SUID bit was set on /bin/sh to reach root, and a PHP web shell written to /var/vpn/theme/x.php survived process respawn.
In-the-wild activity: after the watchTowr write-up, CISA and secondary reporting describe opportunistic 'spray and pray' exploitation that drops web shells (x.php and z.php) and runs discovery commands (id, echo). Help Net Security reports multiple actors from three countries; Cloud Security Alliance reports 36 distinct attempts over 12 days from 12 unique source IPs (sources in Switzerland, Germany, Hong Kong, Japan, Netherlands, Russia, Singapore, Turkiye, United States and Vietnam). No source publishes the attacker IP addresses, hashes or domains, and no actor attribution has been made. Shadowserver tracks more than 22,000 internet-exposed NetScaler ADC and nearly 1,800 Gateway instances (not distinguishing vulnerable from patched). The patch adds explicit size checks around the buffer copies in SAML canonicalization (the patched code rejects an oversized SignedInfo, v73 >= 0x1001). Patching does not evict an attacker already present; defenders should hunt for unexpected PHP files, terminate sessions and rotate credentials on appliances that were exposed and unpatched.
MITRE ATT&CK techniques by tactic:
Discovery
T1033 System Owner/User Discovery
Execution
Initial Access
T1190 Exploit Public-Facing Application
Impact
T1499.004 Application or System Exploitation
Persistence
Privilege Escalation
defense-impairment
Remediation
Patches
- NetScaler ADC/Gateway 14.1-72.61 or later (14.1-73.32 and later cited as current)
- NetScaler ADC/Gateway 13.1-63.18 or later (13.1-63.21 and later cited as current)
- NetScaler ADC 14.1 FIPS 14.1-72.61 FIPS or later
- NetScaler ADC 13.1 FIPS/NDcPP 13.1-37.272 or later
Immediate actions
- Identify NetScaler appliances configured with 'add vpn vserver' (Gateway) or 'add authentication vserver' (AAA) and prioritize internet-facing ones
- Upgrade all nodes, including HA/cluster pairs, to fixed builds per CTX696604
- If patching is delayed, temporarily disable SAML context with: nsapimgr_wr.sh -ys call=ns_aaa_saml_disable_context
- Hunt for unexpected PHP files such as x.php and z.php, particularly under /var/vpn/theme/
- After patching, terminate active sessions and rotate credentials on appliances that were exposed while unpatched
Workarounds
- Disable SAML authentication if not required
- CVE-2026-13474 (same bulletin): set Http2SmallWndTimeout to 30 seconds on affected systems
Longer-term hardening
- Restrict SAML IdP/SP endpoints and management access to trusted networks or allow-lists
- Alert on nsppe crashes/restarts and on SAML requests with oversized PrefixList attributes (>4096 bytes)
- Maintain an inventory of NetScaler build numbers and subscribe to Citrix security bulletins
Affected and fixed versions
- Citrix (Cloud Software Group) — NetScaler ADC
Vulnerable versions: 14.1 before 14.1-72.61; 13.1 before 13.1-63.18; 14.1 FIPS before 14.1-72.61 FIPS; 13.1 FIPS/NDcPP before 13.1-37.272
Fixed in: 14.1-72.61; 13.1-63.18; 14.1-72.61 FIPS; 13.1-37.272 - Citrix (Cloud Software Group) — NetScaler Gateway
Vulnerable versions: 14.1 before 14.1-72.61; 13.1 before 13.1-63.18
Fixed in: 14.1-72.61; 13.1-63.18
Timeline
Last updated · revalidated 1× · latest source
- Citrix publishes bulletin CTX696604 and patched builds; CVE-2026-8452 is described as a memory overflow causing unpredictable behavior and denial of service on Gateway/AAA virtual servers.
- CSA Singapore alert AL-2026-082 lists CVE-2026-8452 (CVSS 8.8) among six NetScaler vulnerabilities and urges immediate patching.
- watchTowr Labs publishes a technical write-up showing the flaw is a SAML canonicalization heap overflow leading to unauthenticated root RCE, with a working exploit.
- Canadian Centre for Cyber Security updates its advisory to state that open-source reporting indicates in-the-wild exploitation of CVE-2026-8452.
- H-ISAC issues a TLP:White bulletin warning that a PoC exploit is available for CVE-2026-8452.
- Arctic Wolf bulletin reports no confirmed in-the-wild exploitation at that time and advises patching, disabling the SAML context and terminating sessions.
- Citrix publishes CTX696939 for CVE-2026-19489 and CVE-2026-19490 (authentication bypass, CVSS 9.3); fixed in 13.1-63.21 and 14.1-73.32, which are now the preferred patch targets for SAML-configured appliances.
- Bishop Fox publishes a non-crashing patch-verification method and the CVE-2026-8452-check tool: unpatched appliances return HTTP 500 error 43549, patched ones return HTTP 200 'Malformed Assertion sent to Netscaler'.
- CISA adds CVE-2026-8452 to the Known Exploited Vulnerabilities catalog after web-shell exploitation is observed.
- Help Net Security, BleepingComputer and CSA report spray-and-pray exploitation dropping locked-ioc-6 and locked-ioc-7 web shells and running id/echo discovery commands.
- Federal remediation deadline under CISA BOD 26-04 for CVE-2026-8452.
Update history
- 2026-10-15 — Citrix NetScaler ADC/Gateway SAML Heap Overflow Pre-Auth RCE (CVE-2026-8452) - Patch Verification and In-the-Wild Exploitation: What changed No field escalation. Exploitability stays ACTIVE and status ACTIVE. New indicators (10) Indicator values are withheld at this access level. New CVEs (0) Not added to cve_list.
Sources cited
- NVD - CVE-2026-8452 NVD (NIST) · Advisory · 2026-06-30
- Multiple Vulnerabilities in NetScaler Products (AL-2026-082) - CSA Singapore csa.gov.sg · Advisory · 2026-07-02
- H-ISAC TLP:White Threat Bulletin: PoC Exploit Available for Citrix NetScaler ADC and Gateway (CVE-2026-8452) aha.org · Advisory · 2026-08-17
- You're Back In The Room (Citrix NetScaler Pre-Auth RCE CVE-2026-8452(?)) - watchTowr Labs labs.watchtowr.com · Research · 2026-08-14
- Arctic Wolf Security Bulletin: CVE-2026-8452 arcticwolf.com · Vendor report · 2026-08-18
- CSA Research Note: CVE-2026-8452 NetScaler DoS Flaw Now Unauthenticated RCE labs.cloudsecurityalliance.org · Research · 2026-08-27
- CVE-2026-8452: Citrix NetScaler Exploited (KEV) - OpenVPN Blog blog.openvpn.net · Blog · 2026-08-27
- Citrix NetScaler CVE-2026-8452 Is in CISA KEV: Patch Before August 29 aicybr.com · Blog · 2026-08-27
- Previously patched Citrix NetScaler flaw exploited in the wild (CVE-2026-8452) - Help Net Security Help Net Security · News · 2026-08-27
- CISA: Hackers now exploiting Citrix NetScaler RCE flaw in attacks - BleepingComputer BleepingComputer · News · 2026-08-27
Other reports on CVE-2026-8452
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated .