---
id: CVE-2025-65318
title: >-
  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…
summary: >-
  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…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-693
vendor: canarymail
product: canary_mail
affected:
  - canary_mail <= 5.1.40
published: '2025-12-16'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-65318'
references:
  - url: 'https://drive.google.com/file/d/14wrTzvcLPfFsWmy-SAtDwwZKKPssBsx5/view'
    label: cve@mitre.org
  - url: 'https://github.com/bbaboha/CVE-2025-65318-and-CVE-2025-65319'
    label: cve@mitre.org
  - url: 'https://github.com/nickvourd/RTI-Toolkit'
    label: cve@mitre.org
  - url: 'https://github.com/bbaboha/CVE-2025-65318-and-CVE-2025-65319'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - exploit-available
epss: 0.0056
epssPercentile: 0.44236
ingestedAt: '2026-07-06T16:44:34.486Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/bbaboha/CVE-2025-65318-and-CVE-2025-65319'
  checkedAt: '2026-09-26T09:05:34.619Z'
exploitAvailable: true
---

## Overview

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.

## Affected

- `canary_mail <= 5.1.40`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
