# CVE-2026-126146: OS command injection in FortiMail, FortiRecorder

An OS command injection flaw in FortiMail and FortiRecorder allows an attacker with an administrator account to execute unauthorized code or commands over the network. The attacker achieves this by submitting a specifically crafted archive account configuration, which the system processes without properly neutralizing special elements. No user interaction is required for the attack to succeed.

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

## 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.4 | 7.6.5 or later |
| FortiMail 7.4.0 to 7.4.6 | 7.4.7 or later |
| FortiMail 7.2.0 to 7.2.9 | 7.2.10 (upcoming) or later |
| FortiRecorder 7.6 | 7.6.3 (upcoming) or later |
| FortiRecorder 7.2.0 to 7.2.11 | 7.2.13 (upcoming) or later |
| FortiRecorder 7.0.0 to 7.0.6 | 7.0.7 (upcoming) 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.4, FortiMail 7.4.0 through 7.4.6, FortiMail 7.2.0 through 7.2.9, FortiRecorder 7.6.0, FortiRecorder 7.2.0 through 7.2.11, FortiRecorder 7.0.0 through 7.0.6 may allow an authenticated privileged attacker to execute unauthorized code or commands via a specifically crafted archive account configuration.

## Sources

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

---

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.
