Skip to content
Access control Write-up Advanced

Mind the Config: Detecting and Weaponizing NetScaler CVE-2026-19490

An authentication bypass in Citrix NetScaler ADC and Gateway's SAML handling lets an unauthenticated attacker send a crafted RelayState parameter to make the appliance create an anonymous session. Depending on configuration, this can lead to denial of service, internal network access via SSRF, or root command execution if management credentials are weak.

bishopfox.com

Published on bishopfox.com

On August 19, 2026, Citrix published CTX696939, covering two vulnerabilities in NetScaler ADC and Gateway. CVE-2026-19490 is the more severe of the pair, a CWE-288 authentication bypass scoring CVSS 9.3 (Critical), described by the vendor as an “authentication bypass using an alternate path” reachable on a Gateway or…

The author, on bishopfox.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SAML handler uses the decoded length of the RelayState parameter as an internal status code after signature verification fails, instead of a fixed error constant, allowing the attacker to select which internal branch executes.

Impact

An attacker could cause a denial of service on any vulnerable appliance, and depending on configuration, could gain an anonymous session that acts as an HTTP(S) proxy into the internal network, potentially leading to root command execution if management credentials are weak.

What the attacker needed

NetScaler ADC or Gateway with SAML configured; Network access to the SAML endpoint; For SSRF: defaultAuthorizationAction set to ALLOW; For root: weak management credentials

The fix

The vulnerability was fixed in versions 13.1-63.21 and 14.1-73.32 by replacing the attacker-controlled length with a fixed error constant.

How it was found

  1. Send a SAML POST to /cgi/samlauth with a RelayState that decodes to a chosen length and a dummy SAMLResponse.
  2. Observe the response to determine which internal branch is reached (e.g., crash, error, session creation).
  3. For session creation, use a length that reaches post-login code (e.g., 16) to obtain an anonymous session cookie on a Gateway virtual server.
  4. Use the session to access the clientless VPN proxy and fetch internal resources if defaultAuthorizationAction is ALLOW.
  5. If management credentials are weak, log in to NITRO through the proxy and use the cron file interface to execute commands as root.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

NetScaler is a gateway that sits at the edge of a network and handles logins. A bug in how it processes a SAML login parameter called RelayState lets an attacker skip authentication and get an anonymous session. What that session can do depends on how the appliance is set up, ranging from crashing it to reaching internal systems.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.