# CVE-2026-126163: Use of externally-controlled format string in FortiMail

FortiMail contains a format string vulnerability that allows a remote attacker to execute unauthorized code or commands. The attacker can exploit this flaw by sending a specially crafted SMTP command over the network. This attack requires no prior authentication or user interaction to succeed.

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

## 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 use of externally-controlled format string vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1 may allow a remote unauthenticated attacker to execute unauthorized code or commands via a specially crafted SMTP command.

## Sources

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

---

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.
