Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-40684: Fortinet Multiple Products Authentication Bypass Vulnerability

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEUPGRADEDOWNGRADEUPGRADE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance100.0% (top 1%)
CISA exploited listYes, fix due 2022-11-01, used in ransomware
WeaknessCWE-287
Published2022-10-18
Last modified2026-08-06
Publisher (CNA): Fortinet, Inc. · Vendor: fortinet

Share: LinkedIn · X · Reddit

Last updated 2026-08-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fortinet fortiproxy UPGRADE
Affected: >= 7.0.0 and < 7.0.7 · 7.2.0
Fixed in: 7.0.7
Safe to downgrade to: a release before 7.0.0
1. Check installed version
apt-cache policy fortiproxy || rpm -q fortiproxy || fortiproxy --version
2. UPGRADE to 7.0.7 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortiproxy
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortiproxy
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0.0 (Debian / Ubuntu)
apt-cache madison fortiproxy sudo apt install fortiproxy=<VERSION_BEFORE_7.0.0> sudo apt-mark hold fortiproxy
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list fortiproxy sudo dnf downgrade fortiproxy-<VERSION_BEFORE_7.0.0> sudo dnf versionlock add fortiproxy
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
fortinet fortiswitchmanager DOWNGRADE
Affected: 7.0.0 · 7.2.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.0.0
1. Check installed version
apt-cache policy fortiswitchmanager || rpm -q fortiswitchmanager || fortiswitchmanager --version
2. No fixed release: DOWNGRADE to a release before 7.0.0 (Debian / Ubuntu)
apt-cache madison fortiswitchmanager sudo apt install fortiswitchmanager=<VERSION_BEFORE_7.0.0> sudo apt-mark hold fortiswitchmanager
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list fortiswitchmanager sudo dnf downgrade fortiswitchmanager-<VERSION_BEFORE_7.0.0> sudo dnf versionlock add fortiswitchmanager
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
fortinet fortios UPGRADE
Affected: >= 7.0.0 and < 7.0.7 · >= 7.2.0 and < 7.2.2
Fixed in: 7.0.7, 7.2.2
Safe to downgrade to: a release before 7.0.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora ELN · libslirp · FIXED · 4.9.7-1.eln159 · FEDORA-2026-209cb94e13 · source
sudo dnf upgrade --advisory=FEDORA-2026-209cb94e13
Fedora 46 · modpoll · FIXED · 1.6.1-1.fc46 · FEDORA-2026-60d403ff15 · source
sudo dnf upgrade --advisory=FEDORA-2026-60d403ff15

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Advisories and coverage

Official advisories

Research and news

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.