FortiMail

CVE-2026-126167: Command injection in FortiMail

A improper neutralization of special elements used in a command ('command 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.

Published Fortinet advisory FG-IR-26-218

ExploitedNot in CISA KEV
Ransomware useNot reportedPer CISA
SeverityHIGHCVSS 3.1 7.2
EPSS1.5%Chance of exploitation in 30 days
Public exploitNot tracked
FixAvailable

Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.

Affected and fixed versions

Product / branchFixed in
FortiMail 8.0.0 to 8.0.28.0.3 (upcoming) or later
FortiMail 7.6.0 to 7.6.67.6.7 or later
FortiMail 7.4.0 to 7.4.87.4.9 or later
FortiMail 7.2.0 to 7.2.9Upgrade past 7.2.9; see the advisory

Always confirm against the vendor advisory, which lists every fixed hotfix.

In short

FortiMail contains a command injection flaw in its administrative interface that fails to properly sanitize input. An attacker with valid administrator or domain administrator credentials can send crafted HTTP requests over the network to execute arbitrary code or CLI commands as root. This access allows the attacker to read or write arbitrary files and delete users from other tenant domains on paired FortiAuthenticator devices.

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 a command ('command 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

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.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com