Fortinet FortiSandbox
Fortinet FortiSandbox OS Command Injection Vulnerability
A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.5, FortiSandbox 4.4.0 through 4.4.8, FortiSandbox 4.2 all versions, FortiSandbox Cloud 5.0.4 through 5.0.5, FortiSandbox PaaS 5.0.4 through 5.0.5 may allow an unauthenticated attacker to execute unauthorized commands via specifically crafted HTTP requests
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0, <= 5.0.5
- >= 4.4.0, <= 4.4.8
- >= 4.2.1, <= 4.2.8
- >= 5.0.4, <= 5.0.5
- >= 5.0.4, <= 5.0.5
Mitigation
Upgrade to upcoming FortiSandbox version 5.2.0 or above Upgrade to FortiSandbox version 5.0.6 or above Upgrade to FortiSandbox version 4.4.9 or above Upgrade to upcoming FortiSandbox PaaS version 5.2.0 or above Upgrade to FortiSandbox PaaS version 5.0.6 or above Fortinet remediated this issue in FortiSandbox Cloud version 5.2.0 (not released) and hence customers do not need to perform any action. Fortinet remediated this issue in FortiSandbox Cloud version 5.0.6 (not released) and hence customers do not need to perform any action.
Timeline
Days relative to CVE publicationFirst public PoC 12 h after publication; added to CISA KEV 37 days after publication. First PoC: HORKimhab/CVE-2026-25089 (created 10 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs · 1 not a PoC
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-25089 | 10 Jun 2026 +12 h | 6 | PoC |
| 0xBlackash/CVE-2026-25089 | 12 Jun 2026 +3.2 d | 3 | PoC |
| 0xredash/CVE-2026-25089 | 12 Jun 2026 +3.2 d | 3 | PoC |
| ashrafzaryouh/CVE-2026-25089 | 12 Jun 2026 +3.2 d | 3 | PoC |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Layer-6/CVE-2026-5027-Langflow | 10 Jun 2026 +1.2 d | 0 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 4 PoC reposGET /$(whoami))
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\$\(whoami\)\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [4444] (msg:"GG PoC-Monitor CVE-2026-25089 Fortinet FortiSandbox exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/$(whoami))"; reference:url,poc.griffinguard.io/cve/CVE-2026-25089; classtype:web-application-attack; sid:9101691; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Fortinet FortiSandbox exploit attempt (CVE-2026-25089)
id: gg-pocmon-cve-2026-25089-9101691
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25089. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25089
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/$(whoami))'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25089