Skip to main content
Mallory
CriticalVulnerability

CVE-2025-40604: Persistent Code Execution via Unverified Filesystem Images in SonicWall Email Security

Published Nov 20, 2025 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS0.21%11th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Sonicwall
IdentifiersCVE-2025-40604CWE-494 · Download of Code Without Integrity…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
SonicwallEmail Security Appliance 5000 Firmwareoperating_system
SonicwallEmail Security Appliance 5050 Firmwareoperating_system
SonicwallEmail Security Appliance 7000 Firmwareoperating_system
SonicwallEmail Security Appliance 7050 Firmwareoperating_system
SonicwallEmail Security Appliance 9000 Firmwareoperating_system
FAQ

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.
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.