CloudflareKenny JohnsonProblem & solution
Beyond the patch: Protecting your NetScaler gateway against future vulnerabilities
Summary
The recent disclosure of CVE-2026-88771 and CVE-2026-88772 in Citrix NetScaler Gateway allowed unauthenticated command execution, forcing administrators to balance patching urgency against potential disruption. The post argues that relying solely on emergency patches and WAF rules is reactive and insufficient as attackers increasingly use AI to discover novel variants and exploit them before signatures are deployed. Instead, it advocates for defense in depth by placing independent access controls, such as Cloudflare Access, in front of the authentication server so that attackers never reach the vulnerable gateway to attempt exploits. Additional measures include restricting origin connections via Cloudflare Tunnel or dedicated egress IPs, and validating Access JSON Web Tokens at the origin to guarantee that every request was authenticated by the access policy. The architecture also requires testing direct-origin access and alternate hostnames to confirm no bypass exists, and recommends periodic re-testing after configuration changes.
Context
The post addresses the recent CVE-2026-88771 and CVE-2026-88772 vulnerabilities in Citrix NetScaler Gateway that allow unauthenticated command execution, and argues that patching alone is insufficient due to the time and disruption required for full deployment.
Approach / What changed
Deploy Cloudflare Access as an independent access policy in front of the NetScaler Gateway, enforce origin connection restrictions via Cloudflare Tunnel or dedicated egress IPs, and optionally validate Access JSON Web Tokens at the origin to ensure all traffic was authenticated.
Takeaways
The NetScaler vulnerabilities CVE-2026-88771 and CVE-2026-88772 allow unauthenticated command execution, and patching requires careful balancing of security and availability.
Placing a Zero Trust access policy in front of the authentication server prevents attackers from reaching the vulnerable gateway, regardless of exploit signatures.
Origin connection must be restricted to prevent bypass; Cloudflare Tunnel or dedicated egress IPs with firewall rules can ensure all traffic comes through Cloudflare.
FAQ
How can I protect my NetScaler gateway before a patch is fully deployed?
Deploy Cloudflare Access in front of the gateway to enforce access policies before the request reaches the vulnerable server, combined with origin restrictions like Cloudflare Tunnel or dedicated egress IPs to prevent bypass.
What is the risk of not restricting origin connections?
If the origin can be reached via IP address or alternate hostname, attackers can bypass the access policy. Use Cloudflare Tunnel or dedicated egress IPs with firewall rules to ensure all traffic comes through Cloudflare.
How do I test that the access controls are working?
Test with a user outside the permitted group to confirm they cannot reach the application, and test direct-origin addresses to ensure they are blocked. Also test approved user authentication and desktop launch, and re-test after configuration changes.
Source and freshness
- Source
- blog.cloudflare.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.