Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-37937: An improper neutralization of special elements used in an os command ('os command injection') in Fortinet Fort

38
Routine
HIGH 7.8UPGRADE

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 score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.5% (top 55%)
CISA exploited listNo
WeaknessCWE-78
Published2025-01-14
Last modified2026-06-17
Publisher (CNA): Fortinet, Inc. · Vendor: fortinet

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fortinet fortiswitch UPGRADE
Affected: >= 6.0.0 and < 6.2.8 · >= 6.4.0 and < 6.4.14 · >= 7.0.0 and < 7.0.8 · >= 7.2.0 and < 7.2.6 · 7.4.0
Fixed in: 6.2.8, 6.4.14, 7.0.8, 7.2.6
Safe to downgrade to: a release before 6.0.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Fortinet vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.