Citrix NetScaler SAML login can overread memory and leak data (CVE-2026-8451)
The NetScaler SAML authentication endpoint can read beyond input buffers and return arbitrary memory contents via a cookie.
Security & privacy watchTowr Labs 30 Jun 2026 Disclosure Prototype evidence
Published as “CitrixBleed To Infinity And Beyond (Citrix NetScaler Pre-Auth Memory Overread CVE-2026-8451)”
Why it matters
The infoleak primitive could be combined with other bugs to achieve full device compromise.
Summary
The authors examined the XML attribute parser used by the NetScaler SAML login endpoint and discovered that malformed, unquoted attribute values cause the parser to read past the end of the request buffer. By crafting SAML AuthnRequest messages with newlines or missing terminators, they caused the parser to overread and embed the leaked bytes into the NSC_TASS cookie. Their proof-of-concept on a lab NetScaler appliance shows a few bytes of out-of-bounds data can be extracted, and they provide a Python script to automate detection.
What they found 1
- The XML parser reads past the intended attribute bounds and returns the data in a cookie
“The parser is no longer just reading extra XML. It's pulling arbitrary binary data from beyond the end of the XML buffer and happily appending it to the parsed value.”
Caveats 3
- The overread terminates on control characters, so only a few bytes can be leaked per request
- Leak size is limited because the read stops on NULL or '>' characters
- The exploit was demonstrated only on a lab NetScaler appliance, not in the wild
What’s new here 4
- Identification of CVE-2026-8451, a pre-auth memory overread in NetScaler SAML login
- Demonstration that unquoted XML attributes allow reading beyond the request buffer
- Leakage of arbitrary memory bytes via the NSC_TASS cookie
- Release of a detection script for the vulnerability