# CVE-2026-126166: Argument injection in FortiMail

FortiMail contains an argument injection flaw in its administrative interface that fails to properly neutralize input delimiters. An attacker with existing administrator or domain admin privileges can exploit this over the network to execute arbitrary code or CLI commands as root, read or write files, and delete users on paired FortiAuthenticator systems.

- Vendor: Fortinet, FortiMail
- Severity: HIGH (CVSS 3.1 7.2)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-218, https://fortiguard.fortinet.com/psirt/FG-IR-26-218
- Published: 2026-11-11; updated: 2026-11-11
- Page: https://patchtonight.com/cve/CVE-2026-126166/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiMail 8.0.0 to 8.0.2 | 8.0.3 (upcoming) or later |
| FortiMail 7.6.0 to 7.6.6 | 7.6.7 or later |
| FortiMail 7.4.0 to 7.4.8 | 7.4.9 or later |
| FortiMail 7.2.0 to 7.2.9 | Upgrade past 7.2.9; see the advisory |

## The vendor's description

A improper neutralization of argument delimiters in a command ('argument injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.2, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an authenticated remote attacker with domain admin or admin privileges to delete users of other tenant domains on a paired FortiAuthenticator, execute arbitrary code as root or arbitrary CLI commands, and read or write arbitrary files as root via crafted HTTP requests to the administrative interface.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-218)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
