Summary
| Parameter | Value |
|---|---|
| CVE ID | CVE-2026-126164 |
| Alert Source | GitHub Advisory - Critical Vulnerability |
| CVE Publication Year | 2026 |
| Date Published | 2026-11-12 |
| Vendor | Fortinet |
| Product | FortiMail |
| Vulnerability Type | SQL injection (CWE-89) |
| CVSS Score | 9.4 (critical) |
| EPSS Score | No data |
| CISA KEV | No |
| Ransomware | Not confirmed |
Vulnerability Description
An improper neutralization of special elements used in an SQL command (‘SQL injection’) vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8 and 7.2 all versions may allow an unauthenticated attacker to execute unauthorized code or commands via crafted requests.
Compromising the mail gateway gives an attacker access to the mail flowing through it, the ability to modify it, and a foothold in the corporate network.
Required Actions
- Update FortiMail to the version listed in Fortinet advisory FG-IR-26-216.
- Restrict access to the FortiMail administrative interface to the management network or a list of trusted addresses.
- Review FortiMail logs for unusual HTTP requests and unexpected configuration changes.
Who Is Affected?
The vulnerability affects Fortinet FortiMail 8.0.0–8.0.1, 7.6.0–7.6.6, 7.4.0–7.4.8 and all 7.2 versions. FortiMail is an email security gateway, typically exposed to the internet (SMTP, webmail) and used by enterprises and public institutions.
Sources
Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.
Frequently asked questions
What is the CVE-2026-126164 vulnerability?
CVE-2026-126164 is an SQL injection flaw (CWE-89) in Fortinet FortiMail that allows an unauthenticated attacker to execute code or commands. CVSS score: 9.4.
Does exploiting CVE-2026-126164 require authentication?
No. The attack requires no authentication or user interaction.
How to protect against CVE-2026-126164?
Update FortiMail as per advisory FG-IR-26-216 and restrict access to the device interfaces.
Who is affected by CVE-2026-126164?
Organizations running FortiMail 7.2–8.0.1.
