9.8
CVSS critical score -- unauthenticated path traversal in FortiMail with no user interaction required and network-level reachability
0
patches shipped as of October 3, 2026 -- fixed builds for FortiMail 7.2, 7.4, 7.6, and 8.0 are still pending from Fortinet
October 4
CISA deadline for federal civilian agencies to apply FG-IR-26-175 workarounds or take FortiMail management interfaces offline
4
FortiMail major version branches affected -- every supported release from 7.2 through 8.0 is vulnerable

Reach 50,000+ security professionals

Sponsor a newsletter slot and put your brand in front of CISOs, engineers, and IT decision-makers.

Summarize with:

CVE-2026-104286 in Fortinet FortiMail carries a CVSS score of 9.8 and requires no credentials -- attackers can write arbitrary files to any location on the appliance by sending a single crafted HTTP request, and confirmed exploitation is already underway with no patch available. Fortinet published emergency advisory FG-IR-26-175 on October 1, 2026, the same day CISA added the flaw to the Known Exploited Vulnerabilities catalog and gave federal agencies until October 4 to apply workarounds.

FortiMail is Fortinet's enterprise email security platform, deployed at the network perimeter to inspect inbound and outbound mail for malware, phishing, and spam. The appliance's management interface, reachable over HTTPS, contains a path traversal flaw that combines directory traversal sequences with null-byte insertion to bypass the server's path validation. An unauthenticated attacker who reaches the management port can write any content to any filesystem location -- including mail scanner configuration files, shared libraries, and web-accessible directories.

Active exploitation confirms attackers are already using the write primitive to install persistent backdoors. Forensic indicators include a modified /data/lib/liblog.so used for library preload hijacking, dropped binaries named smit and webconsole in standard system directories, and outbound command-and-control sessions to 79.141.169.187 and 45.129.0.192. The attack chain moves from unauthenticated file write to persistent root-level access in minutes.

The flaw covers every FortiMail branch currently under support: 7.2.x through 8.0.x across four separate version lines. Fortinet has identified fixed releases but none have shipped. If your FortiMail management interface is reachable from the internet, you are facing active targeting right now.

How the Path Traversal Attack Works

CVE-2026-104286 is a path traversal vulnerability in the FortiMail web management interface, specifically in request handling code associated with the Identity-Based Encryption feature. Path traversal vulnerabilities exist when an application constructs a filesystem path from user-supplied input without adequately restricting the traversal above a defined base directory.

FortiMail's vulnerable endpoint accepts an HTTP or HTTPS request that encodes directory traversal sequences using URL encoding (/../ as %2e%2e%2f) combined with null-byte insertion (%00) at specific positions. The null byte terminates the path string in the server's underlying C runtime, causing validation logic that checks the suffix of the path to see a safe extension while the actual write target resolves to an arbitrary filesystem location above the intended base directory.

An attacker sends a crafted POST request to the management interface -- no authentication token, session cookie, or valid credentials required. The payload specifies arbitrary file content and a traversal sequence that places the written file wherever the attacker chooses on the filesystem. The CVSS v3.1 score of 9.8 reflects the combination of network reachability, no authentication required, no user interaction, and high impact across all three dimensions of confidentiality, integrity, and availability.

The attack completes in a single request. The round-trip from initial contact to confirmed file write is under one second on a reachable appliance. Follow-on payloads -- library preload modifications, webshell installation, service binary replacement -- execute in subsequent requests. The entire sequence from unauthenticated access to persistent root-level code execution takes under two minutes on a default FortiMail configuration.

The IBE feature is enabled by default in many enterprise FortiMail deployments, meaning the attack surface is present without any additional configuration by the administrator.

Which FortiMail Versions Are Vulnerable?

Every currently supported FortiMail version line is affected. The full scope confirmed in Fortinet's FG-IR-26-175 advisory covers four major branches.

FortiMail 7.2.x: versions 7.2.0 through 7.2.9 are vulnerable. The pending fixed release is 7.2.10.

FortiMail 7.4.x: versions 7.4.0 through 7.4.8 are vulnerable. The pending fixed release is 7.4.9.

FortiMail 7.6.x: versions 7.6.0 through 7.6.6 are vulnerable. The pending fixed release is 7.6.7.

FortiMail 8.0.x: versions 8.0.0 and 8.0.1 are vulnerable. The pending fixed release is 8.0.2.

Fortinet has not listed any EOL releases as safe -- the vulnerability is a design flaw in the path handling library shared across branches, so older unsupported versions should be assumed vulnerable as well.

The attack surface depends on how the management interface is exposed. Organizations that have restricted management interface access to internal IP addresses have significantly reduced their risk, even if they have not applied the full workaround. Organizations that expose the management interface to any external IP address are immediately and actively targeted.

Verify your running firmware version in the FortiMail admin console under System > Dashboard > Status. If the displayed firmware version falls within any of the four affected ranges, treat the appliance as potentially compromised until both FG-IR-26-175 workarounds are in place and a forensic check confirms no intrusion indicators are present.

A critical deployment risk: some FortiMail configurations expose the management interface on the same IP address and port used for inbound mail delivery (TCP 25 and 443 can share an IP). In these cases, restricting management access at the perimeter requires careful ACL construction to avoid blocking legitimate mail flow.

Free daily briefing

Briefings like this, every morning before 9am.

Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.

Post-Exploitation: From File Write to Full System Compromise

Observed post-exploitation activity confirms that attackers are using the arbitrary file write capability to establish persistent root-level access on compromised FortiMail appliances.

The highest-confidence persistence mechanism is modification of /data/etc/ld.so.preload. The Linux dynamic linker reads this file at process startup and loads the listed shared objects before any other library. An attacker who writes a malicious shared library path to ld.so.preload ensures that attacker-controlled code executes in the context of every process that starts on the system after the modification, including privileged Fortinet services. Detecting this indicator is straightforward -- the file should not exist on a clean FortiMail installation.

A second persistence path observed in the wild is the replacement of /data/lib/liblog.so with a trojanized version. The modified library hooks Fortinet's logging subsystem, giving attackers visibility into authentication events and the ability to suppress or forge log entries to obscure activity. The modification timestamp on this file will be inconsistent with other library files installed during the same firmware build.

Attackers also drop standalone binaries: a webshell at /data/bin/webconsole provides an interactive command channel, while a malicious binary at /bin/smit and a modified /data/bin/mailservice provide additional persistence if earlier payloads are detected and removed.

Command-and-control traffic establishes outbound sessions to 79.141.169.187 and 45.129.0.192 over TCP 443. These IPs have no legitimate relationship to FortiMail management traffic. Any established TCP session from a FortiMail appliance to either IP should be treated as confirmation of compromise.

The FortiMail compromise also enables inbound threat delivery. An attacker who controls the mail security appliance can selectively allow malicious emails to bypass scanning, creating a secondary entry point into the organization for phishing and malware delivery campaigns.

Subscribe to unlock Indicators of Compromise

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Sigma Detection Rules for CVE-2026-104286

These rules detect CVE-2026-104286 exploitation attempts via path traversal in FortiMail HTTP logs and post-exploitation persistence via ld.so.preload modification on the appliance filesystem. Both carry experimental status; validate against your FortiMail log source format and auditd configuration before enabling automatic blocking.

Subscribe to unlock Sigma Detection Rules

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Subscribe to unlock Sigma Hunt Queries

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Subscribe to unlock WAF Detection Rules

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Applying FG-IR-26-175 Before the Patch Ships

Fortinet's FG-IR-26-175 advisory provides two mitigations that must both be applied before the patch ships.

Apply official patch →www.fortiguard.com/psirt/FG-IR-26-175

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Why Email Gateways Are Prime Ransomware Entry Points

FortiMail CVE-2026-104286 is particularly dangerous because email security gateways sit at a uniquely privileged position in enterprise architecture. They process every inbound and outbound message, maintain archives of organizational communications, authenticate against Active Directory or LDAP for policy enforcement, and hold TLS certificates for mail encryption. A compromised gateway gives attackers more than a foothold -- it gives them a surveillance position over all organizational mail traffic and the ability to selectively disable the security controls that employees depend on.

The no-patch status amplifies the risk in a way that a standard KEV patch advisory does not. When CISA adds a CVE to the KEV catalog and a patch exists, the response is straightforward: patch within the deadline. When no patch exists, defenders must operate on workarounds indefinitely while the exploitation window remains open. Attackers know this. Threat actors actively monitor CISA KEV additions for entries marked as workaround-only, because those represent the longest viable exploitation windows.

For related analysis of perimeter appliance zero-days that share this attack pattern, see our coverage of the FortiGate CVE-2025-25249 PivotC2 RAT exploitation and the Check Point CVE-2026-85102 security gateway RCE. Both followed the same pattern: unauthenticated access to a perimeter appliance, rapid post-exploitation, and extended dwell time before organizational detection.

Organizations running FortiMail should escalate this to a P1 incident response action today. Apply both FG-IR-26-175 workarounds, run the full forensic checklist, block the confirmed C2 IPs, and deploy the Sigma detection rules in this advisory against your SIEM. Do not wait for the patch before hunting -- attackers began exploiting this flaw before Fortinet published the advisory.

The bottom line

FortiMail CVE-2026-104286 is a CVSS 9.8 unauthenticated path traversal giving attackers arbitrary file write on every supported FortiMail version, with no patch and active exploitation confirmed. CISA's October 4 deadline leaves no room for a scheduled change window. Apply Fortinet's FG-IR-26-175 workarounds now: disable IBE and block external management interface access. Run the full forensic checklist against every FortiMail appliance in your environment before the end of business today -- the C2 IPs and filesystem indicators in this advisory tell you exactly where to look.

This analysis is generic. create a free account to score threats like this against your own stack.

Frequently asked questions

What is CVE-2026-104286 in FortiMail?

CVE-2026-104286 is a critical path traversal vulnerability in Fortinet FortiMail affecting versions 7.2.0 through 8.0.1. The flaw allows an unauthenticated remote attacker to write arbitrary files to any location on the FortiMail filesystem by sending specially crafted HTTP or HTTPS requests that combine a path traversal sequence with null-byte insertion to bypass the appliance's path validation logic. Successful exploitation can install persistent backdoors, disable mail scanning, or exfiltrate archived email communications.

Does FortiMail have a patch for CVE-2026-104286?

No. As of October 3, 2026, Fortinet has identified fixed releases as FortiMail 7.2.10, 7.4.9, 7.6.7, and 8.0.2, but none of these builds had shipped at the time of publication. Fortinet published emergency advisory FG-IR-26-175 on October 1 with workarounds that must be applied immediately until fixed builds become available. CISA gave federal agencies until October 4 to apply the workarounds.

What is the FG-IR-26-175 workaround for CVE-2026-104286?

Fortinet's FG-IR-26-175 advisory specifies two workarounds. First, disable the Identity-Based Encryption feature in FortiMail if it is not in active use, as the vulnerable code path is linked to IBE request handling. Second, block external access to the FortiMail management interface at the network perimeter so only trusted internal IP addresses can reach the admin portal. Both mitigations reduce the exposed attack surface without requiring a firmware update. Apply both immediately and do not rely on just one.

Which FortiMail versions are affected?

All releases in four branches are affected: FortiMail 7.2.0 through 7.2.9, FortiMail 7.4.0 through 7.4.8, FortiMail 7.6.0 through 7.6.6, and FortiMail 8.0.0 through 8.0.1. If your appliance runs any firmware in these ranges, it is vulnerable. Fortinet has not listed any earlier or later versions as unaffected. Check your running firmware version immediately using the System > Dashboard menu in the FortiMail admin interface.

What can an attacker do after exploiting CVE-2026-104286?

File write access on a mail security appliance enables several high-impact outcomes. Attackers can write a webshell to a web-accessible directory for persistent remote command execution, modify /data/etc/ld.so.preload to hijack shared library loading at the root level, overwrite FortiMail service binaries with trojanized versions, disable antivirus and antispam scanning by corrupting configuration files, and read archived email stored on the appliance. Observed attacker payloads include modified liblog.so, a dropped smit binary, a webconsole webshell, and connections to confirmed C2 infrastructure at 79.141.169.187 and 45.129.0.192.

How do I check if my FortiMail appliance was compromised?

Check five indicators: (1) Run ls -la /data/etc/ld.so.preload -- any file at this path is suspicious and indicates library preload hijacking. (2) Check /data/bin/ and /bin/ for unexpected binaries named smit, webconsole, or mailservice that do not match the standard FortiMail firmware manifest. (3) Inspect /data/lib/ for a modified liblog.so with a recent modification timestamp outside your patch windows. (4) Review FortiMail web server access logs for HTTP requests containing %2e%2e, %252e, or %00 sequences in any URI path. (5) Check outbound network connections from the appliance for established sessions to 79.141.169.187 or 45.129.0.192.

Is CVE-2026-104286 added to CISA's Known Exploited Vulnerabilities catalog?

Yes. CISA added CVE-2026-104286 to the KEV catalog on October 1, 2026, the same day Fortinet published advisory FG-IR-26-175. The KEV listing confirms active exploitation in the wild and triggers mandatory remediation timelines for federal civilian executive branch agencies. CISA set the deadline at October 4, 2026, giving federal agencies three days to apply workarounds or take vulnerable appliances offline. Non-federal organizations should treat this timeline as the maximum acceptable delay.

Why does this vulnerability affect email security gateways specifically?

FortiMail operates as an internet-facing email security appliance handling inbound and outbound mail. Its management interface is typically accessible over HTTPS, and some deployments expose it to the public internet for remote administration. The combination of internet-facing exposure and the absence of any authentication requirement for CVE-2026-104286 makes every management interface reachable from outside the network a direct exploitation target. Compromising the mail gateway gives attackers access to archived communications, the ability to disable antimalware scanning on inbound mail, and a persistent foothold on a trusted internal perimeter device.

Sources & references

  1. Fortinet PSIRT Advisory FG-IR-26-175
  2. CISA Known Exploited Vulnerabilities Catalog -- CVE-2026-104286
  3. The Hacker News: Critical FortiMail Zero-Day Flaw Exploited in Attacks Allows Unauthenticated Arbitrary File Writes
  4. Security Online: FortiMail Path Traversal Flaw CVE-2026-104286 Exploited in the Wild
  5. NVD: CVE-2026-104286
Summarize with:

Free resources

25
Free download

Critical CVE Reference Card 2025–2026

25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.

No spam. Unsubscribe anytime.

Free download

Ransomware Incident Response Playbook

Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.

No spam. Unsubscribe anytime.

Follow Decryption Digest

Daily briefings + Google Top Stories in one step.

Enter your email and we'll subscribe you to the daily briefing and add Decryption Digest to your Google Search feed at the same time.

Free. Unsubscribe anytime. Google popup confirms the Top Stories add.

Eric Bang
Author

Founder & Cybersecurity Evangelist, Decryption Digest

Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.

Daily Briefing

Get briefings like this every morning

Actionable threat intelligence for working practitioners. Free. No spam. Trusted by 50,000+ SOC analysts, CISOs, and security engineers.

Unsubscribe anytime.

Mythos Brief

Anthropic's AI finds zero-days your scanners miss.