Skip to main content

Fortinet FortiMail CVE-2025-53681

| EUVDEUVD-2025-209801 HIGH
SQL Injection (CWE-89)
2026-05-12 fortinet GHSA-6mf6-qrvj-29vm
7.2
CVSS 3.1 · Vendor: fortinet
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain/compromise admin credentials
  2. Delivery
    Authenticate to FortiMail admin interface
  3. Exploit
    Craft HTTP request with SQL injection payload
  4. Execution
    Insert malicious SQL into database query
  5. Impact
    Extract/modify sensitive data or achieve code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires valid administrator (high-privilege) authentication credentials to FortiMail's web-based administrative interface. The attacker must be able to interact with the vulnerable HTTP/HTTPS endpoints that accept and process the SQL-injectable parameters; these are typically part of FortiMail's configuration management interface accessible at the appliance IP/hostname on standard web ports (80/443). No special non-default configuration or feature enablement is described as necessary - the vulnerability exists in core administrative functionality. Authentication is the primary limiting factor; unauthenticated remote attackers cannot exploit this vulnerability. Additionally, exploitation success depends on the specific parameter(s) vulnerable to injection and the backend SQL query structure, meaning some SQL payloads may fail against certain configurations, but the low attack complexity (AC:L) suggests straightforward exploitation for someone with admin access.

Impact

CVSS 6.3 with vector AV:N/AC:L/PR:H/UI:N/S:U indicates this is a network-accessible vulnerability with low attack complexity but requiring high-privilege authentication, resulting in confidentiality, integrity, and availability impact. Real-world risk is MEDIUM-TO-HIGH despite the sub-7.0 CVSS score, because: (1) the attack vector is network-accessible, meaning any administrator with legitimate access can exploit it without additional user interaction; (2) PR:H (high privilege required) is a significant mitigating factor - the attacker must already have administrator credentials, limiting the attack surface to insider threats or compromised admin accounts; (3) no EPSS score or KEV listing provided, suggesting either limited public information or early-stage disclosure; (4) patch availability exists, making this remediable. The primary risk is lateral privilege escalation or data breach by rogue administrators or via harvested admin credentials. For organizations where administrator accounts are tightly controlled and monitored, residual risk is lower; for organizations with shared admin accounts or lax access controls, risk is substantially higher.

Exploit ScenarioDerived

A rogue FortiMail administrator with legitimate login credentials crafts a specially malformed HTTP request to the administrative web interface, embedding SQL injection payloads in a parameter expected to contain a filter, policy name, or configuration value. The vulnerable code fails to sanitize the input before passing it to the backend SQL query, allowing the attacker to break out of the intended query context and execute arbitrary SQL commands. Depending on the underlying database and its permissions, the attacker can extract user credentials, modify mail routing rules to intercept outbound mail, or (if database-to-OS command execution is available) achieve remote code execution on the FortiMail appliance itself.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 12, 2026

SQL injection in FortiMail 7.2.0-7.2.8, 7.4.0-7.4.5, and 7.6.0-7.6.3 allows authenticated privileged administrators to execute arbitrary code or commands via crafted HTTP/HTTPS requests. The vulnerability requires high-privilege authentication (administrator role) and affects all recent major versions, with exploitation confirmed possible through network-accessible admin interfaces.

RemediationAI

Upgrade immediately to patched versions: FortiMail 7.2.9 or later, FortiMail 7.4.6 or later, or FortiMail 7.6.4 or later, per Fortinet advisory FG-IR-26-132 (https://fortiguard.fortinet.com/psirt/FG-IR-26-132). If immediate upgrade is not feasible, implement compensating controls: restrict FortiMail admin interface access to a hardened jump host or VPN with multi-factor authentication; disable or severely limit administrator account creation and use role-based access control (RBAC) to grant only necessary privileges (e.g., read-only mail policy review rather than full configuration change); enable detailed audit logging of all administrative API calls and SQL queries, with real-time alerting for anomalies. These controls do not eliminate the vulnerability but significantly reduce exploitability by limiting who can reach the vulnerable interface and enabling rapid incident detection. Prioritize patching over workarounds given the availability of vendor fixes and the sensitivity of email gateway administrative access.

Affected VersionsENISA

FortiMail 7.4.0 ≤7.4.5
FortiMail 7.2.0 ≤7.2.8
FortiMail 7.6.0 ≤7.6.3

Affected Packages

euvd fortimail no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FortiMail is Fortinet's email security gateway that processes mail traffic and administrative configurations via web-based interfaces. CWE-89 (SQL Injection) occurs when user-supplied input from HTTP/HTTPS requests is not properly sanitized before being incorporated into SQL queries executed against FortiMail's backend database. The vulnerability exists in the authenticated administrative interface, meaning the SQL injection payload must be delivered through a request authenticated as a privileged FortiMail administrator. The improper neutralization of special SQL command elements allows attackers to manipulate database queries, potentially extracting data, modifying records, or achieving remote code execution depending on database permissions and backend architecture.

Know when Fortimail gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (fortinet) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (fortinet) · only source for this CVE.

CVSS VectorVendor: fortinet

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Severity Changed
May 12, 2026 - 18:22 NVD
MEDIUM HIGH
CVSS changed
May 12, 2026 - 18:22 NVD
6.3 (MEDIUM) 7.2 (HIGH)
CVE Published
May 12, 2026 - 16:54 nvd
MEDIUM 6.3

DescriptionCVE.org

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 privileged attacker to execute unauthorized code or commands via specifically crafted HTTP or HTTPS requests.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-104286 CRITICAL POC
9.8 Oct 01

Unauthenticated path traversal in Fortinet FortiMail (7.2.0-7.2.9, 7.4.0-7.4.8, 7.6.0-7.6.6 and 8.0.0-8.0.1) lets a remo

CVE-2020-9294 CRITICAL POC
9.8 Apr 27

An improper authentication vulnerability in FortiMail 5.4.10, 6.0.7, 6.2.2 and earlier and FortiVoiceEntreprise 6.0.0 an

CVE-2026-126148 CRITICAL
9.8 Nov 11

Unauthenticated OS command injection in Fortinet FortiMail allows a remote attacker to execute unauthorized code or comm

CVE-2026-126147 CRITICAL
9.8 Nov 11

Path traversal in Fortinet FortiMail 8.0.0-8.0.1, 7.6.0-7.6.6, 7.4.0-7.4.8, and 7.2.x may let unauthenticated remote att

CVE-2026-126263 CRITICAL
9.8 Nov 11

SQL injection in Fortinet FortiMail 8.0.0-8.0.1, 7.6.0-7.6.4, and 7.4.0-7.4.6 can let an attacker execute unauthorized c

CVE-2023-47539 CRITICAL
9.8 Mar 18

An improper access control vulnerability in FortiMail version 7.4.0 configured with RADIUS authentication and remote_wil

CVE-2021-24020 CRITICAL
9.8 Jul 09

A missing cryptographic step in the implementation of the hash digest algorithm in FortiMail 6.4.0 through 6.4.4, and 6.

CVE-2021-24007 CRITICAL
9.8 Jul 09

Multiple improper neutralization of special elements of SQL commands vulnerabilities in FortiMail before 6.4.4 may allow

CVE-2026-126164 CRITICAL
9.4 Nov 11

Unauthenticated SQL injection in Fortinet FortiMail 7.2.x, 7.4.0-7.4.8, 7.6.0-7.6.6 and 8.0.0-8.0.1 may allow a remote a

CVE-2013-1471 MEDIUM POC
4.3 Feb 04

Multiple cross-site scripting (XSS) vulnerabilities in admin/FEAdmin.html in Fortinet FortiMail before 4.3.4 on FortiMai

CVE-2026-126155 CRITICAL
9.1 Nov 11

FortiMail's Identity-Based Encryption (IBE) webmail session handling can be abused by an unauthenticated remote attacker

CVE-2026-126156 CRITICAL
9.1 Nov 11

Unauthenticated remote attackers can take over an arbitrary Identity-Based Encryption (IBE) recipient account on affecte

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy