FortiOS, FortiProxy and FortiSwitchManager FortiCloud SSO login
CVE-2025-59718: FortiCloud SSO login bypass gives attackers admin access
A crafted SAML message bypasses FortiCloud SSO login on FortiOS, FortiProxy and FortiSwitchManager, giving unauthenticated admin access. Exploited since December 12, 2025, three days after the fix, and listed in CISA KEV.
Published Updated Fortinet advisory FG-IR-25-647
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiOS 7.6.0 to 7.6.3 | 7.6.4 or later |
| FortiOS 7.4.0 to 7.4.8 | 7.4.9 or later |
| FortiOS 7.2.0 to 7.2.11 | 7.2.12 or later |
| FortiOS 7.0.0 to 7.0.17 | 7.0.18 or later |
| FortiOS 6.4 | Not affected |
| FortiProxy 7.6.0 to 7.6.3 | 7.6.4 or later |
| FortiProxy 7.4.0 to 7.4.10 | 7.4.11 or later |
| FortiProxy 7.2.0 to 7.2.14 | 7.2.15 or later |
| FortiProxy 7.0.0 to 7.0.21 | 7.0.22 or later |
| FortiSwitchManager 7.2.0 to 7.2.6 | 7.2.7 or later |
| FortiSwitchManager 7.0.0 to 7.0.5 | 7.0.6 or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
FortiCloud SSO lets administrators log in to a Fortinet device with their FortiCloud account. The device checks a SAML message to confirm who is logging in. In this bug the signature on that message isn’t verified properly (CWE-347). An unauthenticated attacker can send a crafted SAML message and log in as an administrator.
Fortinet rated it critical (CVSS 9.8) and says it is exploited. Attackers moved fast. Arctic Wolf saw malicious SSO logins from December 12, 2025, three days after the fix. Logins mostly targeted the admin account and came from several hosting providers. The attackers then exported the configuration through the GUI. Those files hold hashed credentials that can be cracked offline.
Rapid7 later described one intrusion end to end: configuration download, new admin and local accounts, SSL VPN switched on, firewall policies added, then Mimikatz, PsExec and RDP inside the network.
A sibling flaw, CVE-2025-59719, is the same bug in FortiWeb. It has its own fixed versions in the same Fortinet advisory (FortiWeb 8.0.1, 7.6.5, 7.4.10).
Am I affected?
You’re exposed if both are true:
- You run an affected version: FortiOS, FortiProxy or FortiSwitchManager older than the fixed releases in the table above. FortiOS 6.4 is not affected.
- FortiCloud SSO admin login is enabled. It is off in factory defaults. It turns on when an administrator registers the device to FortiCare from the GUI and leaves “Allow administrative login using FortiCloud SSO” switched on.
To check, go to System > Settings and look at “Allow administrative login using FortiCloud SSO”. Many devices were registered this way without anyone noticing, so check every one.
The management interface also needs to be reachable by the attacker. Arctic Wolf advises limiting it to trusted internal users.
What to do
1. Upgrade to FortiOS 7.6.4, 7.4.9, 7.2.12 or 7.0.18, FortiProxy 7.6.4, 7.4.11, 7.2.15 or 7.0.22, or FortiSwitchManager 7.2.7 or 7.0.6, or later. Use Fortinet’s upgrade path tool for multi-step jumps.
2. If you can’t upgrade yet, turn off FortiCloud login. Production impact: admins can’t use FortiCloud SSO until you turn it back on. Local admin logins keep working.
In the GUI, set System > Settings > Allow administrative login using FortiCloud SSO to Off. Or in the CLI:
config system global
set admin-forticloud-sso-login disable
end
3. Restrict management access to trusted internal addresses. Don’t leave the admin GUI open to the internet.
4. If a device was vulnerable and exposed since December 9, 2025, check it (below). If you find signs of compromise:
- Assume the configuration was exported. Reset all credentials stored on the device, since Arctic Wolf says exported files hold hashed credentials that can be cracked.
- Delete admin accounts you didn’t create, including SSO admins, and review SSL VPN settings and firewall policies for additions.
- Hunt for lateral movement from the firewall, as in the Rapid7 case.
Detection
- SSO admin logins from untrusted public IPs. Kudelski gives this log line as an example:
logdesc="Admin login successful" user="admin" ui="sso(199.247.7.82)" method="sso"
- Configuration downloads through the GUI by an admin from an external address (
action="download", “system config file has been downloaded by user admin via GUI”). Rapid7 saw this as log ID 0100032095. - New accounts: log entries such as
Add system.sso-forticloud-admin <name>@forticloud.com-1, plus unexpected local or system admin accounts. - Unplanned changes to
vpn.ssl.settings(SSL VPN enabled) andfirewall.policy(log IDs 0100044546 and 0100044547 in Rapid7’s case), made from the GUI by an external address. - Connections from the indicators above, and on internal hosts, Advanced IP Scanner, Advanced Port Scanner and Mimikatz.
Indicators of compromise
Rapid7 and Kudelski list these addresses without dates, and hosting IPs get reused, so treat a match as a lead, not proof. Arctic Wolf's bulletin has its own list, which we couldn't open. Rapid7 also saw Advanced IP Scanner, Advanced Port Scanner and Mimikatz on internal hosts afterwards.
The .txt list has one IP per line and a fixed address, so a firewall can pull it as an External Dynamic List: https://patchtonight.com/iocs/CVE-2025-59718.txt
| Indicator | Type | Reported by |
|---|---|---|
| 23.163.8[.]21 | IPTargeted the FortiGate | Rapid7 |
| 45.32.216[.]250 | IPUsed for FortiGate configuration changes | Rapid7 |
| 45.84.107[.]17 | IPMalicious SSL VPN interaction | Rapid7 |
| 45.80.186[.]84 | IPMalicious SSL VPN interaction | Rapid7 |
| 185.219.157[.]127 | IPMalicious SSL VPN interaction | Rapid7 |
| 185.175.59[.]238 | IPMalicious SSL VPN interaction | Rapid7 |
| 198.98.54[.]209 | IPTargeted the FortiGate, SSO login | Rapid7 |
| 45.80.184[.]229 | IPTargeted the FortiGate, SSL VPN | Rapid7 |
| 45.80.184[.]241 | IPTargeted the FortiGate, SSL VPN | Rapid7 |
| 42.200.230[.]178 | IPTargeted the FortiGate, SSL VPN | Rapid7 |
| 103.20.235[.]155 | IPMalicious SSO authentications | Rapid7 |
| 104.28.227[.]105 | IPDownloaded the FortiGate configuration file | Rapid7 |
| 45.32.153[.]218 | IPHosted at The Constant Company | Kudelski Security |
| 167.179.76[.]111 | IPHosted at The Constant Company | Kudelski Security |
| 199.247.7[.]82 | IPHosted at The Constant Company; seen in a malicious SSO login log line | Kudelski Security |
| 45.61.136[.]7 | IPHosted at BL Networks | Kudelski Security |
| 38.54.88[.]203 | IPHosted at Kaopu Cloud HK | Kudelski Security |
| 38.54.95[.]226 | IPHosted at Kaopu Cloud HK | Kudelski Security |
| 38.60.212[.]97 | IPHosted at Kaopu Cloud HK | Kudelski Security |
| openmail[.]pro | DomainEmail domain on accounts the attacker created | Rapid7 |
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
Page changelog
- Full analysis published.
KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.