CVE-2025-57739

SQL Injection in FortiMail via Undistinguished HTTP Requests

Published Oct 13, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An improper neutralization of special elements used in an SQL Command (CWE‑89) allows an attacker who has valid credentials on Fortinet FortiMail to submit crafted HTTP or HTTPS requests. The flaw lets the attacker inject arbitrary SQL statements that can modify, read, or delete data, thereby facilitating unauthorized code or command execution. The impact is a clear breach of confidentiality, integrity, and potentially availability of the device and its email data because the attacker can tamper with the database used to process mail flows.

Affected Systems

This vulnerability affects FortiMail software versions 7.2.0 through 7.2.8, 7.4.0 through 7.4.5, and 7.6.0 through 7.6.3. FortiMail customers running any of these releases are at risk of the described injection attack.

Risk and Exploitability

The CVSS score of 7.7 reflects the high risk of the vulnerability when the attacker is authenticated. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog, indicating that it is not a known exploited vulnerability as of this analysis. The likely attack vector is a network‑based authenticated session; an attacker must first authenticate with legitimate user credentials before sending malicious requests. No additional exploitation prerequisites are described beyond authentication and the ability to send HTTP or HTTPS traffic to the device.

Remediation

Vendor Solution

Upgrade to FortiMail version 8.0.0 or above Upgrade to FortiMail version 7.6.4 or above Upgrade to FortiMail version 7.4.6 or above Upgrade to FortiMail version 7.2.9 or above Fortinet remediated this issue in FortiMail Cloud version 25.3 and hence customers do not need to perform any action.


OpenCVE Recommended Actions

  • Upgrade to FortiMail version 8.0.0 or above
  • If version 8.0.0 is not available, upgrade to FortiMail 7.6.4 or above
  • If 7.6.4 is not applicable, upgrade to FortiMail 7.4.6 or above
  • If 7.4.6 is not applicable, upgrade to FortiMail 7.2.9 or above
  • For FortiMail Cloud customers, the issue is remediated in version 25.3, so no action is required

Generated by OpenCVE AI on October 13, 2026 at 19:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title SQL Injection in FortiMail via Undistinguished HTTP Requests
Type Values Removed Values Added
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.
First Time appeared Fortinet
Fortinet fortimail
Weaknesses CWE-89
CPEs cpe:2.3:a:fortinet:fortimail:7.2.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.3:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.4:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.5:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.6:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.7:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.2.8:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.3:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.4:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.4.5:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.6.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.6.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.6.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortimail:7.6.3:*:*:*:*:*:*:*
Vendors & Products Fortinet
Fortinet fortimail
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
fortinet
Published
Updated
Oct 14, 2026, 10:51 AM
Reserved
Aug 19, 2025, 12:04 PM
Status
Awaiting Analysis
Published
Oct 13, 2026, 6:17 PM
Modified
Oct 23, 2026, 10:10 PM