# CVE-2026-25089: FortiSandbox unauthenticated command injection in the web UI

An unauthenticated attacker can run OS commands on FortiSandbox through crafted HTTP requests to the "start VNC" feature. Defused saw exploitation attempts in June 2026, and CISA added it to the KEV catalog on July 16, 2026.

- Vendor: Fortinet, FortiSandbox web UI
- Severity: CRITICAL (CVSS 3.1 9.1)
- Exploited (CISA KEV): yes, added 2026-07-16
- EPSS: 76.1% on 2026-11-23
- Public exploit: none reported
- Patch available: yes
- Vendor advisory: FG-IR-26-141, https://fortiguard.fortinet.com/psirt/FG-IR-26-141
- Published: 2026-06-09; updated: 2026-10-11
- Page: https://patchtonight.com/cve/CVE-2026-25089/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiSandbox 5.0.0 to 5.0.5 | 5.0.6 or later |
| FortiSandbox 4.4.0 to 4.4.8 | 4.4.9 or later |
| FortiSandbox 4.2 (CVE record lists 4.2.1 to 4.2.8 and says "all versions") | No fix listed in the advisory. Upgrade to a fixed 4.4 or 5.0 release |
| FortiSandbox Cloud and PaaS 5.0.4 to 5.0.5 | 5.0.6 or later |
| FortiSandbox 5.2, Cloud 4.4 and 5.2, PaaS 4.4, 5.2 and 23.4 | Not affected |

## What it is

The FortiSandbox web interface has an **OS command injection** (CWE-78) in its "start VNC" feature. Fortinet describes it as a second-order injection through JSON input. Crafted HTTP requests let an **unauthenticated** attacker run commands on the appliance. Fortinet rates it CVSS 9.1 (critical). It was found internally by Adham El Karn of Fortinet Product Security.

A sandbox holds malware samples and analysis data, and it usually sits deep inside the network with broad reach. Code execution on it is a useful foothold.

Exploitation status, by source:

- **Fortinet:** the advisory says "Known Exploited: No" and describes no attacks.
- **Defused:** per Help Net Security, it warned of exploitation attempts against this CVE and two other FortiSandbox flaws, and called one exploit "vibecoded, and likely faulty". Help Net Security tied that exploit to this CVE. Fortinet had not confirmed the attacks at that point.
- **CISA:** added the CVE to KEV on July 16, 2026. Known ransomware use is listed as "Unknown". CISA requires forensic triage under BOD 26-04.

I found no source confirming a public proof of concept for this CVE. The same devices were also hit by two other FortiSandbox bugs, CVE-2026-39813 and CVE-2026-39808; check those too.

## Am I affected?

You're affected if you run FortiSandbox, FortiSandbox Cloud or FortiSandbox PaaS in one of these ranges:

- FortiSandbox 5.0.0 to 5.0.5
- FortiSandbox 4.4.0 to 4.4.8
- FortiSandbox Cloud and PaaS 5.0.4 to 5.0.5
- FortiSandbox 4.2: the advisory table doesn't list it, but the CVE record says all 4.2 versions (and lists 4.2.1 to 4.2.8). Treat 4.2 as affected.

**Not affected** per the advisory: FortiSandbox 5.2, Cloud 4.4 and 5.2, and PaaS 4.4, 5.2 and 23.4.

The flaw is in the web UI, so exposure depends on who can reach it. The advisory lists no special configuration and no workaround. Any appliance whose GUI is reachable by an attacker should be treated as exposed. The advisory gives no commands or menu paths for checking the version; use the firmware version shown on the appliance.

Fortinet says it fixes Cloud in 5.0.6 and 5.2.0 and that Cloud customers need no action. The CVE record lists 5.2.0 as upcoming.

## What to do

1. **Upgrade.** Move FortiSandbox 5.0.x to 5.0.6 or later, and 4.4.x to 4.4.9 or later. On 4.2, upgrade to a fixed 4.4 or 5.0 release.
2. **Restrict access to the web UI now.** Fortinet lists no workaround, so limiting who can reach the management interface is your only stopgap until you patch. Keep it off the internet.
3. **If it was reachable while vulnerable, assume possible compromise.** CISA requires forensic triage for this KEV entry. Review the appliance, then rotate credentials and API keys stored on or used by it. Rebuild the appliance if you find signs of tampering.

## Detection

No indicators of compromise have been published. Fortinet's advisory lists none, and Help Net Security says "additional details about the attacks are not available". Look for these behaviours instead:

- Unexpected HTTP requests from outside your admin network to the web UI, especially to the VNC start function with JSON bodies containing shell metacharacters. This is inferred from the bug description, not from a published log sample.
- Unexpected processes started by the web service on the appliance.
- Outbound connections from the sandbox that don't match normal update or management traffic.

Check back for updated indicators from Fortinet, CISA and Defused.

## Sources

- [Fortinet advisory FG-IR-26-141](https://fortiguard.fortinet.com/psirt/FG-IR-26-141)
- [CVE record (cveawg.mitre.org)](https://cveawg.mitre.org/api/cve/CVE-2026-25089)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-25089)
- [Help Net Security, attackers are exploiting FortiSandbox vulnerabilities](https://www.helpnetsecurity.com/2026/06/16/fortisandbox-vulnerabilities-cve-2026-39813-cve-2026-39808-cve-2026-25089/)

---

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.
