What’s Vulnerable › Vulnerabilities
CVE-2023-40721
- Severity: medium (CVSS 6.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-11 · updated 2026-06-17
- Weakness: CWE-134
Description
A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged attacker to execute arbitrary code or commands via specially crafted requests.
Affected products
- Fortinet FortiOS (FortiGate): from 6.2.0 before 7.0.14; from 7.2.0 before 7.2.7; 7.4.0 — fixed in 7.0.14, 7.2.7
- Fortinet FortiPAM: from 1.0.0 before 1.2.0 — fixed in 1.2.0
- Fortinet FortiProxy: from 1.2.0 before 7.0.15; from 7.2.0 before 7.2.8; 7.4.0 — fixed in 7.0.15, 7.2.8
- Fortinet FortiSwitchManager: from 7.0.0 before 7.0.3; from 7.2.0 before 7.2.3 — fixed in 7.0.3, 7.2.3
How to fix
Upgrade to a fixed version: Fortinet FortiOS (FortiGate) 7.0.14, 7.2.7; Fortinet FortiPAM 1.2.0; Fortinet FortiProxy 7.0.15, 7.2.8; Fortinet FortiSwitchManager 7.0.3, 7.2.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2023-40721 or the next vulnerability affects your stack