# CVE-2024-40587: OS command injection in FortiVoice

- Vendor: Fortinet, FortiVoice
- Severity: MEDIUM (CVSS 3.1 6.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.6% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-24-304, https://fortiguard.fortinet.com/psirt/FG-IR-24-304
- Published: 2025-01-14; updated: 2025-01-14
- Page: https://patchtonight.com/cve/CVE-2024-40587/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiVoice 7.0.0 to 7.0.4 | 7.0.5 or later |
| FortiVoice 6.4.0 to 6.4.9 | 6.4.10 or later |
| FortiVoice 6.0.0 to 6.0.12 | Upgrade past 6.0.12; see the advisory |

## The vendor's description

An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiVoice version 7.0.0 through 7.0.4 and before 6.4.9 allows an authenticated privileged attacker to execute unauthorized code or commands via crafted CLI requests.

## Sources

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

---

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.
