A critical, unauthenticated arbitrary file write vulnerability, CVE-2026-104286, has been discovered in Fortinet FortiMail secure email gateway appliances. The vulnerability is rated with a CVSS score of 9.8 (Critical) and is being actively exploited in the wild. An unauthenticated attacker can leverage this flaw to write arbitrary files to the underlying system, which can be used to achieve remote code execution (RCE). The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added this vulnerability to its Known Exploited Vulnerabilities (KEV) catalog, underscoring the urgency for organizations to take action. Patches are not yet available, but Fortinet has provided mandatory workarounds.
The vulnerability, CVE-2026-104286, is a combination of a path traversal weakness and an improper neutralization of NULL characters. By sending a specially crafted HTTP or HTTPS request to the FortiMail management interface, a remote, unauthenticated attacker can bypass security controls and write files to arbitrary locations on the filesystem. This provides a direct path to achieving RCE, for example, by writing a webshell or a malicious cron job to the device.
The vulnerability impacts a wide range of FortiMail versions:
Fortinet has announced that patches will be included in the upcoming versions 7.4.9, 7.6.7, and 8.0.2.
This is a zero-day vulnerability with confirmed active exploitation in the wild. Fortinet's own Product Security team discovered the flaw in response to observed attacks. On October 1, 2026, CISA added CVE-2026-104286 to its KEV catalog, requiring U.S. Federal Civilian Executive Branch agencies to apply mitigations by October 4, 2026. The availability of exploit details and the low complexity of the attack mean that widespread exploitation is highly likely.
Successful exploitation of this vulnerability grants an attacker a significant foothold within a target network. As a secure email gateway, FortiMail is a high-value target, often placed at the network perimeter with access to sensitive internal and external communications. Achieving RCE on such a device could allow an attacker to:
Fortinet has provided the following indicators of compromise associated with the exploitation of this vulnerability.
79.141.169.18745.129.0.192Security teams may want to hunt for the following patterns which could indicate related activity:
../) or NULL byte characters (%00) directed at the management interface./var/www/, /tmp/, or cron directories (/etc/cron.d/). Look for files with recent timestamps created by the web server user process.Detection:
Network Traffic Analysis is a key technique here..php, .sh), or cron jobs in unexpected locations. D3FEND's System File Analysis can help identify unauthorized modifications.sh, bash, curl, or wget originating from the web server should be considered highly suspicious.Response:
Since patches are not yet available, Fortinet has mandated the following workarounds. Organizations must apply one of these immediately.
Option 1: Disable IBE Feature (Recommended) Disabling the Identity-Based Encryption (IBE) feature mitigates the vulnerability. This can be done via the FortiMail command-line interface (CLI):
config system ibe
set status disable
end
Warning: Disabling IBE will impact email functionality that relies on this feature. Assess the impact before proceeding.
Option 2: Restrict Management Interface Access
If disabling IBE is not feasible, restrict access to the FortiMail web management interface (HTTPS Admin) to a set of trusted IP addresses. This can be configured in the firewall policy or directly on the device's network interface settings. This is a critical compensating control that aligns with D3FEND's Inbound Traffic Filtering.
Long-Term Mitigation:
Apply patches for affected FortiMail versions as soon as they become available.
Restrict web access to the FortiMail management interface to trusted networks and IP addresses only.
Use a web application firewall (WAF) to inspect traffic to the management interface for malicious patterns like path traversal.
CISA adds CVE-2026-104286 to its Known Exploited Vulnerabilities (KEV) catalog.
Fortinet discloses the vulnerability and active exploitation, providing workarounds.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.