Other security products
CVE-2023-37937: OS command injection in FortiSwitch
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiSwitch version 7.4.0 and 7.2.0 through 7.2.5 and 7.0.0 through 7.0.7 and 6.4.0 through 6.4.13 and 6.2.0 through 6.2.7 and 6.0.0 through 6.0.7 allows attacker to execute unauthorized code or commands via the FortiSwitch CLI.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiSwitch 7.4 | 7.4.1 or later |
| FortiSwitch 7.2.0 to 7.2.5 | 7.2.6 or later |
| FortiSwitch 7.0.0 to 7.0.7 | 7.0.8 or later |
| FortiSwitch 6.4.0 to 6.4.13 | 6.4.14 or later |
| FortiSwitch 6.2.0 to 6.2.7 | 6.2.8 or later |
| FortiSwitch 6.0.0 to 6.0.7 | Upgrade past 6.0.7; see the advisory |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiSwitch version 7.4.0 and 7.2.0 through 7.2.5 and 7.0.0 through 7.0.7 and 6.4.0 through 6.4.13 and 6.2.0 through 6.2.7 and 6.0.0 through 6.0.7 allows attacker to execute unauthorized code or commands via the FortiSwitch CLI.
Sources
KEV status, EPSS score and vendor data refreshed automatically, last on 10 Oct 2026.