Canary Mail
CVE-2025-65318
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious attachment (macro doc/script)
-
DeliveryEmail it to Canary Mail Windows user
-
ExploitVictim saves attachment via client
-
InstallFile written without Mark-of-the-Web
-
C2Victim opens file, SmartScreen/Protected View bypassed
-
ExecutePayload executes as trusted
-
ImpactHost compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Exploitation requires the victim to use Canary Mail 5.1.40 or earlier on Windows and to use the client's attachment-interaction/save functionality to write the attacker's file to the file system-that save path is the exact feature that fails to apply the Mark-of-the-Web tag. The attack is limited by required user interaction: the target must receive the malicious attachment, choose to save it via Canary Mail, and then open/execute it for the bypass to have effect; it is platform-limited to Windows (MOTW is an NTFS/Windows concept) and version-limited to <=5.1.40. It does not grant code execution on its own-it only removes the untrusted-file marking that downstream Windows/third-party defenses rely on. |
| Impact | The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H, base 9.1) rates this near-critical, but that scoring is optimistic for a MOTW-omission bug: real-world exploitation requires the victim to receive, save, and then open/execute the attachment, so meaningful user interaction is involved (UI:N in the published vector is questionable and should be treated as UI:R). The vulnerability is an enabler rather than a direct code-execution primitive-its impact is realized only when a downstream malicious file (macro doc, script, executable) runs without its normal warning. Corroborating signals temper the raw score: EPSS is low (0.48%), it is absent from CISA KEV, and while public POC code exists on GitHub and Google Drive, POC availability is not active exploitation. Net: a legitimate defense-in-depth weakness worth patching-especially in phishing-heavy environments-but not an emergency drop-everything issue on the level a 9.1 alone would imply. Verify the true impact scope with the vendor, as CVSS C:H/I:H overstates direct effect for a protection-bypass class flaw. |
| Exploit ScenarioDerived | An attacker emails a weaponized macro document or script to a Canary Mail (Windows) user; when the victim saves the attachment via the client, it lands on disk without the Mark-of-the-Web tag. The victim opens it and Office/SmartScreen skip their usual 'file from the internet' warnings and macro-blocking, so the payload executes as if it were locally trusted. Public POC code demonstrating the MOTW omission is available on GitHub (bbaboha/CVE-2025-65318-and-CVE-2025-65319). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Protection-mechanism bypass in Canary Mail 5.1.40 and earlier on Windows lets attacker-supplied email attachments be written to disk without the Mark-of-the-Web (MOTW) NTFS tag, so files that reach a victim through the mail client are treated as trusted local content rather than internet-originated. This defeats SmartScreen, Office Protected View, and other MOTW-aware defenses in Windows and third-party software, materially easing malware delivery. Publicly available exploit code exists; the issue is not listed in CISA KEV and EPSS is low (0.48%, 38th percentile), indicating no evidence of widespread active exploitation.
RemediationAI
Upgrade Canary Mail on Windows to a release later than 5.1.40 once the vendor publishes a fixed build; no exact patched version number is confirmed in the available data, so validate the fixed version directly with Canary Mail before deploying (Patch available per vendor advisory could not be confirmed-treat as No vendor-released patch version independently confirmed at time of analysis). Until a fix is confirmed, apply compensating controls: instruct users to save attachments only through a browser or another MOTW-aware client rather than the Canary Mail save function; enforce Office 'Block macros from files from the Internet' and Protected View by Group Policy so untrusted documents are gated even when MOTW is absent (trade-off: does not help executables/scripts and may prompt more user friction); use EDR/AV application-control rules to block execution of freshly written files from mail-attachment directories (trade-off: can interfere with legitimate workflows); and reinforce phishing awareness since delivery still depends on user action. Monitor http://canarymail.com for the security fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw sits in Canary Mail's attachment-interaction/save routine on Windows. When an application downloads or writes a file that originates from the internet, it is expected to set the Zone.Identifier Alternate Data Stream (the Mark-of-the-Web) so downstream security controls-Microsoft Defender SmartScreen, Office Protected View, macro-blocking, and various EDR/AV heuristics-know the file is untrusted. Canary Mail omits this tag, so saved attachments inherit local-zone trust. The root cause maps to CWE-693 (Protection Mechanism Failure): the vulnerability is not memory corruption but the absence of an expected safeguard, causing the OS and third-party tools to skip their untrusted-file warnings and execution restrictions. The affected component per NVD CPE is cpe:2.3:a:canarymail:canary_mail on the Windows platform only.
Know when Canary Mail gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remote attacker delivers an attachment (AV:N/PR:N) but the victim must save and open it, so UI:R rather than UI:N; C/I:H reflect the code-execution the bypass enables, A:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
When using the attachment interaction functionality, Canary Mail 5.1.40 and below saves documents to a file system without a Mark-of-the-Web tag, which allows attackers to bypass the built-in file protection mechanisms of both Windows OS and third-party software.
Executive ViewAI
Canary Mail versions 5.1.40 and earlier on Windows contain a critical vulnerability (CVSS 9.1) that allows attackers to bypass Windows security controls (SmartScreen, Office Protected View) via specially crafted email attachments. Publicly available exploit code can be used to deliver malware through the mail client, and no vendor-released patch has been identified at time of analysis. Immediate mitigation is required to prevent exploitation.
Discontinue Canary Mail and migrate to Windows Mail or Outlook; if unavoidable: implement email gateway rules blocking dangerous attachment types; deploy endpoint detection for executable launches from Canary Mail temporary directories; ensure Windows Defender SmartScreen and Office Protected View remain enabled.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
NVD
CVE.org
EPSS
GitHub
Exploit-DB