CVE-2026-126148
FortiMail HA join-request OS command injection lets unauthenticated attackers execute code (CVE-2026-126148)
FortiMail 8.0.0 through 8.0.1 and 7.6.0 through 7.6.6 are vulnerable to unauthenticated OS command injection via crafted HA join-request packets (CVE-2026-126148, CVSS 9.8). No fixed release is listed; restrict HA exposure and monitor Fortinet advisory FG-IR-26-200.
What happened
An unauthenticated attacker who can reach FortiMail's high-availability (HA) join-request service can send crafted HA join-request packets to trigger an OS command injection flaw. Successful exploitation allows unauthorized code or command execution on the device.
Fortinet describes the issue as improper neutralization of special elements used in an OS command. The CVSS v3.1 score is 9.8, with a network attack vector, low complexity, no privileges, and no user interaction, leading to high confidentiality, integrity, and availability impact.
Neither the CVE record nor Fortinet's advisory lists exploitation in the wild or public disclosure.
Who is affected
Affected products are FortiMail 8.0.0 through 8.0.1 and FortiMail 7.6.0 through 7.6.6. Organisations running these versions should treat the HA join-request service as an unauthenticated network-exposed surface and review any access path to it.
What to do now
- Fortinet has not published fixed versions or a workaround in FG-IR-26-200. Check the advisory for updates before applying standard patch management.
- Restrict access to FortiMail HA and management interfaces to trusted HA peer addresses; disable the HA service if it is not in use.
- Place FortiMail behind network segmentation so that HA join-request traffic cannot originate from untrusted networks.
- Monitor Fortinet advisory FG-IR-26-200 for a fixed release.
How to detect it
Fortinet has not published indicators of compromise for this flaw. The exposed surface is the FortiMail HA join-request service; check whether that service is reachable from untrusted networks.
Beyond the patch
Because this is reachable over the network without credentials, exposure management matters as much as the eventual patch. Virtual CISO Services can help identify which FortiMail HA and management ports are reachable from untrusted networks. Since this is an injection flaw, Implementation & Assessment Services can validate hardening and configuration around the HA service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| FortiMail | 8.0.0 – ≤ 8.0.1 7.6.0 – ≤ 7.6.6 | No fixed version listed yet |