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

ExploitedYes, in CISA KEVAdded 16 Dec 2025
Ransomware useNot reportedPer CISA
SeverityCRITICALCVSS 3.1 9.1
EPSS68%Chance of exploitation in 30 days
Public exploitNone reported
FixAvailable

Affected and fixed versions

Product / branchFixed in
FortiOS 7.6.0 to 7.6.37.6.4 or later
FortiOS 7.4.0 to 7.4.87.4.9 or later
FortiOS 7.2.0 to 7.2.117.2.12 or later
FortiOS 7.0.0 to 7.0.177.0.18 or later
FortiOS 6.4Not affected
FortiProxy 7.6.0 to 7.6.37.6.4 or later
FortiProxy 7.4.0 to 7.4.107.4.11 or later
FortiProxy 7.2.0 to 7.2.147.2.15 or later
FortiProxy 7.0.0 to 7.0.217.0.22 or later
FortiSwitchManager 7.2.0 to 7.2.67.2.7 or later
FortiSwitchManager 7.0.0 to 7.0.57.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:

  1. You run an affected version: FortiOS, FortiProxy or FortiSwitchManager older than the fixed releases in the table above. FortiOS 6.4 is not affected.
  2. 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) and firewall.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

IndicatorTypeReported by
23.163.8[.]21IPTargeted the FortiGateRapid7
45.32.216[.]250IPUsed for FortiGate configuration changesRapid7
45.84.107[.]17IPMalicious SSL VPN interactionRapid7
45.80.186[.]84IPMalicious SSL VPN interactionRapid7
185.219.157[.]127IPMalicious SSL VPN interactionRapid7
185.175.59[.]238IPMalicious SSL VPN interactionRapid7
198.98.54[.]209IPTargeted the FortiGate, SSO loginRapid7
45.80.184[.]229IPTargeted the FortiGate, SSL VPNRapid7
45.80.184[.]241IPTargeted the FortiGate, SSL VPNRapid7
42.200.230[.]178IPTargeted the FortiGate, SSL VPNRapid7
103.20.235[.]155IPMalicious SSO authenticationsRapid7
104.28.227[.]105IPDownloaded the FortiGate configuration fileRapid7
45.32.153[.]218IPHosted at The Constant CompanyKudelski Security
167.179.76[.]111IPHosted at The Constant CompanyKudelski Security
199.247.7[.]82IPHosted at The Constant Company; seen in a malicious SSO login log lineKudelski Security
45.61.136[.]7IPHosted at BL NetworksKudelski Security
38.54.88[.]203IPHosted at Kaopu Cloud HKKudelski Security
38.54.95[.]226IPHosted at Kaopu Cloud HKKudelski Security
38.60.212[.]97IPHosted at Kaopu Cloud HKKudelski Security
openmail[.]proDomainEmail domain on accounts the attacker createdRapid7

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.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com