Cisco Secure Email Gateway and Secure Email and Web Manager (AsyncOS Spam Quarantine)
CVE-2025-20393: AsyncOS Spam Quarantine unauthenticated root command execution
A crafted HTTP request to the Spam Quarantine feature gives an unauthenticated attacker root command execution on Cisco email appliances. Exploited as a zero-day since late November 2025 by a China-nexus group; fixed releases shipped January 15, 2026.
Published Updated Cisco advisory cisco-sa-sma-attack-N9bf4
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| Secure Email Gateway 14.2 and earlier | 15.0.5-016 or later |
| Secure Email Gateway 15.0 | 15.0.5-016 or later |
| Secure Email Gateway 15.5 | 15.5.4-012 or later |
| Secure Email Gateway 16.0 | 16.0.4-016 or later |
| Secure Email and Web Manager 15.0 and earlier | 15.0.2-007 or later |
| Secure Email and Web Manager 15.5 | 15.5.4-007 or later |
| Secure Email and Web Manager 16.0 | 16.0.4-010 or later |
| Secure Email Cloud | Not affected |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
The Spam Quarantine web interface on Cisco AsyncOS does not validate HTTP requests properly. An unauthenticated attacker can send a crafted request and run commands as root on the appliance. Cisco scores it CVSS 10.0.
This was a zero-day. Cisco Talos says a China-nexus group it tracks as UAT-9686 has exploited it since at least late November 2025. Cisco learned of the campaign on December 10, 2025 and published an advisory with no fix on December 17. Fixed releases came on January 15, 2026. Cisco says the flaw was found while resolving a TAC support case.
After getting in, the attackers installed a persistent Python backdoor (AquaShell), a reverse SSH tunnel (AquaTunnel), the Chisel proxy, and a log-cleaning tool (AquaPurge). Talos describes a limited subset of appliances being compromised, and the goal appears to be espionage. CISA lists ransomware use as unknown.
An email gateway sits on your mail flow, so a root compromise gives an attacker a foothold at your network edge and a view of mail passing through it.
Am I affected?
An appliance is affected only if all three are true:
- It runs a vulnerable AsyncOS release (see the table above).
- Spam Quarantine is configured and enabled. It is off by default.
- Spam Quarantine is reachable from the internet.
Cisco notes that deployment guides don’t require internet exposure of Spam Quarantine.
Check whether Spam Quarantine is enabled:
- Secure Email Gateway: Network > IP Interfaces, select the interface, and check whether the Spam Quarantine box is ticked.
- Secure Email and Web Manager: Management Appliance > Network > IP Interfaces, select the interface, and check the same box.
Then check from outside your network whether the Spam Quarantine port answers.
Not affected: Cisco Secure Email Cloud. Cisco knows of no exploitation against Cisco Secure Web.
What to do
-
Upgrade. Move to the first fixed release for your branch or later:
- Secure Email Gateway: 15.0.5-016, 15.5.4-012 or 16.0.4-016. Releases 14.2 and earlier must move to 15.0.5-016 or later.
- Secure Email and Web Manager: 15.0.2-007, 15.5.4-007 or 16.0.4-010. Releases 15.0 and earlier must move to 15.0.2-007 or later.
Use System Administration > System Upgrade in the web interface, or the CLI:
upgrade DOWNLOADINSTALLEach upgrade reboots the appliance. Secure Email Cloud customers can request upgrades through Cisco support.
-
There is no workaround. Cisco states that nothing mitigates the flaw directly. Until you patch, block internet access to the Spam Quarantine interface or allow only known, trusted hosts. This reduces exposure but is not a fix.
-
Harden the appliance, as Cisco recommends: put it behind a firewall, separate mail and management traffic onto different interfaces on Secure Email Gateway, disable HTTP on the main administrator portal and unneeded services such as FTP, and use strong end-user authentication such as SAML or LDAP.
-
If the appliance was exposed while vulnerable, assume it may be compromised. Cisco says upgrading clears the persistence mechanisms identified in this campaign, but the upgrade does not tell you whether someone was there. Open a Cisco TAC case to verify compromise, and keep remote access enabled on the appliance to speed up the investigation. Cisco urges customers to rebuild any appliance confirmed as compromised. Rotate credentials stored on or used by the appliance.
-
Forward logs to an external server and keep them long enough for investigations. AquaPurge removes lines from logs on the device.
Detection
Start with the exposure window: late November 2025 until the day you patched.
- Check for the AquaShell backdoor at
/data/web/euq_webui/htdocs/index.py. Talos says it is embedded in an existing file of the Python web server and listens for unauthenticated HTTP POST requests carrying encoded commands. - Look for connections to the Talos IPs
172.233.67[.]176,172.237.29[.]147and38.54.56[.]95, and for the AquaTunnel, AquaPurge and Chisel hashes listed above. A hit means open a TAC case. - Look for outbound reverse SSH or HTTP tunnel connections from the appliance to unfamiliar servers (AquaTunnel and Chisel).
- Review web logs for unexpected requests to the Spam Quarantine interface. Gaps or missing lines in logs fit AquaPurge, which uses inverted
egrepto strip lines containing chosen keywords. - Cisco lists Snort rules 65617, 65643, 65644 and 65645 as associated with this advisory.
- Talos names no log file paths and provides no standalone detection signatures. Cisco does not publish a self-check command, so a clean search is not proof the appliance is clean.
Indicators of compromise
Talos says it blocked these indicators across the Cisco portfolio. If you see connections to them, open a Cisco TAC case. The IPs are likely rented hosting, so a clean result doesn't clear a device.
The .txt list has one IP per line and a fixed address, so a firewall can pull it as an External Dynamic List: https://patchtonight.com/iocs/CVE-2025-20393.txt
| Indicator | Type | Reported by |
|---|---|---|
| 172.233.67[.]176 | IP | Cisco Talos |
| 172.237.29[.]147 | IP | Cisco Talos |
| 38.54.56[.]95 | IP | Cisco Talos |
| 2db8ad6e0f43e93cc557fbda0271a436f9f2a478b1607073d4ee3d20a87ae7ef | SHA-256AquaTunnel (SHA-256) | Cisco Talos |
| 145424de9f7d5dd73b599328ada03aa6d6cdcee8d5fe0f7cb832297183dbe4ca | SHA-256AquaPurge (SHA-256) | Cisco Talos |
| 85a0b22bd17f7f87566bd335349ef89e24a5a19f899825b4d178ce6240f58bfc | SHA-256Chisel (SHA-256) | Cisco Talos |
| /data/web/euq_webui/htdocs/index.py | File pathAquaShell backdoor location | Cisco Talos |
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
Page changelog
- Full analysis published.
KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.