Home / Fortinet / FortiDDoS / CVE-2022-40679
CVE-2022-40679: is it exploited, and which versions of Fortinet FortiDDoS are affected and fixed?
CVE-2022-40679 is an OS command injection vulnerability in Fortinet FortiDDoS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: FortiDDoS from 5.6.0 through 5.6.1, FortiDDoS from 5.5.0 through 5.5.1, FortiDDoS from 5.4.0 through 5.4.2 and 26 more (CVE record by fortinet). Fixed in 6.2.5, 5.7.0, 6.1.5, 6.2.3 and 1 more (NVD). Severity: High (7.1, CVSS 3.1, from fortinet).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2022-40679?
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.
From the CVE record by fortinet, last updated October 23, 2024, 14:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Fortinet | FortiDDoS | from 5.6.0 through 5.6.1 from 5.5.0 through 5.5.1 from 5.4.0 through 5.4.2 from 5.3.0 through 5.3.1 5.2.0 5.1.0 5.0.0 4.7.0 4.6.0 4.5.0 from 4.4.0 through 4.4.2 from 4.3.0 through 4.3.2 and 3 more ranges | |
| Fortinet | FortiDDoS-F | 6.4.0 from 6.3.0 through 6.3.3 from 6.2.0 through 6.2.2 from 6.1.0 through 6.1.4 | |
| Fortinet | FortiADC | 7.1.0 from 7.0.0 through 7.0.3 from 6.2.0 through 6.2.4 from 6.1.0 through 6.1.6 from 6.0.0 through 6.0.4 from 5.4.0 through 5.4.5 from 5.3.0 through 5.3.7 from 5.2.0 through 5.2.8 from 5.1.0 through 5.1.7 from 5.0.0 through 5.0.4 |
As the CVE record by fortinet states it, last updated October 23, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fortinet | fortiadc | from 5.0.0 before 6.2.5 | application |
| fortinet | fortiddos | from 4.0.0 before 5.7.0 | application |
| fortinet | fortiddos-f | from 6.1.0 before 6.1.5 | application |
| fortinet | fortiddos-f | from 6.2.0 before 6.2.3 | application |
| fortinet | fortiddos-f | from 6.3.0 before 6.3.4 | application |
| fortinet | fortiddos-f | 6.4.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:01 UTC.
How severe is CVE-2022-40679?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R | fortinet |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-40679 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 23, 2024)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
How do I fix it? (from the CVE record)
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
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- September 14, 2022
- Published
- April 11, 2023, 16:05 UTC
- CVE record updated
- October 23, 2024, 14:30 UTC by fortinet
- NVD
- Modified, last modified June 17, 2026, 05:01 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect FortiDDoS?
- Mar 28, 2025CVE-2021-24008 Fortinet FortiDDoS: information disclosure
- Jan 22, 2025CVE-2022-23439 Fortinet FortiTester: externally Controlled Reference to a Resource in Another Sphere
- Aug 13, 2024CVE-2022-27486 Fortinet FortiDDoS: OS command injection
- Feb 2, 2022CVE-2021-36193 Fortinet FortiFone: stack buffer overflow
- Dec 8, 2021CVE-2021-42757 Fortinet FortiOS: buffer overflow
Questions about CVE-2022-40679
Is CVE-2022-40679 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Fortinet FortiDDoS are affected by CVE-2022-40679?
FortiDDoS from 5.6.0 through 5.6.1, FortiDDoS from 5.5.0 through 5.5.1, FortiDDoS from 5.4.0 through 5.4.2, FortiDDoS from 5.3.0 through 5.3.1, FortiDDoS 5.2.0, FortiDDoS 5.1.0 and 23 more, per the CVE record by fortinet. The tables above give every range the sources list.
Which version fixes CVE-2022-40679?
6.2.5, 5.7.0, 6.1.5, 6.2.3 and 6.3.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-40679?
High (7.1, CVSS 3.1, from fortinet). The severity table above shows each score with its source.
Where is the official record of CVE-2022-40679?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.