Skip to main content

Canary Mail CVE-2025-65318

CRITICAL
Protection Mechanism Failure (CWE-693)
2025-12-16 cve@mitre.org
9.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious attachment (macro doc/script)
  2. Delivery
    Email it to Canary Mail Windows user
  3. Exploit
    Victim saves attachment via client
  4. Install
    File written without Mark-of-the-Web
  5. C2
    Victim opens file, SmartScreen/Protected View bypassed
  6. Execute
    Payload executes as trusted
  7. Impact
    Host 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Low
consumer/prosumer email client, modest niche footprint, especially on Windows
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:canarymail:canary_mail:*:*:*:*:*:windows:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy