CVE-2025-22254
FortiOS vulnerability analysis and mitigation

Overview

An Improper Privilege Management vulnerability (CVE-2025-22254) was discovered in Fortinet products, specifically affecting FortiOS, FortiProxy, and FortiWeb. The vulnerability was disclosed on June 10, 2025, and received a CVSSv3 score of 6.5 (Medium severity). The affected systems include multiple versions of FortiOS (6.4.0-7.6.1), FortiProxy (7.4.0-7.6.1), and FortiWeb (7.4.0-7.6.1) (Fortinet PSIRT, NVD).

Technical details

The vulnerability is classified as an Improper Privilege Management issue (CWE-269) in the GUI websocket module. It specifically involves the Node.js websocket module, where authenticated users with read-only admin permissions can potentially execute crafted requests to elevate their privileges. The vulnerability received a CVSS v3.1 Base Score of 6.6 MEDIUM with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (Fortinet PSIRT, NVD).

Impact

The primary impact of this vulnerability is the potential for privilege escalation. An authenticated attacker with at least read-only admin permissions can potentially gain super-admin privileges in the affected systems. This elevation of privileges could give attackers full control over the affected Fortinet devices (Fortinet PSIRT).

Mitigation and workarounds

Fortinet has released patches for all affected versions. Users should upgrade to the following versions: FortiOS - version 7.6.2 or above, 7.4.7 or above, 7.2.11 or above, 7.0.17 or above, or 6.4.16 or above; FortiProxy - version 7.6.2 or above or 7.4.8 or above; FortiWeb - version 7.6.2 or above or 7.4.7 or above. Additionally, a virtual patch named 'FortiOS.NodeJS.Websocket.Authentication.Bypass' is available in FMWP db update 25.014 (Fortinet PSIRT).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management