CVE-2026-126148: Fortinet FortiMail · Remote code execution
Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-11
Description
A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6 may allow an unauthenticated attacker to execute unauthorized code or commands via crafted HA join-request packets.
Enclave's analysis
FortiMail has an OS command injection bug in how it handles HA join-request packets. Per the vendor, an unauthenticated attacker can send crafted packets over the network and run commands. It was published a day ago. No public exploit or active exploitation is confirmed, and the advisory couldn't be read. Upgrade to 7.6.7 or 8.0.2 or later, and keep the HA interface off untrusted networks.
Fix
Upgrade Fortinet FortiMail 7.6 to 7.6.7; Fortinet FortiMail 8.0 to 8.0.2. No fixed version is listed for FortiMail; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| FortiMail | 8.0.0 through 8.0.1 | Not listed |
| FortiMail | 7.6.0 through 7.6.6 | Not listed |
| Fortinet FortiMail 7.6 | 7.6.0 through 7.6.6 | 7.6.7 |
| Fortinet FortiMail 8.0 | 8.0.0 through 8.0.1 | 8.0.2 |