SQL Injection in Fortinet FortiMail Administrative GUI
CVE-2025-53681 is an authenticated SQL injection vulnerability in the graphical administrative interface of Fortinet FortiMail. The flaw is caused by improper neutralization of user-supplied input before it is incorporated into backend SQL queries in the FortiMail admin portal. A privileged attacker can send specially crafted HTTP or HTTPS requests to a vulnerable GUI endpoint and inject SQL commands that are processed without adequate sanitization. Fortinet states that successful exploitation can lead to unauthorized code or command execution on the underlying FortiMail system. 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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a privileged authenticated attacker to execute unauthorized code or commands on the underlying FortiMail appliance. Because the flaw is in the administrative GUI and requires elevated access, the primary risk is post-authentication compromise by an insider or by an external actor who has obtained administrative credentials. This can result in compromise of the email gateway, unauthorized actions within the appliance, and broader operational or security impact depending on the role of the FortiMail deployment.
If you can’t patch tonight, do this now.
No specific workaround is provided beyond applying vendor fixes. Until upgrades can be completed, reduce exposure of the administrative GUI, restrict access to trusted management networks and administrators only, enforce strong credential hygiene and MFA where available, monitor for suspicious administrative activity, and review for signs of misuse of privileged accounts. Immediate patching is the recommended mitigation.
Patch, then assume compromise.
Upgrade FortiMail to a fixed release in the relevant supported branch. Fixed versions are 7.6.4 or later for the 7.6 branch, 7.4.6 or later for the 7.4 branch, and 7.2.9 or later for the 7.2 branch. Before applying the firmware update, save a copy of the FortiMail configuration. Verify firmware image integrity before installation, and clear browser cache after the upgrade to ensure proper rendering of the web interface.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.