Fortinet FortiMail CVE-2026-104286: unauthenticated file write through IBE exploited as a zero-day (KEV)
SockAnalyst · by Mario Velasco Jr., CompTIA Security+ CE
⚡ Triage: do you need this playbook?
If any row below is true in your environment, work this playbook. Start at the row that matches.
| If you see this… | Look here | It means | Do this |
|---|---|---|---|
| FortiMail on 7.2.0-7.2.9, 7.4.0-7.4.8, 7.6.0-7.6.6 or 8.0.0-8.0.1 with IBE on or webmail reachable from the internet | FortiMail dashboard (firmware version); Encryption > IBE | Exposed to an exploited, unauthenticated file-write flaw | Patch or switch IBE off now |
| An archive account named archive234, or any remote archive account you did not create (Fortinet saw remote-ip 79.141.169.187, directory /uploads) | FortiMail config log and archive account settings | Fortinet-published sign that mail is being copied to the attacker | Run the IR branch |
| A root cron entry running a command with O=/migadmin, or 'User admin logged out from (null)' | FortiMail system and admin event logs | Fortinet-published indicators from compromised appliances | Run the IR branch |
| POST requests to /ibe containing ../, or traffic with 79.141.169.187 / 45.129.0.192 | WAF, reverse proxy or firewall logs | Exploitation attempt or attacker infrastructure | Hunt queries, then persistence check |
| FortiMail Cloud (Fortinet-managed) | Your FortiMail subscription | Fortinet says it fixed FortiMail Cloud on Oct 5 and no action is needed | No patch action; still review archive accounts |
EPSS is FIRST.org's estimated chance of exploitation in the next 30 days; CISA KEV status (confirmed exploitation) is the stronger signal. Which playbook do I need? See every signal →
🧭 Are you affected? Quick exposure check
- Do you run customer-managed FortiMail (hardware or VM) on an affected build?
- Is IBE switched on, and is the webmail/IBE interface reachable from the internet?
- Do you forward FortiMail event logs to a SIEM? Local logs are where Fortinet's indicators show up.
What happened
Fortinet said on October 1, 2026 (advisory FG-IR-26-175, updated October 7) that a path traversal and NULL-byte flaw in FortiMail, CVE-2026-104286 (CVSS 9.8), lets an unauthenticated attacker write arbitrary files on the appliance with crafted HTTP or HTTPS requests, and that it has been exploited in the wild. Fortinet's workaround is to switch off the Identity-Based Encryption (IBE) feature, which points to the /ibe web path as the entry point. CISA added the CVE to the Known Exploited Vulnerabilities catalog the same day. Fortinet published two IP addresses and log lines seen on compromised appliances: a root cron job running a /migadmin command, an admin logout from (null), an archive account named archive234 that sends archived mail to 79.141.169.187, and an IBE Base64 decode error. BleepingComputer also reported file indicators (an added /data/etc/ld.so.preload and /data/lib/liblog.so, and modified /bin/smit and /data/etc/httpd.conf) that are not in Fortinet's current advisory text.
Who's affected
Organizations running customer-managed FortiMail 7.2.0-7.2.9, 7.4.0-7.4.8, 7.6.0-7.6.6 or 8.0.0-8.0.1, especially with IBE turned on and webmail reachable from the internet. Fortinet says FortiMail Cloud was fixed on October 5 and its customers need not act.
✅ Fix / patch
- Upgrade FortiMail: 8.0 to 8.0.2 or above, 7.6 to 7.6.7 or above, 7.4 to 7.4.9 or above; for 7.2 Fortinet lists the upcoming 7.2.10 (check FG-IR-26-175 for its release before relying on it).
- Until you can upgrade, switch IBE off (GUI: Encryption > IBE > IBE Service off, or CLI: config system encryption ibe / set status disable / end). If you cannot, remove internet access to the webmail interface or allow it only from trusted networks, or have a WAF in front block POST requests to /ibe that contain '../'.
- Check for compromise before and after patching: look for the archive234 archive account, the cron /migadmin entry and traffic to 79.141.169.187 or 45.129.0.192 (see the hunt below). Patching does not remove an attacker who already got in.
🕳️ Persistence check: did they stay after you patched?
Patching closes the hole. It does not remove accounts, keys, files or settings an attacker added earlier. Check these, in order. Each row shows where the idea came from (click the tag for the source).
| ATT&CK | What to look for | Where to check | Basis |
|---|---|---|---|
T1053.003Cron | A cron job running as root with a /migadmin command (Fortinet log line: (root) CMD (/bin/sh -c 'O=/migadmin ...). | FortiMail system event log; scheduled tasks on the appliance. | Vendor advisory Technique mapping is ours. |
T1114.003Email Forwarding Rule | An archive account (archive234 in Fortinet's logs) sending archived mail to a remote server; it keeps copying mail even after the hole is patched. | FortiMail archive account settings and config log. | Vendor advisory Technique mapping is ours: Fortinet does not name the purpose, but a remote archive account forwards mail out. |
T1574.006Dynamic Linker Hijacking | An added /data/etc/ld.so.preload and /data/lib/liblog.so (a preloaded library runs inside every process). | Appliance file system (ask Fortinet support for a file check). | Threat research Reported by BleepingComputer, not in Fortinet's current advisory text. ATT&CK files this under stealth and execution; listed because a preloaded library survives restarts. |
T1505.003Web Shell | A modified /data/etc/httpd.conf, which can expose a web shell through the web server. | Appliance web-server configuration. | Threat research Reported by BleepingComputer; the web-shell link is our reading of a modified httpd.conf. Mapping is ours. |
Honest limits: Fortinet published log indicators, not a full persistence list, and its current advisory has no clean-up steps. Patching closes the hole but does not remove a cron job, archive account or file an attacker already added.
Green tags are published by the linked source. Amber tags are SockAnalyst's own mapping or guidance. Technique names come from MITRE ATT&CK.
🚨 Compromised already? Do this
Run this if a red triage row is true or the persistence check finds anything.
- Before you patch, export FortiMail event, admin, config and encryption logs (and syslog copies) covering at least the time since October 1, 2026. SockAnalyst mapping
- Look for the Fortinet-published indicators: traffic with 79.141.169.187 or 45.129.0.192, the archive234 archive account, the cron /migadmin command, admin logout from (null), and the IBE Base64 error. Vendor advisory
- If you find any, delete unknown archive accounts, switch IBE off, cut internet access to webmail and open a case with Fortinet support for a file-integrity check of the appliance. SockAnalyst mapping
- Treat mail that passed through the appliance and the admin, LDAP and archive credentials it stores as exposed: rotate them and review where archived mail was sent. SockAnalyst mapping
- Upgrade to the fixed release for your branch. Vendor advisory
🧰 Vendor tools and logs to collect
- Fortinet FG-IR-26-175 advisory (indicators and workaround) — Fortinet's IP and log indicators; check the timeline for later updates.
Logs to collect and keep:
- FortiMail event logs (system, admin, config) and encryption logs sent by syslog.
- WAF or reverse-proxy logs for /ibe and webmail.
- Firewall logs for the two Fortinet IPs.
🔎 Quick hunt check
Fortinet published two IPs and FortiMail log lines from compromised appliances. Search FortiMail event logs for a root cron command containing O=/migadmin, an admin logout 'from (null)', a new archive account named archive234 with remote-ip 79.141.169.187, and IBE 'Invalid Base64 Encoding at pos 0' errors; search web or WAF logs for POST requests to /ibe containing ../; and search firewall logs for either IP. The queries assume FortiMail syslog and firewall/WAF logs reach your SIEM.
MITRE ATT&CK: T1190, T1053.003, T1048
IOCs
- IP addresses:
79.141.169[.]187,45.129.0[.]192 - Files / paths:
FortiMail system log: cron (root) CMD containing O=/migadmin,FortiMail config log: archive account archive234 with remote-ip 79.141.169.187 and remote-directory /uploads,IBE log: Invalid Base64 Encoding at pos 0,Reported by BleepingComputer, not in the current Fortinet text: /data/etc/ld.so.preload and /data/lib/liblog.so added, /bin/smit and /data/etc/httpd.conf modified
IPs and log lines from Fortinet FG-IR-26-175 (checked Nov 28, 2026). File paths as reported by BleepingComputer on Oct 1, 2026; Fortinet's current advisory does not list them.
Hunt queries
Hunt logic (works with any SIEM)
Plain-English version of the hunt for teams on homegrown or other SIEM/SOAR tools. The tabs below implement the same logic.
- Data source
- Firewall logs; web or WAF access logs in front of FortiMail; FortiMail event and encryption logs sent by syslog.
- What to look for
- Traffic to or from 79.141.169.187 or 45.129.0.192 (Fortinet IOCs).
- POST requests to a path starting /ibe whose URI contains ../ (the pattern Fortinet tells WAF users to block).
- FortiMail log text: O=/migadmin in a root cron command, archive234 archive account, "Invalid Base64 Encoding at pos 0", "logged out from (null)".
- Key fields
- source IP, destination IP, HTTP method, URL path / full URI, raw log text (keyword search)
- IOCs
- Fortinet FG-IR-26-175 lists 2 IP addresses and 4 log lines; see the IOCs list above. File paths reported by BleepingComputer are listed separately because Fortinet's current text does not include them.
- False positives
- Normal IBE secure-message use posts to /ibe but should not contain ../; your own vulnerability scanner can match the /ibe rule. A single IBE Base64 decode error can come from a broken secure-message link, so weigh it with the other strings or the two IPs.
These queries are starting points built only from published indicators. Field names and log sources differ in every environment, so test and tune them before you rely on them.
title: Traffic with Fortinet-listed FortiMail CVE-2026-104286 IPs
id: 5c38d7fe-c737-531e-ba52-0d2070f89942
status: experimental
description: Hunts firewall traffic to or from the two IP addresses Fortinet lists as indicators for FortiMail CVE-2026-104286 exploitation.
references:
- https://fortiguard.fortinet.com/psirt/FG-IR-26-175
- https://www.cisa.gov/news-events/alerts/2026/10/01/cisa-adds-one-known-exploited-vulnerability-catalog
- https://nvd.nist.gov/vuln/detail/CVE-2026-104286
- https://ccb.belgium.be/advisories/warning-actively-exploited-fortimail-vulnerability-patch-immediately
- https://www.bleepingcomputer.com/news/security/fortinet-warns-of-critical-fortimail-flaw-exploited-in-zero-day-attacks/
- https://sockanalyst.com/patch-now/fortinet-fortimail-cve-2026-104286-ibe-path-traversal-unauthenticated-file-write-exploited-kev
author: SockAnalyst
date: 2026-11-28
tags:
- attack.initial-access
- attack.t1190
- attack.exfiltration
- attack.t1048
logsource:
category: firewall
detection:
selection_src:
src_ip:
- 79.141.169.187
- 45.129.0.192
selection_dst:
dst_ip:
- 79.141.169.187
- 45.129.0.192
condition: 1 of selection_*
falsepositives:
- None expected for these two addresses; a hit from an internet scanner you run yourself would need the scanner's own IP, so treat any match as a lead and check the FortiMail event log for the same minutes.
level: high
---
title: FortiMail IBE path traversal request
id: 8e4857ad-8e09-5c18-af44-8179857260bc
status: experimental
description: Hunts POST requests to the FortiMail /ibe path that contain ../, the pattern Fortinet tells WAF users to block for CVE-2026-104286.
references:
- https://fortiguard.fortinet.com/psirt/FG-IR-26-175
- https://www.cisa.gov/news-events/alerts/2026/10/01/cisa-adds-one-known-exploited-vulnerability-catalog
- https://nvd.nist.gov/vuln/detail/CVE-2026-104286
- https://ccb.belgium.be/advisories/warning-actively-exploited-fortimail-vulnerability-patch-immediately
- https://www.bleepingcomputer.com/news/security/fortinet-warns-of-critical-fortimail-flaw-exploited-in-zero-day-attacks/
- https://sockanalyst.com/patch-now/fortinet-fortimail-cve-2026-104286-ibe-path-traversal-unauthenticated-file-write-exploited-kev
author: SockAnalyst
date: 2026-11-28
tags:
- attack.initial-access
- attack.t1190
logsource:
category: webserver
definition: Web or WAF access logs in front of FortiMail webmail/IBE
detection:
selection:
cs-method: POST
cs-uri-stem|startswith: /ibe
selection_traversal:
cs-uri|contains: '../'
condition: selection and selection_traversal
falsepositives:
- Legitimate IBE secure-message traffic posts to /ibe but should never carry ../ in the URI; a vulnerability scanner you run against FortiMail can match.
level: high
---
title: FortiMail event-log entries Fortinet lists for CVE-2026-104286
id: 2d2abd36-4793-57b7-b1c3-ee360b04f35b
status: experimental
description: Hunts FortiMail system, admin, config and encryption log text that Fortinet published as indicators of compromise (cron migadmin command, archive234 remote archive account, IBE Base64 decode error, admin logout from (null)).
references:
- https://fortiguard.fortinet.com/psirt/FG-IR-26-175
- https://www.cisa.gov/news-events/alerts/2026/10/01/cisa-adds-one-known-exploited-vulnerability-catalog
- https://nvd.nist.gov/vuln/detail/CVE-2026-104286
- https://ccb.belgium.be/advisories/warning-actively-exploited-fortimail-vulnerability-patch-immediately
- https://www.bleepingcomputer.com/news/security/fortinet-warns-of-critical-fortimail-flaw-exploited-in-zero-day-attacks/
- https://sockanalyst.com/patch-now/fortinet-fortimail-cve-2026-104286-ibe-path-traversal-unauthenticated-file-write-exploited-kev
author: SockAnalyst
date: 2026-11-28
tags:
- attack.persistence
- attack.t1053.003
- attack.exfiltration
- attack.t1048
logsource:
product: fortimail
service: event
definition: FortiMail event logs (system, admin, config) and encryption logs forwarded by syslog
detection:
keywords:
- "O=/migadmin"
- archive234
- "Invalid Base64 Encoding at pos 0"
- "logged out from (null)"
condition: keywords
falsepositives:
- The IBE Base64 decode error can also come from a broken or truncated secure-message link; treat it as a lead only when it appears with one of the other three strings or with the Fortinet IPs.
level: high(index=network OR index=firewall OR index=email OR index=web) ("79.141.169.187" OR "45.129.0.192" OR src_ip IN ("79.141.169.187","45.129.0.192") OR dest_ip IN ("79.141.169.187","45.129.0.192")
OR (http_method=POST uri_path="/ibe*" uri="*../*")
OR "O=/migadmin" OR "archive234" OR "Invalid Base64 Encoding at pos 0" OR "logged out from (null)")
| stats count min(_time) as first_seen max(_time) as last_seen values(src_ip) as src values(_raw) as evidence by host, sourcetype
| sort - count
// FortiMail CVE-2026-104286: Fortinet IOC IPs, POST /ibe with ../, and the FortiMail log strings Fortinet publishedlet IOCIPs = dynamic(["79.141.169.187", "45.129.0.192"]);
let Net = CommonSecurityLog
| where TimeGenerated > ago(90d)
| where SourceIP in (IOCIPs) or DestinationIP in (IOCIPs)
or (RequestMethod == "POST" and RequestURL has "/ibe" and RequestURL has "../")
| summarize Count=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Evidence=make_set(strcat(SourceIP, " -> ", DestinationIP, " ", RequestURL), 25) by Computer=DeviceName;
let FML = Syslog
| where TimeGenerated > ago(90d)
| where SyslogMessage has_any ("O=/migadmin", "archive234", "Invalid Base64 Encoding at pos 0", "logged out from (null)", "79.141.169.187", "45.129.0.192")
| summarize Count=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Evidence=make_set(SyslogMessage, 25) by Computer;
union Net, FML
| order by Count desc
// FortiMail CVE-2026-104286: needs FortiMail syslog and firewall/WAF logs in Sentinel// Defender XDR does not see FortiMail (no sensor on the appliance) or its event logs. This finds enrolled hosts talking to
// the Fortinet IOC IPs; use the Splunk/Sentinel tabs for FortiMail and WAF logs.
let IOCIPs = dynamic(["79.141.169.187", "45.129.0.192"]);
DeviceNetworkEvents
| where Timestamp > ago(30d)
| where RemoteIP in (IOCIPs) or LocalIP in (IOCIPs)
| summarize Count=count(), FirstSeen=min(Timestamp), LastSeen=max(Timestamp), Evidence=make_set(strcat(LocalIP, " -> ", RemoteIP, ":", tostring(RemotePort)), 25) by DeviceName
| order by Count desc// Elastic EQL. FortiMail CVE-2026-104286: Fortinet IOC IPs, POST /ibe with ../, and FortiMail log strings. Needs FortiMail syslog and firewall/WAF logs in Elastic.
any where source.ip in ("79.141.169.187", "45.129.0.192") or destination.ip in ("79.141.169.187", "45.129.0.192")
or (http.request.method : "POST" and url.path : "/ibe*" and url.original : "*../*")
or message : ("*O=/migadmin*", "*archive234*", "*Invalid Base64 Encoding at pos 0*", "*logged out from (null)*")// Falcon LogScale (CQL). Needs FortiMail syslog and firewall/WAF logs in LogScale (no sensor runs on FortiMail)
(in(field=source.ip, values=["79.141.169.187","45.129.0.192"]) or in(field=destination.ip, values=["79.141.169.187","45.129.0.192"]))
or (@rawstring=/POST/ @rawstring=/\/ibe/ @rawstring=/\.\.\//)
or (@rawstring=/O=\/migadmin|archive234|Invalid Base64 Encoding at pos 0|logged out from \(null\)/)
| groupBy([host], function=[count(as=hits), min(@timestamp, as=first), max(@timestamp, as=last)])
| sort(hits, order=desc)Sigma rule checked with pySigma 1.5.1 and the SigmaHQ validators by validate.py; it converts with the official Splunk, Kusto (KQL), Elastic EQL and Elastic Lucene backends. The platform tabs are hand-written versions of the same hunt, not raw conversions. None of these queries has been run against live data.
For educational and informational purposes only. Hunt queries and detection rules are provided as-is, without warranty, and have not been tested against your environment or live data. Review, test and tune them in a non-production setting before use. SockAnalyst is not responsible for any outcome of using this content. Always follow your organization's policies and the vendor's official guidance. Zero Trust applies here too: never trust, always verify.
⏱ CISA deadline
Sources
Vendor advisories (primary)
Government and CERT
- CISA: CISA Adds One Known Exploited Vulnerability to Catalog (Oct 1, 2026)
- NVD: CVE-2026-104286
- Centre for Cybersecurity Belgium: Warning: Actively exploited FortiMail vulnerability, patch immediately
Press and other reporting
Vendor facts on this page (fixed builds, remediation, tools, indicators) were checked against the vendor and government pages above on 2026-11-28.
Related playbooks
- Xen Orchestra VSA-2026-062: empty-object login cookie gives attackers admin and root on XCP-ng hosts, exploited in the wild · Exploited vuln · 2026-11-11
- Cisco BroadWorks CVE-2026-20320: unauthenticated OCI-P XXE now exploited to steal server keys, added to CISA KEV · Exploited vuln · 2026-11-11
- REDCap CVE-2026-90817: unauthenticated public-survey RCE exploited to drop XMRig miners, now in CISA KEV (due Nov 21) · Exploited vuln · 2026-11-19
Get the SockAnalyst Weekly Brief free, every Thursday.
One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.
Subscribe free
SockAnalyst