CVE-2022-40679: Fortinet FortiADC

High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.

An improper neutralization of special elements used in an OS command vulnerability [CWE-78] in FortiADC 5.x all versions, 6.0 all versions, 6.1 all versions, 6.2.0 through 6.2.4, 7.0.0 through 7.0.3, 7.1.0; FortiDDoS 4.x all versions, 5.0 all versions, 5.1 all versions, 5.2 all versions, 5.3 all versions, 5.4 all versions, 5.5 all versions, 5.6 all versions and FortiDDoS-F 6.4.0, 6.3.0 through 6.3.3, 6.2.0 through 6.2.2, 6.1.0 through 6.1.4 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments to existing commands.

Affected products

  • Fortinet FortiADC: from 5.0.0, before 6.2.5 (fixed in 6.2.5)
  • Fortinet Fortiddos: from 4.0.0, before 5.7.0 (fixed in 5.7.0)
  • Fortinet Fortiddos-F: from 6.1.0, before 6.1.5 (fixed in 6.1.5); from 6.2.0, before 6.2.3 (fixed in 6.2.3); from 6.3.0, before 6.3.4 (fixed in 6.3.4); version 6.4.0 only

Published 2023-04-11. Last modified 2026-06-17.