CVE-2026-126164: Fortinet FortiMail SQL injection

CVE-2026-126164 · Severity: critical · CVSS 9.4 · Published 2026-11-11

FortiMail is an email security appliance that filters and inspects incoming and outgoing mail. An unauthenticated attacker can exploit a SQL injection flaw in the API to execute arbitrary code or commands on the appliance, potentially compromising email data and enabling further attacks on the network.

Technologies: Fortinet FortiMail. Vendors: Fortinet.

Quick answers

Is CVE-2026-126164 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-126164 being exploited in the wild.
How severe is CVE-2026-126164?
Critical severity, with a CVSS score of 9.4, published 11 November 2026.
Which products and versions are affected?
Fortinet FortiMail 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2 all versions.
Is there a fix for CVE-2026-126164?
Yes: fixed in FortiMail 8.0.2, 7.6.7, 7.4.9; FortiMail 7.2 requires migration to a fixed release. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-126164 attacked?
It is attacked over the network.
Am I affected by CVE-2026-126164?
Check whether you run Fortinet FortiMail at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: FortiMail 8.0.2, 7.6.7, 7.4.9; FortiMail 7.2 requires migration to a fixed release

Technical details

A SQL injection vulnerability (CWE-89) in the FortiMail API allows unauthenticated attackers to inject malicious SQL commands via crafted requests, leading to unauthorized code execution. No authentication or user interaction is required; the attack vector is network-accessible. A successful exploit grants the attacker the ability to execute arbitrary commands on the appliance, potentially compromising mail data, user credentials, and system integrity.

Affected products

  • Fortinet FortiMail 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2 all versions

Timeline

  • 2026-11-10: disclosed
  • 2026-10-05: patched: FortiMail Cloud remediated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.