Description
A local privilege escalation and local code execution vulnerability in Fortinet FortiOS 5.6.0 to 5.6.2, 5.4.0 to 5.4.8, and 5.2 and below versions allows attacker to execute unauthorized binary program contained on an USB drive plugged into a FortiGate via linking the aforementioned binary program to a command that is allowed to be run by the fnsysctl CLI command.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fortinet | FortiOS | 5.6.0 to 5.6.2, 5.4.0 to 5.4.8, 5.2 and below versions | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
0xSIGILL/CVE-2017-14187_PoC_ARMv7 ★ 1 · Dec 8, 2025
LPE for FortiOS 5.6.0 to 5.6.2, 5.4.0 to 5.4.8, and below 5.2
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-0496 Fortinet FortiOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 24, 2026
References
- 1040983 vdb-entry
- 104312 vdb-entry
- https://fortiguard.com/advisory/FG-IR-17-245