CVE-2025-40604: Persistent Code Execution via Unverified Filesystem Images in SonicWall Email Security
- Vendor
- Sonicwall
CVE-2025-40604 is a code integrity verification vulnerability in SonicWall Email Security appliances. The appliances load root filesystem images without verifying their signatures, allowing an attacker with access to modify the appliance's VMDK or backing datastore to alter system files. Loading a tampered image can result in persistent arbitrary code execution. The vulnerability is rated High with a CVSS score of 7.2.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the integrity of the appliance's root filesystem and enables persistent arbitrary code execution. Malicious modifications to system files can persist within the appliance image rather than being limited to a running process.
Mitigation
If you can’t patch tonight, do this now.
No vendor-documented workaround is identified. As an interim risk-reduction measure, restrict access to appliance virtual disks and underlying datastores to trusted administrators and prevent unauthorized modification of filesystem images. These controls do not replace the vendor update.
Remediation
Patch, then assume compromise.
Apply the SonicWall Email Security updates associated with advisory SNWLID-2025-0018. Fixed releases are identified as 10.0.34.8215 or 10.0.34.8223, as applicable to the deployment. Listed appliance platforms include ES 5000, 5050, 7000, 7050, 9000, VMware, and Hyper-V.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2025-40604 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2025-40604 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-40604?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-40604.
- Is there a patch for CVE-2025-40604?
- Apply the SonicWall Email Security updates associated with advisory SNWLID-2025-0018. Fixed releases are identified as 10.0.34.8215 or 10.0.34.8223, as applicable to the deployment.
- What products are affected by CVE-2025-40604?
- Sonicwall Email Security Appliance 5000 Firmware, Sonicwall Email Security Appliance 5050 Firmware, Sonicwall Email Security Appliance 7000 Firmware, Sonicwall Email Security Appliance 7050 Firmware, and Sonicwall Email Security Appliance 9000 Firmware.
- How severe is CVE-2025-40604?
- CVE-2025-40604 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.21% (11th percentile) as of Nov 19, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.