CVE-2025-57739: Fortinet FortiMail SQL injection in webmail

CVE-2025-57739 · Severity: high · CVSS 8.8 · Published 2026-10-13

FortiMail is an email security gateway that protects enterprise communications. A SQL injection vulnerability in the webmail interface allows authenticated users to execute unauthorized commands on the system, potentially leading to privilege escalation or data compromise. The vulnerability affects FortiMail versions 7.2 through 7.6.

Technologies: Fortinet FortiMail. Vendors: Fortinet.

Quick answers

Is CVE-2025-57739 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-57739 being exploited in the wild.
How severe is CVE-2025-57739?
High severity, with a CVSS score of 8.8, published 13 October 2026.
Which products and versions are affected?
Fortinet FortiMail 7.2.0 through 7.2.8, 7.4.0 through 7.4.5, 7.6.0 through 7.6.3.
Is there a fix for CVE-2025-57739?
Yes: fixed in FortiMail 7.2.9, 7.4.6, 7.6.4 or above. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-57739 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2025-57739?
Check whether you run Fortinet FortiMail at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: FortiMail 7.2.9, 7.4.6, 7.6.4 or above

Technical details

SQL injection in the FortiMail webmail GUI (CWE-89) allows authenticated attackers to inject malicious SQL commands through crafted HTTP/HTTPS requests. The vulnerability requires valid authentication and impacts versions 7.2.0–7.2.8, 7.4.0–7.4.5, and 7.6.0–7.6.3. Successful exploitation results in unauthorized code execution and privilege escalation; FortiMail 8.0 and cloud instances are unaffected.

Affected products

  • Fortinet FortiMail 7.2.0 through 7.2.8, 7.4.0 through 7.4.5, 7.6.0 through 7.6.3

Timeline

  • 2026-10-13: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.