Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104286 Overview
CVE-2026-104286 is a path traversal vulnerability [CWE-22] in Fortinet FortiMail that allows unauthenticated attackers to write arbitrary files on the underlying system. The flaw affects FortiMail versions 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, and 7.2.0 through 7.2.9. Attackers exploit the issue through crafted HTTP or HTTPS requests sent to the appliance management interface. CISA has added CVE-2026-104286 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild.
Critical Impact
Unauthenticated attackers can write arbitrary files to the FortiMail filesystem over the network, enabling remote code execution, configuration tampering, and full appliance compromise.
Affected Products
- Fortinet FortiMail 8.0.0 through 8.0.1
- Fortinet FortiMail 7.6.0 through 7.6.6, and 7.4.0 through 7.4.8
- Fortinet FortiMail 7.2.0 through 7.2.9
Discovery Timeline
- 2026-10-01 - CVE-2026-104286 published to the National Vulnerability Database
- 2026-10-07 - Last updated in NVD database
- 2026-10-08 - EPSS data published, indicating active exploitation likelihood in the 81.9th percentile
- Confirmed - CISA added CVE-2026-104286 to the Known Exploited Vulnerabilities catalog
Technical Details for CVE-2026-104286
Vulnerability Analysis
The vulnerability resides in FortiMail's HTTP/HTTPS request handling logic on the management interface. The application fails to properly sanitize path components supplied by remote clients. An attacker can submit a request containing directory traversal sequences such as ../ to escape the intended working directory. The server then writes attacker-controlled content to arbitrary filesystem locations on the appliance.
Because the vulnerable endpoint does not require authentication, exploitation requires only network reachability to the FortiMail web interface. Successful file write primitives on an appliance typically chain into remote code execution by overwriting executable scripts, cron entries, systemd units, or web-exposed resources. The result is full compromise of a mail security gateway that handles sensitive corporate communications.
Root Cause
The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. FortiMail accepts file path or filename parameters from HTTP request bodies or URL components without canonicalizing the resulting path or validating it against an allowlist of permitted destinations. Traversal sequences and absolute path references pass through the input layer and reach filesystem write operations unchanged.
Attack Vector
The attack vector is network-based and requires no credentials or user interaction. An attacker crafts an HTTP or HTTPS request to the FortiMail management interface containing a path parameter with directory traversal payloads. The appliance processes the request and writes the attacker-supplied content to the target location. From there, the attacker triggers execution of the planted file through a secondary request or waits for a scheduled task to execute it.
See the Fortinet Security Advisory FG-IR-26-175 for vendor-published technical details.
Detection Methods for CVE-2026-104286
Indicators of Compromise
- HTTP or HTTPS requests to the FortiMail management interface containing ../, ..\, URL-encoded traversal sequences (%2e%2e%2f), or absolute paths in POST bodies or query parameters.
- Unexpected files appearing in FortiMail web root, cron directories, startup scripts, or configuration paths.
- Outbound connections from the FortiMail appliance to unfamiliar external hosts following suspicious inbound HTTP activity.
- New or modified administrative accounts and SSH authorized_keys entries on the appliance.
Detection Strategies
- Inspect FortiMail HTTP access logs for request URIs and body parameters containing path traversal patterns.
- Correlate inbound requests to the management interface with filesystem change events on the appliance.
- Alert on any HTTP POST or PUT requests to administrative endpoints from source IPs outside your management network.
Monitoring Recommendations
- Forward FortiMail syslog and HTTP audit logs to a centralized SIEM for retention and correlation.
- Baseline normal administrative traffic patterns and alert on deviations in request volume or source geolocation.
- Monitor the CISA Known Exploited Vulnerabilities catalog entry for CVE-2026-104286 for updated indicators.
How to Mitigate CVE-2026-104286
Immediate Actions Required
- Upgrade FortiMail to a fixed release as specified in Fortinet Security Advisory FG-IR-26-175.
- Restrict access to the FortiMail HTTP/HTTPS management interface to trusted management networks using firewall ACLs.
- Review FortiMail filesystem, cron entries, scheduled tasks, and administrative accounts for signs of tampering.
- Rotate administrative credentials, API tokens, and certificates stored on any potentially compromised appliance.
Patch Information
Fortinet has released fixed firmware versions addressing CVE-2026-104286. Refer to Fortinet Security Advisory FG-IR-26-175 for the complete upgrade matrix mapping each affected 7.2, 7.4, 7.6, and 8.0 branch to its remediated release. CISA KEV listing requires federal agencies to remediate within the mandated timeline.
Workarounds
- Disable the FortiMail HTTP/HTTPS administrative interface on untrusted network segments until patching is complete.
- Place the management interface behind a VPN or jump host that enforces strong authentication.
- Deploy upstream web application firewall rules to block requests containing path traversal sequences targeting FortiMail management URIs.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

