Fortinet FortiSandbox upload_vdi_file Command Injection Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fortinet FortiSandbox. Authentication is required to exploit this vulnerability.
The specific flaw exists within the upload_vdi_file endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.
Additional Details
Fortinet has issued an update to correct this vulnerability. More details can be found at:
https://fortiguard.fortinet.com/psirt/FG-IR-25-479
Disclosure Timeline
- 2025-05-29 - Vulnerability reported to vendor
- 2025-12-16 - Coordinated public release of advisory
- 2025-12-16 - Advisory Updated
Credit
Jason McFadyen of Trend Research