FortiMail
CVE-2026-126158: OS command injection in FortiMail
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 may allow an authenticated administrator to execute unauthorized code or commands as root via specially crafted HTTP requests.
Published Fortinet advisory FG-IR-26-210
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiMail 8.0.0 to 8.0.1 | 8.0.2 or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
In short
FortiMail contains an OS command injection flaw that allows an authenticated administrator to execute unauthorized code or commands with root privileges. By sending specially crafted HTTP requests over the network, an attacker with an existing administrator account can bypass intended controls and run arbitrary system commands. This vulnerability requires no user interaction to exploit.
Written by a language model from the vendor's description. Versions, fixes and exploitation status on this page come straight from the vendor and CISA.
The vendor's 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 may allow an authenticated administrator to execute unauthorized code or commands as root via specially crafted HTTP requests.
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.