FortiMail Admin Portal SQL Injection Enables Privileged Code Execution
Patch & Detection Intelligence · 2 sources · Updated 4mo ago · First seen May 12, 2026

Fortinet disclosed CVE-2025-53681, an SQL injection flaw in the FortiMail administrative portal that could let an authenticated, privileged attacker execute unauthorized code or commands on the email gateway through crafted HTTP or HTTPS requests. The vulnerability stems from improper neutralization of special elements in SQL commands (CWE-89) within the admin GUI, and Fortinet said it was discovered internally by Jaguar Perlas of the Fortinet Burnaby InfoSec team.
Affected versions are FortiMail 7.6.0 through 7.6.3, 7.4.0 through 7.4.5, and 7.2.0 through 7.2.8. Fortinet advised customers to upgrade to 7.6.4, 7.4.6, or 7.2.9 and later, while FortiMail 8.0 is not affected. Fortinet rated the issue Medium with a CVSS v3 score of 6.3, while the NVD scored it 7.2; Fortinet said it had no evidence of in-the-wild exploitation at the time of disclosure.


