CVE-2025-22254 Privilege escalation in FortiOS
Authenticated attackers with read-only admin permissions can escalate to super-admin privileges via crafted requests to the Node.js websocket module.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-22254?
CVE-2025-22254 is a medium-severity vulnerability in Fortinet Fortios, published on 10 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An Improper Privilege Management vulnerability [CWE-269] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.1, FortiOS 7.4.0 through 7.4.6, FortiOS 7.2.0 through 7.2.10, FortiOS 7.0.0 through 7.0.16, FortiOS 6.4.0 through 6.4.15, FortiProxy 7.6.0 through 7.6.1, FortiProxy 7.4.0 through 7.4.7, FortiWeb 7.6.0 through 7.6.1, FortiWeb 7.4.0 through 7.4.6 allows an authenticated attacker with at least read-only admin permissions to gain super-admin privileges via crafted requests to Node.js websocket module.
Weakness: CWE-269
Which versions are affected by CVE-2025-22254?
It affects 3 products.
Products include Fortinet Fortios, Fortinet Fortiproxy, Fortinet Fortiweb.
How do I fix CVE-2025-22254?
No fix has been published for CVE-2025-22254 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-22254 being exploited?
There is no known exploitation of CVE-2025-22254 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-r2j8-539m-45q5.