# CVE-2024-52961: Improper neutralization of special elements used in an OS Command in FortiSandbox

- Vendor: Fortinet, FortiSandbox
- Severity: HIGH (CVSS 3.1 8.6)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-24-306, https://fortiguard.fortinet.com/psirt/FG-IR-24-306
- Published: 2025-03-11; updated: 2026-01-14
- Page: https://patchtonight.com/cve/CVE-2024-52961/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiSandbox 5.0 | 5.0.1 or later |
| FortiSandbox 4.4.0 to 4.4.6 | 4.4.7 or later |
| FortiSandbox 4.2.1 to 4.2.7 | 4.2.8 or later |
| FortiSandbox 4.0.0 to 4.0.5 | 4.0.6 or later |
| FortiSandbox 3.2.0 to 3.2.4 | Upgrade past 3.2.4; see the advisory |
| FortiSandbox 3.1.0 to 3.1.5 | Upgrade past 3.1.5; see the advisory |
| FortiSandbox 3.0.0 to 3.0.7 | Upgrade past 3.0.7; see the advisory |

## The vendor's description

An improper neutralization of special elements used in an OS Command vulnerability [CWE-78] vulnerability in Fortinet FortiSandbox 5.0.0, FortiSandbox 4.4.0 through 4.4.6, FortiSandbox 4.2.1 through 4.2.7, FortiSandbox 4.0.0 through 4.0.5, FortiSandbox 3.2 all versions, FortiSandbox 3.1 all versions, FortiSandbox 3.0 all versions allows an authenticated attacker with at least read-only permission to execute unauthorized commands via crafted requests.

## Sources

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

---

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.
