# CVE-2025-57739: SQL injection in FortiMail

A SQL injection flaw in FortiMail allows an authenticated attacker with a low-privileged account to execute unauthorized code or commands. By sending specifically crafted HTTP or HTTPS requests over the network, the attacker can exploit this improper neutralization of special elements to escalate their privileges. No user interaction is required for this attack to succeed.

- Vendor: Fortinet, FortiMail
- Severity: HIGH (CVSS 3.1 7.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-03
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-184, https://fortiguard.fortinet.com/psirt/FG-IR-26-184
- Published: 2026-10-13; updated: 2026-10-13
- Page: https://patchtonight.com/cve/CVE-2025-57739/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiMail 7.6.0 to 7.6.3 | 7.6.4 or later |
| FortiMail 7.4.0 to 7.4.5 | 7.4.6 or later |
| FortiMail 7.2.0 to 7.2.8 | 7.2.9 or later |

## The vendor's description

An improper neutralization of special elements used in an SQL Command ("SQL Injection") vulnerability [CWE-89] vulnerability in Fortinet FortiMail 7.6.0 through 7.6.3, FortiMail 7.4.0 through 7.4.5, FortiMail 7.2.0 through 7.2.8 allows an authenticated attacker to execute unauthorized code or commands via specifically crafted HTTP or HTTPS requests.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-184)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
