CVE-2025-57739: 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
CVE-2025-57739 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.7 (Fortinet), 7.7 (Fortinet)
- CVSS 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· base score 7.7, scored by fortinetAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-89 Escalation of privilege
- EPSS
- 0.50% chance of exploitation in the next 30 days (35th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Fortinet: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9
- Fortinet: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9
- Vendor advisories
- 2 from Fortinet
- Assigned by
- fortinet (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-57739; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2025-57739?
You are affected if you run FortiMail at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Fortinet: FortiMail: 7.6.0 through 7.6.3 (vendor-listed versions) | FortiMail: 7.6.4 |
| Fortinet: FortiMail: 7.4.0 through 7.4.5 (vendor-listed versions) | FortiMail: 7.4.6 |
| Fortinet: FortiMail: 7.2.0 through 7.2.8 (vendor-listed versions) | FortiMail: 7.2.9 |
| Fortinet: FortiMail: 7.6.0 through 7.6.3 (vendor-listed versions) | FortiMail: 7.6.4 |
| Fortinet: FortiMail: 7.4.0 through 7.4.5 (vendor-listed versions) | FortiMail: 7.4.6 |
| Fortinet: FortiMail: 7.2.0 through 7.2.8 (vendor-listed versions) | FortiMail: 7.2.9 |
Also listed as fixed: Fortinet: FortiMail: 8.0.0, Fortinet: FortiMail: 8.0.0
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.
Text from the CVE.org record (fortinet).
How do I fix CVE-2025-57739?
Upgrade to a fixed release named by the vendor:
- Fortinet: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9
- Fortinet: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9
- Upgrade to a fixed release: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9 or later. (Fortinet)
- Upgrade to a fixed release: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9 or later. (Fortinet)
- 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. (CVE.org record)
Vendor advisories for CVE-2025-57739
Fortinet
2 advisories- Advisory severityHigh7.7
High [CVE-2025-57739] 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
CVE-2025-57739Source published Source updated
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.
- Affected products in this advisory
- FortiMail
- Source-reported affected versions
- FortiMail: 7.6.0 through 7.6.3 (vendor-listed versions)
- FortiMail: 7.4.0 through 7.4.5 (vendor-listed versions)
- FortiMail: 7.2.0 through 7.2.8 (vendor-listed versions)
- Source-reported fixed versions
- FortiMail: 8.0.0
- FortiMail: 7.6.4
- FortiMail: 7.4.6
- FortiMail: 7.2.9
- Mitigation guidance
- Upgrade to a fixed release: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9 or later.
- Advisory severityHigh7.7
High [CVE-2025-57739] SQL command injection in webmail
FG-IR-26-184Source published Source updated
CVSSv3 Score: 7.7 An improper neutralization of special elements used in an SQL Command ("SQL Injection") vulnerability [CWE-89] in FortiMail webmail may allow an authenticated attacker to execute unauthorized code or commands via specifically crafted HTTP requests. Revised on 2026-10-13 00:00:00
- Affected products in this advisory
- FortiMail
- Source-reported affected versions
- FortiMail: 7.6.0 through 7.6.3 (vendor-listed versions)
- FortiMail: 7.4.0 through 7.4.5 (vendor-listed versions)
- FortiMail: 7.2.0 through 7.2.8 (vendor-listed versions)
- Source-reported fixed versions
- FortiMail: 8.0.0
- FortiMail: 7.6.4
- FortiMail: 7.4.6
- FortiMail: 7.2.9
- Mitigation guidance
- Upgrade to a fixed release: FortiMail: 8.0.0, FortiMail: 7.6.4, FortiMail: 7.4.6, FortiMail: 7.2.9 or later.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Fortinet advisories
CVE-2026-126263Nov 11, 2026FortiMail SQL injectionCVE-2026-126163Nov 11, 2026FortiMail format string vulnerabilityCVE-2026-126165Nov 11, 2026Memory allocation with excessive size valueCVE-2026-126161Nov 11, 2026FortiMail denial of serviceCVE-2026-126162Nov 11, 2026XML injectionCVE-2026-126154Nov 11, 2026Out-of-bounds write
Get an email when Fortinet publishes the next one.
See Fortinet's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).