CVE-2026-126145 Command injection in FortiMail
An authenticated FortiMail administrator with system-time read-write access can inject OS commands and run them as root.
- 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-126145?
CVE-2026-126145 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, 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 administrator with system-time read-write access to execute unauthorized code or commands as root.
Weakness: CWE-78
Which versions are affected by CVE-2026-126145?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-126145?
No fix has been published for CVE-2026-126145 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-126145 being exploited?
There is no known exploitation of CVE-2026-126145 in the wild and no public exploit code.
Sources
Also known as GHSA-m2f9-q8wq-3vg4.