CVE-2026-126148 Command injection in FortiMail

Critical 9.8 Published Updated

Unauthenticated attackers can execute commands on FortiMail via crafted HA join-request packets; FortiMail administrators should care.

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

CVE-2026-126148 is a critical command 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 os command ('os command injection') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6 may allow an unauthenticated attacker to execute unauthorized code or commands via crafted HA join-request packets.

Weakness: CWE-78

Which versions are affected by CVE-2026-126148?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-126148?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-94pv-xwr4-33w5.

Is CVE-2026-126148 in your software?

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

Check your SBOMs for free