Fortinet FortiMail: CVE-2026-104286 #

Fortinet disclosed that certain versions of FortiMail contain an improper limitation of a pathname to a restricted directory ('path traversal') and improper neutralization of NULL byte vulnerabilities. These flaws allow an unauthenticated, remote attacker to write arbitrary files to the underlying system via crafted HTTP or HTTPS requests. This vulnerability has been designated CVE-2026-104286 and has been rated critical with a CVSS score of 9.8.

Evidence indicates that this vulnerability is actively exploited in the wild, leading to its addition to the CISA Known Exploited Vulnerabilities (KEV) catalog on October 1, 2026.

The following versions are affected

  • FortiMail 8.0: Versions 8.0.0 through 8.0.1
  • FortiMail 7.6: Versions 7.6.0 through 7.6.6
  • FortiMail 7.4: Versions 7.4.0 through 7.4.8
  • FortiMail 7.2: Versions 7.2.0 through 7.2.9

What is Fortinet FortiMail? #

FortiMail is Fortinet's email security appliance, providing antispam, antivirus, and data loss prevention capabilities for inbound and outbound mail traffic.

What is the impact? #

Successful exploitation of these vulnerabilities would allow an unauthenticated, remote attacker to write arbitrary files to the underlying system, potentially leading to unauthorized system compromise or loss of availability.

Are any updates or workarounds available? #

Users are encouraged to update to the latest version as quickly as possible:

  • FortiMail 8.0: Upgrade to version 8.0.2 or later.
  • FortiMail 7.6: Upgrade to version 7.6.7 or later.
  • FortiMail 7.4: Upgrade to version 7.4.9 or later.
  • FortiMail 7.2: Upgrade to the 7.4 branch or later.

Workaround:

  • Disable Identity-Based Encryption (IBE) support using the CLI. Consult the vendor advisory for further details.
  • Alternatively, disable access to the FortiMail management interface from the internet or restrict access to a trusted private network.

Finding exposed Fortinet FortiMail appliances with runZero #

From the Asset Inventory, use the following query to locate potentially impacted assets:

hw:="Fortinet FortiMail"

Written by Matthew Kienow

Matthew Kienow is a software engineer and security researcher. Matthew previously worked on the Recog recognition framework, AttackerKB as well as Metasploit's MSF 5 APIs. He has also designed, built, and successfully deployed many secure software solutions; however, often he enjoys breaking them instead. He has presented his research at various security conferences including DerbyCon, Hack In Paris, and CarolinaCon. His research has been cited by CSO, Threatpost and SC Magazine.

More about Matthew Kienow
Subscribe Now

Get the latest news and expert insights delivered in your inbox.

Welcome to the club! Your subscription to our newsletter is successful.

Explore more runZero

Product
runZero 5.1 is here: Secure AI workflows, enhanced integrations, and expanded autonomous discovery
runZero 5.1 takes on the heavy lifting across five key areas, enabling you to unmask and remediate exposures with less friction and more speed.
Podcasts
Know Your Adversary with HD Moore
runZero CEO HD Moore breaks down the myth of air-gapped networks, the impact of AI on security, and why asset connectivity is everything.
runZero Perspective
BOD 26-04: A new era of prioritized remediation
A complete breakdown of CISA's BOD 26-04 directive. Learn how the shift to SSVC, risk-based KEV prioritization, and 3-day remediation impacts your...
runZero Perspective
Dawn of the apex agentic adversary
When agentic AI can weaponize exploits in seconds, visibility is everything. Stop the predator with runZero’s exposure management for the AI-attack...
Podcasts
Risky Biz: HD Moore talks OT security, frontier fearmongering and more
Patrick Gray chats with industry legend HD Moore about how his company runZero wound up being used heavily to discover OT devices in enterprise...
Webcasts
runZero Hour, Ep. 34: Vulnerability vibes: Disclosures, meetups, and the AI evolution
Watch the runZero Hour replay: separating AI "slop" from real vulnerability insights, running local hacker meetups, and analyzing the top monthly...
Product Videos
Custom integrations at AI speed
Build custom exposure management integrations on your terms. runZero 5.1 lets you leverage your choice of AI to create, adapt, and secure your...
Webcasts
runZero Hour, Ep. 33: Hacker Summer Camp: we survived the Vegas heat (and the bugs)
In this post-Hacker Summer Camp recap, the runZero team break down the research, tools, and trends discussed at BSides Las Vegas, Black Hat and DEF...

See Results in Minutes

See & secure your total attack surface. Even the unknowns & unmanageable.