# CVE-2026-126148: OS command injection in FortiMail

FortiMail contains an OS command injection flaw that allows an unauthenticated attacker to execute unauthorized code or commands. By sending specially crafted HA join-request packets over the network, the attacker can exploit this vulnerability without needing to log in or interact with any user.

- Vendor: Fortinet, FortiMail
- Severity: CRITICAL (CVSS 3.1 9.8)
- Exploited (CISA KEV): not listed
- EPSS: 2.3% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-200, https://fortiguard.fortinet.com/psirt/FG-IR-26-200
- Published: 2026-11-11; updated: 2026-11-16
- Page: https://patchtonight.com/cve/CVE-2026-126148/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiMail 8.0.0 to 8.0.1 | 8.0.2 or later |
| FortiMail 7.6.0 to 7.6.6 | 7.6.7 or later |

## The vendor's 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.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-200)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
