CVE-2017-6316 in Citrix NetScaler Sd-Wan and 1 more product
Citrix NetScaler SD-WAN devices through v9.1.2.26.561201 allow remote attackers to execute arbitrary shell commands as root via a CGISESSID cookie. On CloudBridge (the former name of NetScaler SD-WAN) devices, the cookie name was CAKEPHP rather than CGISESSID.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Citrix | NetScaler Sd-Wan (device and firmware) | ≤ 9.1.2.26.561201 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official description
Citrix NetScaler SD-WAN devices through v9.1.2.26.561201 allow remote attackers to execute arbitrary shell commands as root via a CGISESSID cookie. On CloudBridge (the former name of NetScaler SD-WAN) devices, the cookie name was CAKEPHP rather than CGISESSID.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-6316 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-156395-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-07-20 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2017-6316 affects Citrix NetScaler SD-WAN devices up to version 9.1.2.26.561201, allowing remote attackers to execute arbitrary shell commands as root via a CGISESSID cookie. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a high EPSS score, suggesting a significant likelihood of exploitation.
The vulnerability can be exploited by an attacker who sends a specially crafted HTTP request with a CGISESSID (or CAKEPHP on CloudBridge devices) cookie that contains a command to be executed with root privileges. The attacker does not need any prior authentication, making this a highly dangerous remote code execution flaw.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all cookies, especially those related to session management. Consider using a web application firewall (WAF) to monitor and block suspicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2017-6316?
CVE-2017-6316 affects Citrix NetScaler SD-WAN devices up to version 9.1.2.26.561201, allowing remote attackers to execute arbitrary shell commands as root via a CGISESSID cookie. This vulnerability has a CVSS score of 9.8, indicating critical severity, and is listed in the KEV catalog with a high EPSS score, suggesting a significant likelihood of exploitation.
What is the CVSS score for CVE-2017-6316?
CVE-2017-6316 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 75.5%.
Is CVE-2017-6316 actively exploited?
Yes. CVE-2017-6316 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2017-6316?
Priority: IMMEDIATE.
What systems are affected by CVE-2017-6316?
CVE-2017-6316 affects Citrix NetScaler Sd-Wan.
What NERC-CIP standard applies to CVE-2017-6316?
NERC CIP CIP-007 CIP-007-R2: This CVE allows unauthorized access to control system devices, which could compromise the integrity and availability of critical infrastructure, violating the requirement for secure access controls.
What IEC 62443 requirement maps to CVE-2017-6316?
IEC 62443 SR 7.6: This vulnerability exposes the system to unauthorized command execution, which directly impacts the security requirements for preventing unauthorized access and ensuring the integrity of industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Citrix","product":"NetScaler Sd-Wan","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.