CVE-2026-126167 Command injection in FortiMail

High 7.2 Published Updated

Domain admins can inject commands via crafted HTTP requests to delete other tenants' users, run root commands, and read or write files on FortiMail.

Exploited in the wild
Not known
Login needed
An administrator
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-126167?

CVE-2026-126167 is a high-severity command injection vulnerability in Fortinet FortiMail, published on 11 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A improper neutralization of special elements used in a command ('command injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.2, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an authenticated remote attacker with domain admin or admin privileges to delete users of other tenant domains on a paired FortiAuthenticator, execute arbitrary code as root or arbitrary CLI commands, and read or write arbitrary files as root via crafted HTTP requests to the administrative interface.

Weakness: CWE-77

Which versions are affected by CVE-2026-126167?

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

How do I fix CVE-2026-126167?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-126167 being exploited?

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

Sources

Also known as GHSA-mjmp-97qr-g3pc.

Is CVE-2026-126167 in your software?

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

Check your SBOMs for free