CVE-2025-57739 SQL injection in FortiMail
Authenticated attackers can execute unauthorized code via SQL injection in FortiMail, requiring immediate patching by administrators.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-57739?
CVE-2025-57739 is a high-severity SQL injection vulnerability in Fortinet FortiMail, published on 13 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2025-57739?
How do I fix CVE-2025-57739?
No fix has been published for CVE-2025-57739 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-57739 being exploited?
There is no known exploitation of CVE-2025-57739 in the wild and no public exploit code.
Sources
Also known as GHSA-j2w8-xp6q-2vmc.