CVE-2022-45862 is a low severity (CVSS 3.7) insufficient session expiration flaw in the Fortinet GUI for FortiOS, FortiProxy, FortiPAM and FortiSwitchManager. Web sessions can be reused after logout. Fortinet's advisory FG-IR-22-445 says to upgrade FortiOS 7.2 to 7.2.6 or later.
What's affected
Fortinet's advisory, titled GUI console WebSockets do not terminate on logout, gives these details. FortiOS 7.4 is not affected. FortiOS 7.2.0 through 7.2.5 should upgrade to 7.2.6 or above. FortiOS 7.0 and 6.4, all versions, should migrate to a fixed release. FortiPAM 1.4 is not affected.
The NVD description adds FortiProxy 7.2 and 7.0, FortiPAM 1.3 through 1.0, and FortiSwitchManager 7.2.1 and below plus 7.0. Check the advisory's table for your exact product, since the NVD text and Fortinet's table are laid out differently.
How to check if you're exposed
On a FortiGate, run get system status from the CLI and read the Version line. In the GUI the version appears on the dashboard. Compare it with the table in FG-IR-22-445.
For FortiProxy, FortiPAM and FortiSwitchManager, read the version from the same status output or the About page, and match it against the advisory.
What to do now
- Inventory Fortinet devices and their firmware versions.
- Upgrade FortiOS 7.2 devices to 7.2.6 or later, and plan migration for 7.0 and 6.4 devices to a supported fixed release.
- Restrict administrative GUI access to a management network or named addresses.
- Use multi factor authentication for administrators, so stolen credentials alone do not give a session.
- Close browser tabs and sessions when you finish administrative work.
Why it matters
CWE-613 is insufficient session expiration. After a user logs out, the console connection built on WebSockets keeps working, so a captured session can still be used. The attacker also needs the credentials, which is why the record rates attack complexity high and the score is low.
The flaw matters most on shared or monitored workstations, and where a session might be captured in transit or from a proxy. KEV is false. It is a hygiene fix for an administrative interface, which should be kept patched even when individual issues score low.
Where a device offers it, set a short administrative idle timeout and forbid concurrent administrator sessions. Those settings cannot fix this flaw, but they reduce the time window in which a stale session could be reused.
Quick check
Which FortiOS version fixes CVE-2022-45862?
Fortinet says upgrade 7.2.0 through 7.2.5 to 7.2.6 or above. FortiOS 7.0 and 6.4 need a move to a fixed release.
Why is the score so low?
The attacker must already hold the required credentials and the impact is limited integrity change.
Sources
You can also run the free in-browser dependency scan at gold.safeguard.sh/scan to see which known vulnerabilities your dependencies carry.
Last reviewed: 19 October 2026.