CVE-2021-32586: An improper input validation vulnerability in the web server CGI facilities of FortiMail before 7.0.1 may allow an unauthenticated attack…

CVE-2021-32586 affects 82 listed versions of Fortinet FortiMail in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
1%EPSS (next 30 days)
1 March 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Fortinet FortiMail

82 of 136 listed versions are affected. Fixed in 7.0.1, 6.4.6, 6.2.8, 6.0.12. The newest release, 8.0.3, is not affected.

7.0.0 7.0 6.4.5 6.4.4 6.4.2 6.4.1 6.4.0 6.4 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.2 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.0 6.0 5.4.12 5.4.11 5.4.10 5.3.13 5.3.10 5.3.9 5.3.8 5.3.7 5.3.6 5.3.5 5.3.4 5.3.3 5.3.2 5.3.1 5.3 5.2.10 5.2.9 5.2.8 5.2.7 5.2.6 5.2.5 5.2.4 5.2.3 5.2.2 5.2.1 5.2 5.1.7 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1 5.0.11 and 22 more

What it is

An improper input validation vulnerability in the web server CGI facilities of FortiMail before 7.0.1 may allow an unauthenticated attacker to alter the environment of the underlying script interpreter via specifically crafted HTTP requests.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Fortinet on 1 March 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-32586 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.