FortiMail
CVE-2024-56497: OS command injection in FortiMail, FortiRecorder
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiMail versions 7.2.0 through 7.2.4 and 7.0.0 through 7.0.6 and 6.4.0 through 6.4.7, FortiRecorder versions 7.0.0 and 6.4.0 through 6.4.4 allows attacker to execute unauthorized code or commands via the CLI.
Published Fortinet advisory FG-IR-23-170
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 7.2.0 to 7.2.4 | 7.2.5 or later |
| FortiMail 7.0.0 to 7.0.6 | 7.0.7 or later |
| FortiMail 6.4.0 to 6.4.7 | 6.4.8 or later |
| FortiRecorder 7.0 | 7.0.2 or later |
| FortiRecorder 6.4.0 to 6.4.4 | 6.4.5 or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiMail versions 7.2.0 through 7.2.4 and 7.0.0 through 7.0.6 and 6.4.0 through 6.4.7, FortiRecorder versions 7.0.0 and 6.4.0 through 6.4.4 allows attacker to execute unauthorized code or commands via the CLI.
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.