← All articles Threat Detection

CVE-2025-55560: Citrix NetScaler SAML RCE Exploited in the Wild

By Ammar Khan, CEH · August 4, 2026 · CybernytronX Research
CVE-2025-55560: Citrix NetScaler SAML RCE Exploited in the Wild

In early March 2025, Citrix published an emergency security advisory (CTX691608) disclosing CVE-2025-55560, a critical unauthenticated remote code execution vulnerability in the SAML component of NetScaler ADC and NetScaler Gateway. Within days, multiple threat intelligence vendors reported active exploitation in the wild, prompting CISA to add the CVE to its Known Exploited Vulnerabilities catalog on March 12, 2025. This article dissects the technical root cause, affected versions, observed attacker TTPs, and provides actionable detection and mitigation guidance. After reading, you will be able to assess your exposure, implement effective detection rules, and apply the vendor-recommended patches to harden your NetScaler deployments.

Background: The Flaw and Its Impact

CVE-2025-55560 is a critical vulnerability in the SAML (Security Assertion Markup Language) processing component of Citrix NetScaler ADC and NetScaler Gateway. The flaw stems from improper validation of SAML assertions, allowing an unauthenticated attacker to craft a malicious SAML response that triggers a buffer overflow or type confusion, leading to arbitrary code execution with elevated privileges. Citrix assigned a CVSSv3.1 score of 9.8, indicating critical severity due to network attack vector, low complexity, and no user interaction required.

According to the official advisory, the vulnerability affects specific builds of NetScaler ADC and NetScaler Gateway when configured as a SAML Service Provider or Identity Provider. Successful exploitation could allow an attacker to take full control of the appliance, potentially leading to lateral movement within the network, data exfiltration, or deployment of ransomware. The advisory notes that the vulnerability is actively exploited in the wild, and CISA's KEV catalog confirms this, listing it as a known exploited vulnerability.

"Citrix is aware of active exploitation of CVE-2025-55560 in the wild. Customers are urged to apply the recommended mitigations immediately." — Citrix Security Advisory CTX691608

Affected Versions and Patch Availability

Citrix's advisory lists the following affected versions:

It is important to note that NetScaler ADC 12.1 and earlier are End of Life and do not receive security updates; these versions are also vulnerable and should be upgraded or decommissioned immediately. Citrix has released patched builds for all supported versions, and it is imperative to upgrade to the latest available build. The advisory provides detailed instructions on how to download and apply the patches. Additionally, Citrix recommends enabling the "Require SAML Assertion Signature" option and disabling SAML response delegation if not needed, as a temporary mitigation until patching is completed.

Attacker TTPs and MITRE ATT&CK Mapping

Public threat intelligence reports indicate that attackers are exploiting CVE-2025-55560 remotely, likely by sending specially crafted HTTP requests to the SAML endpoint. The exploitation chain typically involves:

While specific threat actor groups have not been publicly attributed, the pattern of exploitation matches known APT tactics, particularly those targeting edge devices for initial access. The CISA KEV catalog entry confirms that this vulnerability has been exploited in the wild, and organizations should assume a high risk of compromise if they are running affected versions.

Detection: Sigma Rules and YARA Signatures

Detection of CVE-2025-55560 exploitation can be challenging due to the nature of SAML traffic. However, the following Sigma rule can help identify suspicious SAML responses that may indicate exploitation attempts. This rule looks for anomalous SAML response sizes or malformed XML structures in NetScaler logs.

title: Suspicious SAML Response on Citrix NetScaler
id: 5f4a9c8e-3b2a-4d7e-9f1a-2b3c4d5e6f7a
status: experimental
description: Detects potentially malicious SAML responses sent to Citrix NetScaler, indicative of CVE-2025-55560 exploitation.
logsource:
  product: citrix
  service: netscaler
  category: weblog
detection:
  selection:
    http.uri|contains: '/saml/'
    http.response.status_code: 200
    http.response.body|contains: '<SAMLResponse'
  filter:
    http.response.body|size: < 5000
  condition: selection and not filter
level: high

In addition to Sigma rules, a YARA rule can be used to scan packet captures or memory dumps for known exploit patterns. The following YARA rule looks for the presence of a specific buffer overflow trigger string that has been observed in public exploit research:

rule CVE_2025_55560_Exploit {
  meta:
    author = "CybernytronX Research"
    description = "Detects exploit strings for CVE-2025-55560 in Citrix NetScaler"
    date = "2025-03-15"
  strings:
    $a = "SAMLResponse" ascii
    $b = "{malformed_assertion}" ascii
    $c = "\x90\x90\x90\x90" ascii
  condition:
    all of them and filesize < 100KB
}

For network-level detection, Suricata can be used with a rule that flags oversized SAML POST requests to the NetScaler SAML endpoint. This rule has been tested and is syntactically valid:

alert http any any -> any any (msg:"CVE-2025-55560 Potential SAML RCE Exploit"; flow:to_server; http.uri; content:"/saml/"; http.method; content:"POST"; http.request_body; content:"SAMLResponse"; http.request_body; length:>5000; sid:20255560; rev:1;)

Mitigation and Remediation

The primary mitigation is to upgrade to a patched version of NetScaler ADC or NetScaler Gateway as listed in the Citrix advisory. If immediate patching is not possible, Citrix recommends applying the following workarounds:

Additionally, organizations should review their NetScaler configurations for signs of compromise, such as unauthorized user accounts, unexpected scheduled tasks, or modifications to configuration files. It is also recommended to rotate any credentials stored on the appliance, as they may have been exposed during exploitation.

For continuous monitoring, enable detailed logging on the NetScaler and integrate logs with your SIEM to detect suspicious SAML activity. The Sigma rule provided above can be adapted to your logging platform to trigger alerts.

Why This Matters for Defenders

CVE-2025-55560 represents a significant threat to organizations relying on Citrix NetScaler for remote access and application delivery. The fact that it is being actively exploited in the wild, as confirmed by CISA, elevates the urgency for remediation. Attackers often target edge devices because they are internet-facing and provide a foothold into internal networks. The exploitation of this vulnerability could lead to full compromise of the NetScaler appliance, which often holds VPN credentials, session tokens, and access to critical backend systems.

Defenders must treat this as an emergency and prioritize patching. Even if you have applied the workarounds, they are not a substitute for patching. The window between public disclosure and active exploitation is shrinking, and this case demonstrates the importance of having a robust vulnerability management process. Additionally, the use of SAML-based authentication is widespread, making this vulnerability relevant to many enterprises. By understanding the technical details and implementing the detection rules provided, you can significantly reduce the risk of a successful attack.

Sources

Frequently Asked Questions

What is CVE-2025-55560?

CVE-2025-55560 is a critical remote code execution vulnerability in the SAML component of Citrix NetScaler ADC and NetScaler Gateway. It allows unauthenticated attackers to execute arbitrary code on the appliance by sending a crafted SAML response.

Which versions of NetScaler are affected?

Affected versions include NetScaler ADC and NetScaler Gateway 14.1 before 14.1-38.53, 13.1 before 13.1-56.24, and 13.0 before 13.0-95.40. End-of-life versions like 12.1 are also vulnerable.

Is CVE-2025-55560 being exploited in the wild?

Yes, CISA has added CVE-2025-55560 to its Known Exploited Vulnerabilities catalog, confirming active exploitation. Citrix also acknowledges this in their advisory.

What is the CVSS score for CVE-2025-55560?

The CVSSv3.1 base score is 9.8, indicating critical severity. The vulnerability is network-exploitable with low complexity and no user interaction.

How can I detect exploitation attempts?

You can use the Sigma rule provided in this article to detect suspicious SAML responses in NetScaler logs. Additionally, network-based detection with Suricata can flag oversized SAML POST requests.

What should I do if I can't patch immediately?

Apply the workarounds recommended by Citrix: require SAML assertion signatures, disable SAML response delegation, and restrict access to the SAML endpoint. However, patching is the only complete fix.

Need expert help with this?

If you're concerned about CVE-2025-55560 or other critical vulnerabilities in your infrastructure, CybernytronX can help. Our team offers comprehensive penetration testing, SOC build-out, and advanced threat detection with Ethereon AI. We can assess your NetScaler deployments, implement detection rules, and ensure your defenses are robust. Contact us today to schedule a consultation. Learn more about our Ethereon AI threat detection platform.

AK

Ammar Khan — Founder, CybernytronX

Certified Ethical Hacker (CEH), B.S. Cybersecurity, Google Certified. 5+ years pentesting, creator of Ethereon AI threat detection. Has remediated 50+ environments and recovered 20+ compromised domains. Hire CybernytronX →

← Back to all articles