CVE-2023-37936: Hardcoded Session Secret Leading to Unauthenticated Remote Code Execution

CVE-2023-37936 affects 49 listed versions of Fortinet FortiSwitchOS in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
1%EPSS (next 30 days)
14 January 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Fortinet FortiSwitchOS

49 of 102 listed versions are affected. Fixed in 7.4.1, 7.2.6, 7.0.8, 6.4.14, 6.2.8. The newest release, 8.0, is not affected.

7.4.0 7.4 7.2.5 7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.2 7.0.7 7.0.6 7.0.5 7.0.4 7.0.3 7.0.2 7.0.1 7.0.0 7.0 6.4.13 6.4.12 6.4.11 6.4.10 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.2 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 6.0

What it is

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 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 crafted requests.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Fortinet on 14 January 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2023-37936 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.