CVE-2025-59718: Multiple Fortinet Products' FortiCloud SSO Login Authentication Bypass
A improper verification of cryptographic signature vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2.0 through 7.2.11, FortiOS 7.0.0 through 7.0.17, FortiProxy 7.6.0 through 7.6.3, FortiProxy 7.4.0 through 7.4.10, FortiProxy 7.2.0 through 7.2.14, FortiProxy 7.0.0 through 7.0.21, FortiSwitchManager 7.2.0 through 7.2.6, FortiSwitchManager 7.0.0 through 7.0.5 allows an unauthenticated attacker to bypass the FortiCloud SSO login authentication via a crafted SAML response message.
Other sources
An Improper Verification of Cryptographic Signature vulnerability[CWE-347] in FortiOS, FortiWeb, FortiProxy and FortiSwitchManager mayallow an unauthenticated attacker to bypass the FortiCloud SSO loginauthentication via a crafted SAML message, if that feature is enabled on the device. Please note that the FortiCloud SSO login feature is not enabled in default factory settings. However, when an administrator registers the device to FortiCare from the device's GUI, unless the administrator disables the toggle switch "Allow administrative login using FortiCloud SSO" in the registration page, FortiCloud SSO login is enabled upon registration. To prevent being affected by this vulnerability on vulnerableversions, please turn off the FortiCloud login feature (if enabled) temporarily untilupgrading to a non-affected version.To turn off FortiCloud login, go to System -> Settings -> Switch"Allow administrative login using FortiCloud SSO" to Off. Or type thefollowing command in the CLI: config system global set admin-forticloud-sso-login disableend
— FortiGuard
Fortinet FortiOS, FortiSwitchMaster, FortiProxy, and FortiWeb contain an improper verification of cryptographic signature vulnerability that may allow an unauthenticated attacker to bypass the FortiCloud SSO login authentication via a crafted SAML message. Please be aware that CVE-2025-59719 pertains to the same problem and is mentioned in the same vendor advisory. Ensure to apply all patches mentioned in the advisory.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.0.18 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.2.12 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.4.9 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.6.4 - Upgrade
Upgrade
FortiProxyto a version that resolves this vulnerability.Fixed in 7.0.22 - Upgrade
Upgrade
FortiProxyto a version that resolves this vulnerability.Fixed in 7.2.15 - Upgrade
Upgrade
FortiProxyto a version that resolves this vulnerability.Fixed in 7.4.11 - Upgrade
Upgrade
FortiProxyto a version that resolves this vulnerability.Fixed in 7.6.4 - Upgrade
Upgrade
FortiSwitchManagerto a version that resolves this vulnerability.Fixed in 7.0.6 - Upgrade
Upgrade
FortiSwitchManagerto a version that resolves this vulnerability.Fixed in 7.2.7 - Upgrade
Upgrade
FortiWebto a version that resolves this vulnerability.Fixed in 7.4.10 - Upgrade
Upgrade
FortiWebto a version that resolves this vulnerability.Fixed in 7.6.5 - Upgrade
Upgrade
FortiWebto a version that resolves this vulnerability.Fixed in 8.0.1 - Upgrade
Upgrade
FortiPAMto a version that resolves this vulnerability.Fixed in 1.8.0 - Configuration
To prevent being affected by vulnerable versions, turn off the FortiCloud login feature temporarily (if enabled) until upgrading. In the GUI registration page, set the toggle switch "Allow administrative login using FortiCloud SSO" to Off. (Also ensure it is disabled on registration.)
FortiOS / FortiCloud SSO (administrative login) Allow administrative login using FortiCloud SSO = Off - Configuration
Disable FortiCloud SSO administrative login via CLI: run `config system global` then `set admin-forticloud-sso-login disable`.
FortiOS (CLI) admin-forticloud-sso-login = disable
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59718?
CVE-2025-59718 is a critical vulnerability that allows unauthenticated attackers to bypass authentication via a crafted SAML message.
How do I fix CVE-2025-59718?
To mitigate CVE-2025-59718, upgrade FortiOS, FortiWeb, FortiProxy, or FortiSwitchManager to the patched versions specified in the advisory.
Which Fortinet products are affected by CVE-2025-59718?
CVE-2025-59718 affects FortiOS, FortiWeb, FortiProxy, and FortiSwitchManager across several specified versions.
Can CVE-2025-59718 be exploited remotely?
Yes, CVE-2025-59718 can be exploited remotely by unauthenticated attackers if the affected SSO login feature is enabled.
Is there a workaround for CVE-2025-59718?
Currently, the recommended solution for CVE-2025-59718 is to update to the latest secure versions of the affected Fortinet products.