CVE-2026-126158 Command injection in FortiMail

High 7.2 Published Updated

An authenticated FortiMail administrator can execute commands as root via crafted HTTP requests.

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-126158?

CVE-2026-126158 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 an os command ('os command injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1 may allow an authenticated administrator to execute unauthorized code or commands as root via specially crafted HTTP requests.

Weakness: CWE-78

Which versions are affected by CVE-2026-126158?

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

How do I fix CVE-2026-126158?

No fix has been published for CVE-2026-126158 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-126158 being exploited?

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

Sources

Also known as GHSA-73gc-wqhv-38mj.

Is CVE-2026-126158 in your software?

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

Check your SBOMs for free