CVE-2022-40684: Fortinet Multiple Products Authentication Bypass Vulnerability
CVE-2022-40684 is a critical-severity flaw (CVSS 9.8) affecting fortiproxy, fortiswitchmanager, fortios, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 and 7.0.0 through 7.0.6, FortiProxy version 7.2.0 and version 7.0.0 through 7.0.6 and FortiSwitchManager version 7.2.0 and 7.0.0 allows an unauthenticated atttacker to perform operations on the administrative interface via specially crafted HTTP or HTTPS requests.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 100.0% (top 1%) |
| CISA exploited list | Yes, fix due 2022-11-01, used in ransomware |
| Weakness | CWE-287 |
| Published | 2022-10-18 |
| Last modified | 2026-08-06 |
Last updated 2026-08-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Published CVE record published
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: horizon3ai/CVE-2022-40684 (359 stars)
- GitHub PoC: carlosevieira/CVE-2022-40684 (87 stars)
- GitHub PoC: arsolutioner/fortigate-belsen-leak (87 stars)
- GitHub PoC: Anthony1500/CVE-2022-40684
- Exploit-DB: Fortinet FortiOS/FortiProxy/FortiSwitchManager 7.2.1 - Authentication Bypass
- Exploit-DB: Fortinet FortiOS/FortiProxy/FortiSwitchManager 7.2.0 - Authentication Bypass (Metasploit)
- Metasploit: Fortinet FortiOS, FortiProxy, and FortiSwitchManager authentication bypass.
- Nuclei scan template: Fortinet - Authentication Bypass
Advisories and coverage
Official advisories
- IPA Japan Security Alerts: Fortinet 製 FortiOS、FortiProxy および FortiSwitchManager の脆弱性対策について(CVE-2022-40684) 2022-10-10
Research and news
- GreyNoise Labs: Hackers Actively Exploiting Fortinet Firewalls: Real-Time Insights from GreyNoise 2025-01-28
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-2022-40684?
fortiproxy: upgrade to 7.0.7; fortiswitchmanager: downgrade or apply the listed mitigation; fortios: upgrade to 7.0.7, 7.2.2. Exact commands for each OS are on this page.
Is CVE-2022-40684 being exploited?
Yes. CVE-2022-40684 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-40684 affect?
CVE-2022-40684 affects fortiproxy, fortiswitchmanager, fortios. Severity is critical (CVSS 9.8). An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 and 7.0.0 through 7.0.6, FortiProxy version 7.2.0 and version 7.0.0 through 7.0.6 and FortiSwitchManager version 7.2.0 and
How urgent is CVE-2022-40684?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Fortinet FortiOS vulnerabilities · Fortinet vulnerabilities
Related CVEs
- CVE-2026-59837 MEDIUM 6.6 UPGRADE UPGRADE A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2 all versions,
- CVE-2023-46718 MEDIUM 6.7 UPGRADE UPGRADE A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.
- CVE-2024-50571 HIGH 7.2 UPGRADE UPGRADE A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.2, FortiAnalyzer 7.4.0
- CVE-2026-23573 MEDIUM 6.1 UPGRADE UPGRADE An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability [CWE-79]
- CVE-2026-59839 MEDIUM 5.5 UPGRADE UPGRADE A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet For