# CVE-2026-8452: NetScaler SAML memory overflow leading to pre-auth RCE

A memory overflow in NetScaler's SAML handling, rated as a denial of service by Citrix, can be turned into unauthenticated remote code execution. A watchTowr write-up followed on August 14, exploitation started around August 17, and CISA added it to KEV on August 26.

- Vendor: NetScaler, NetScaler ADC and Gateway (Gateway and AAA virtual servers)
- Severity: HIGH (CVSS 4.0 8.8)
- Exploited (CISA KEV): yes, added 2026-08-26
- EPSS: 3.6% on 2026-11-23
- Public exploit: yes
- Patch available: yes
- Vendor advisory: CTX696604, https://support.citrix.com/support-home/kbsearch/article?articleNumber=CTX696604
- Published: 2026-06-30; updated: 2026-10-12
- Page: https://patchtonight.com/cve/CVE-2026-8452/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NetScaler ADC and Gateway 14.1 | 14.1-72.61 or later |
| NetScaler ADC and Gateway 13.1 | 13.1-63.18 or later |
| NetScaler ADC 14.1-FIPS | 14.1-72.61 FIPS or later |
| NetScaler ADC 13.1-FIPS and 13.1-NDcPP | 13.1-37.272 or later |
| NetScaler 12.1 and 13.0 | No fix. Upgrade to a supported version |
| Citrix-managed cloud services and Adaptive Authentication | Not customer-managed; Cloud Software Group updates them |

## What it is

CVE-2026-8452 is a **heap memory overflow** (CWE-119) in the NetScaler packet engine, `nsppe`. Citrix's bulletin calls it a memory overflow that causes erroneous behavior and denial of service, and rates it 8.8 (CVSS v4.0). Citrix said nothing about code execution.

watchTowr Labs showed it goes further. When NetScaler checks a SAML message, it copies the `PrefixList` attribute of the `InclusiveNamespaces` element into a fixed-size buffer without checking the length. This happens **before the signature is validated**, so no login is needed. watchTowr chained the overflow into code execution in a lab and published fragments of the exploit on August 14. Arctic Wolf describes the result as remote code execution as root.

watchTowr is open about one uncertainty: it believes this is CVE-2026-8452, but several bugs were fixed in the same update, so the mapping is not certain. Citrix's own text matches a memory overflow on Gateway and AAA virtual servers.

Exploitation followed within days. Previdian saw its first attempts on August 17 and CISA added the CVE to KEV on August 26. Defused and Previdian reported web shells being dropped. Citrix's bulletin had not been updated to confirm exploitation at the time of the press coverage we found.

The same bulletin fixes CVE-2026-8451, a separate SAML memory overread that is also exploited. A later NetScaler bug, [CVE-2026-19490](/cve/CVE-2026-19490/), needs newer builds.

## Am I affected?

You're exposed if you run a customer-managed NetScaler on an affected build **and** it is set up as a Gateway or an AAA virtual server.

**Versions:** NetScaler ADC and Gateway 14.1 before 14.1-72.61, 13.1 before 13.1-63.18, ADC 14.1-FIPS before 14.1-72.61 FIPS, and 13.1-FIPS and 13.1-NDcPP before 13.1-37.272. Bishop Fox adds that 12.1 and 13.0 get no fix.

**Configuration.** Citrix says the appliance must be a Gateway (SSL VPN, ICA Proxy, CVPN, RDP Proxy) or an AAA virtual server. Search the configuration for these entries (Citrix):

```
add authentication vserver
add vpn vserver
```

**SAML is the real trigger.** watchTowr says the bug is unreachable unless the appliance uses SAML, as a service provider or an identity provider. Citrix's bulletin does not state this, so don't rule a device out just because it has no SAML action. Check with Citrix if you're unsure.

**Not affected:** Citrix-managed cloud services and Adaptive Authentication. Cloud Software Group updates those. Secure Private Access Hybrid deployments that use NetScaler instances should have those instances upgraded.

## What to do

1. **Upgrade tonight.** Go to 14.1-72.61 or later, 13.1-63.18 or later, 14.1-72.61 FIPS or later, or 13.1-37.272 or later on 13.1-FIPS and NDcPP. Pick the newest build on your branch, not just the minimum. [CVE-2026-19490](/cve/CVE-2026-19490/) needs 14.1-73.32 or 13.1-63.21 or later.
2. **Workarounds are weak.** Citrix lists none. Arctic Wolf suggests restricting access to Gateway and AAA virtual servers by IP, closing unneeded ports, and using a Global Deny List, and says disabling the SSL VPN portal is not a full mitigation. It also lists a command that disables SAML; we haven't confirmed it against Citrix documentation, so don't run it without checking with Citrix. Disabling SAML breaks SAML logins.
3. **After patching, end sessions** so anything an attacker holds is cut off (Arctic Wolf):

   ```
   kill aaa session -all
   kill icaconnection -all
   kill rdp connection -all
   ```

   Also clear load-balancer persistent sessions. Expect users to sign in again, and test client compatibility first.
4. **If the appliance was reachable and unpatched since August 14**, assume it may be compromised. Patching does not remove a web shell. Check the items below, and if you find anything, rebuild from a known-good image and rotate the secrets the appliance handled: LDAP bind accounts, SAML and certificate keys, and service accounts.
5. **Verify the patch.** Bishop Fox published a safe probe, `BishopFox/CVE-2026-8452-check` on GitHub. It sends one signed SAML request with an oversized `PrefixList` and reports vulnerable or patched. It can give false results, for example when no SAML policy is bound, so read their write-up first.

## Detection

Look back to at least **August 14, 2026**. Previdian's earliest hit was August 17, but the exploit was public from the 14th.

**On the appliance** (Bishop Fox and watchTowr):

- `/var/vpn/theme/x.php`, or **any unexpected file under `/var/vpn/theme/`**. This is the web shell path from the public proof of concept. Previdian saw web shells named `x.php` and `z.php`.
- The SUID bit set on `/bin/sh`, which the public chain also does.
- `nsppe: PE 0 (pid N) got signal 10` or `11` in `ns.log`, followed by `pitboss` reporting that it "unexpectedly died". Search rotated logs with `zgrep`.
- New `NSPPE-*` core files, found with `find /var/core -name 'NSPPE-*'`. They are large, about 2.3 GB on 14.1.

**A reboot proves nothing.** By default a packet engine crash reboots the appliance, and dropped files do not survive that. watchTowr's chain disables the signal handlers, so only `nsppe` restarts and the web shell stays. Bishop Fox also saw failed attempts that restarted only the packet engine. Judge by files and logs, not uptime.

**Attacker activity:** Previdian saw discovery commands such as `id` and `echo` run through the web shell. Look for requests to `x.php` or `z.php` and for HTTP access from addresses you don't recognise to anything under `/vpn/theme/`. We infer this from the reports; no source published request logs.

**On the network:** very large SAML messages, with a `PrefixList` of hundreds of bytes, sent to `/saml/login` or `/cgi/samlauth` (Bishop Fox) are worth flagging. Legitimate values are short.

No attacker IP addresses have been published openly. Previdian counts 107 attempts from 17 IPs in 13 countries (CH, DE, HK, IE, IN, JP, NL, RU, SA, SG, TR, US, VN) through October 12, so expect continued scanning.

## Sources

- [Citrix security bulletin CTX696604](https://support.citrix.com/external/article/CTX696604/netscaler-adc-and-netscaler-gateway-secu.html)
- [CVE record (CVE-2026-8452)](https://cveawg.mitre.org/api/cve/CVE-2026-8452)
- [CISA KEV alert, August 26](https://www.cisa.gov/news-events/alerts/2026/08/26/cisa-adds-six-known-exploited-vulnerabilities-catalog)
- [watchTowr Labs analysis](https://labs.watchtowr.com/youre-back-in-the-room-citrix-netscaler-pre-auth-rce-cve-2026-8452/)
- [Bishop Fox, verifying the patch](https://bishopfox.com/blog/no-crash-required-verifying-the-citrix-netscaler-saml-patch-for-cve-2026-8452)
- [Previdian exploitation data](https://previdian.com/CVE-2026-8452)
- [Arctic Wolf security bulletin](https://arcticwolf.com/resources/blog/citrix-netscaler-adc-gateway-critical-rce-vulnerability-cve-2026-8452/)
- [Field Effect, exploitation after PoC release](https://fieldeffect.com/blog/citrix-netscaler-flaw-exploited-following-poc-release)
- [Help Net Security, exploitation report](https://www.helpnetsecurity.com/2026/08/27/netscaler-adc-gateway-cve-2026-8452/)
- [SecurityWeek, exploitation report](https://www.securityweek.com/recent-citrix-netscaler-vulnerability-exploited-in-the-wild/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
