CVE-2023-37937: An improper neutralization of special elements used in an os command ('os command injection') in Fortinet Fort
CVE-2023-37937 is a high-severity flaw (CVSS 7.8) affecting fortiswitch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2025-01-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-37937?
fortiswitch: upgrade to 6.2.8, 6.4.14, 7.0.8, 7.2.6. Exact commands for each OS are on this page.
Is CVE-2023-37937 being exploited?
CVE-2023-37937 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-37937 affect?
CVE-2023-37937 affects fortiswitch. Severity is high (CVSS 7.8). 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 t
How urgent is CVE-2023-37937?
Priority 38/100. High severity
Software pages
Related CVEs
- CVE-2024-48887 CRITICAL 9.8 UPGRADE A unverified password change vulnerability in Fortinet FortiSwitch GUI may allow a remote unauthenticated att
- CVE-2023-37936 CRITICAL 9.8 UPGRADE A use of hard-coded cryptographic key in Fortinet FortiSwitch version 7.4.0 and 7.2.0 through 7.2.5 and 7.0.0
- CVE-2023-25610 CRITICAL 9.8 UPGRADE UPGRADE A buffer underwrite ('buffer underflow') vulnerability in the administrative interface of Fortinet FortiOS ver