patchminder
No public exploit found CVE-2022-40679

Command injectionin Fortinet FortiDDoS.

Published 11 Apr 2023 · Updated 23 Oct 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

What to do now
  • Please upgrade to FortiDDoS-F version 6.4.1 or above Please upgrade to FortiDDoS-F version 6.3.4 or above Please upgrade to FortiDDoS-F version 6.2.3 or above Please upgrade to FortiDDoS-F version 6.1.5 or above Please upgrade to FortiDDoS version 5.7.0 or above Please upgrade to FortiADC version 7.1.1 or above Please upgrade to FortiADC version 7.0.4 or above Please upgrade to FortiADC version 6.2.5 or above

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FortiDDoS
5.6.0 to 5.6.1
Not confirmed
CVE record
FortiDDoS
5.5.0 to 5.5.1
Not confirmed
CVE record
FortiDDoS
5.4.0 to 5.4.2
Not confirmed
CVE record
FortiDDoS
5.3.0 to 5.3.1
Not confirmed
CVE record
FortiDDoS
5.2.0
Not confirmed
CVE record
FortiDDoS
5.1.0
Not confirmed
CVE record
FortiDDoS
5.0.0
Not confirmed
CVE record
FortiDDoS
4.7.0
Not confirmed
CVE record
FortiDDoS
4.6.0
Not confirmed
CVE record
FortiDDoS
4.5.0
Not confirmed
CVE record
FortiDDoS
4.4.0 to 4.4.2
Not confirmed
CVE record
FortiDDoS
4.3.0 to 4.3.2
Not confirmed
CVE record
FortiDDoS
4.2.1 to 4.2.2
Not confirmed
CVE record
FortiDDoS
4.1.1 to 4.1.12
Not confirmed
CVE record
FortiDDoS
4.0.0 to 4.0.1
Not confirmed
CVE record
FortiDDoS-F
6.4.0
Not confirmed
CVE record
FortiDDoS-F
6.3.0 to 6.3.3
Not confirmed
CVE record
FortiDDoS-F
6.2.0 to 6.2.2
Not confirmed
CVE record
FortiDDoS-F
6.1.0 to 6.1.4
Not confirmed
CVE record
FortiADC
7.1.0
Not confirmed
CVE record
FortiADC
7.0.0 to 7.0.3
Not confirmed
CVE record
FortiADC
6.2.0 to 6.2.4
Not confirmed
CVE record
FortiADC
6.1.0 to 6.1.6
Not confirmed
CVE record
FortiADC
6.0.0 to 6.0.4
Not confirmed
CVE record
FortiADC
5.4.0 to 5.4.5
Not confirmed
CVE record
FortiADC
5.3.0 to 5.3.7
Not confirmed
CVE record
FortiADC
5.2.0 to 5.2.8
Not confirmed
CVE record
FortiADC
5.1.0 to 5.1.7
Not confirmed
CVE record
FortiADC
5.0.0 to 5.0.4
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 14 Sep 2022
    CVE ID reserved by fortinet.
  2. 11 Apr 2023
    Published in the CVE List.
  3. 23 Oct 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other FortiDDoS vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-40679: Command injection in Fortinet FortiDDoS. https://patchminder.com/cve/cve-2022-40679/ (accessed 5 December 2026).