# CVE-2026-126167: Fortinet FortiMail command injection in admin GUI

Source: https://junglewise.ai/threats/cve-2026-126167-a-improper-neutralization-of-special-elements-used-in-a-command  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-11. Updated: 2026-11-11  
License: CC BY 4.0 with a link back

CVE-2026-126167 · Severity: high · CVSS 7.2 · Published 2026-11-11

FortiMail is an email security appliance that protects against malware and threats. An authenticated administrator can inject commands through the web interface to execute arbitrary code as root, delete users on linked authentication systems, or access sensitive files—requiring only domain admin or admin credentials to exploit.

Technologies: [Fortinet FortiMail](https://junglewise.ai/threats/technologies/fortimail). Vendors: [Fortinet](https://junglewise.ai/threats/vendors/fortinet).

## Quick answers

**Is CVE-2026-126167 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-126167 being exploited in the wild.

**How severe is CVE-2026-126167?** High severity, with a CVSS score of 7.2, published 11 November 2026.

**Which products and versions are affected?** Fortinet FortiMail 8.0.0 through 8.0.2, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2 all versions.

**Is there a fix for CVE-2026-126167?** Yes: fixed in FortiMail 8.0.3 or above, 7.6.7 or above, 7.4.9 or above; 7.2 requires migration to a fixed release. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-126167 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-126167?** Check whether you run Fortinet FortiMail at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in FortiMail 8.0.3 or above, 7.6.7 or above, 7.4.9 or above; 7.2 requires migration to a fixed release

## Technical details

CWE-88 argument injection in the FortiMail administrative GUI allows authenticated attackers with domain admin or admin privileges to craft HTTP requests that execute arbitrary CLI commands and code as root. The vulnerability affects versions 8.0.0–8.0.2, 7.6.0–7.6.6, 7.4.0–7.4.8, and all 7.2 versions. Exploitation can also delete users on paired FortiAuthenticator systems and read/write arbitrary files.

## Affected products

- Fortinet FortiMail 8.0.0 through 8.0.2, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2 all versions

## Timeline

- 2026-11-10: disclosed
- 2026-10-05: patched: FortiMail Cloud updated to v7.6.7 GA or v8.0.2 GA

## References

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

## Related threats

- [Fortinet FortiMail SQL injection](https://junglewise.ai/threats/cve-2026-126263-a-improper-neutralization-of-special-elements-used-in-an-sql)
- [Fortinet FortiMail argument injection in administrative interface](https://junglewise.ai/threats/cve-2026-126169-a-improper-neutralization-of-argument-delimiters-in-a-command)
- [Fortinet FortiMail argument injection in administrative interface](https://junglewise.ai/threats/cve-2026-126168-a-improper-neutralization-of-argument-delimiters-in-a-command)
- [Fortinet FortiMail argument injection in admin interface](https://junglewise.ai/threats/cve-2026-126166-a-improper-neutralization-of-argument-delimiters-in-a-command)
- [Fortinet FortiMail memory allocation DoS](https://junglewise.ai/threats/cve-2026-126165-a-memory-allocation-with-excessive-size-value-vulnerability-in)
