CVE-2026-126164 SQL injection in FortiMail

Critical 9.4 Published Updated

Unauthenticated attackers can execute unauthorized code or commands on FortiMail via crafted SQL-injectable requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126164?

CVE-2026-126164 is a critical SQL injection vulnerability in Fortinet FortiMail, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A improper neutralization of special elements used in an sql command ('sql injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an unauthenticated attacker to execute unauthorized code or commands via crafted requests.

Weakness: CWE-89

Which versions are affected by CVE-2026-126164?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126164?

No fix has been published for CVE-2026-126164 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-126164 being exploited?

There is no known exploitation of CVE-2026-126164 in the wild and no public exploit code.

Sources

Also known as GHSA-fv8j-h9cr-f3g5.

Is CVE-2026-126164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free