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

FortiMail contains an OS command injection flaw that allows an authenticated administrator to execute unauthorized code or commands with root privileges. By sending specially crafted HTTP requests over the network, an attacker with an existing administrator account can bypass intended controls and run arbitrary system commands. This vulnerability requires no user interaction to exploit.

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiMail 8.0.0 to 8.0.1 | 8.0.2 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 may allow an authenticated administrator to execute unauthorized code or commands as root via specially crafted HTTP requests.

## Sources

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

---

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.
