Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for CVE-2026-39808.

Upgrade to Pro
CVE-2026-39808 Elastic Security · Elastic

Detect Fortinet FortiSandbox OS Command Injection (CVE-2026-39808) in Elastic Security

Detects potential exploitation of CVE-2026-39808, an OS command injection vulnerability (CWE-78) in Fortinet FortiSandbox that allows an authenticated or unauthenticated attacker to execute arbitrary OS commands via crafted requests to the FortiSandbox management interface. This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and is subject to BOD 26-04 remediation timelines. Detection focuses on anomalous shell/command execution patterns originating from FortiSandbox processes, suspicious HTTP requests to the management interface containing shell metacharacters, and unexpected child processes spawned by FortiSandbox web/API services observed via syslog, proxy, or EDR telemetry on adjacent/monitoring hosts.

MITRE ATT&CK

Tactic
Initial Access Execution

Elastic Detection Query

Elastic Security (Elastic)
eql
network where event.dataset in ("fortinet.fortisandbox", "proxy.log") and
  url.path : ("*api*", "*sys*", "*cgi-bin*") and
  (url.original : "*;*" or url.original : "*|*" or url.original : "*&&*" or url.original : "*%60*" or url.original : "*wget*" or url.original : "*curl*" or url.original : "*/bin/sh*" or url.original : "*/bin/bash*")
critical severity medium confidence

Elastic EQL rule to detect HTTP requests toward FortiSandbox API/system endpoints embedding shell metacharacters or download utilities associated with CVE-2026-39808 command injection.

Data Sources

Elastic Network/Proxy integrationFortinet integration

Required Tables

logs-network.*logs-fortinet.fortisandbox*

False Positives & Tuning

  • Automated scanning tools generating crafted payloads for testing
  • Legitimate scripts embedding backticks or pipes in encoded query parameters
  • Security research/purple-team validation traffic

Other platforms for CVE-2026-39808


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate command injection payload via HTTP request

    Expected signal: Proxy/firewall log entry with RequestURL containing ';id' directed at a lab FortiSandbox API endpoint

  2. Test 2Simulate reverse-shell download attempt via injected command

    Expected signal: Decoded URL parameter containing '&&wget' pattern logged in proxy/CEF logs; potential outbound connection to LAB-C2 in network logs

  3. Test 3Simulate suspicious child process spawn from FortiSandbox-named parent

    Expected signal: EDR process-creation event showing ParentBaseFileName 'fsav_httpd' spawning /bin/bash with CommandLine containing the test string

Unlock playbooks & atomic tests with Pro

Get the full detection package for CVE-2026-39808 — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections