FortiMail
CVE-2026-126153: Path traversal in FortiMail
A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an unauthenticated attacker to execute unauthorized commands via crafted requests.
Published Fortinet advisory FG-IR-26-205
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 |
| 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 |
Always confirm against the vendor advisory, which lists every fixed hotfix.
In short
FortiMail contains a path traversal flaw that allows an unauthenticated attacker to execute unauthorized commands over the network. By sending crafted requests, the attacker can bypass directory restrictions without needing to log in or interact with a user. This vulnerability enables remote code execution on the affected system.
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 limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an unauthenticated attacker to execute unauthorized commands via crafted 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.