What is Fortinet FortiOS?
Fortinet FortiOS is the operating system powering Fortinet's network security appliances, including FortiGate firewalls. FortiGate firewalls are deployed at the perimeter of enterprise and government networks to provide firewall, VPN, IPS, and unified threat management services. FortiCloud SSO is a single sign-on feature that allows administrators to authenticate to FortiGate and other Fortinet appliances using their FortiCloud account credentials via SAML. This feature is automatically enabled when a device is registered with FortiCare — meaning many production deployments have it active without explicit configuration.
Overview
CVE-2025-59718 (paired with CVE-2025-59719 in the same advisory) is a critical improper verification of cryptographic signature vulnerability (CWE-347) in the FortiCloud SSO SAML authentication flow across FortiOS, FortiProxy, FortiWeb, and FortiSwitchMaster. By sending a crafted SAML response with an invalid or forged signature to the /remote/saml/login endpoint, an unauthenticated attacker bypasses authentication and gains administrative access to the Fortinet appliance. Active exploitation was observed just 3 days after Fortinet's disclosure, and a bypass of the initial patch was discovered in January 2026 — meaning even some patched devices were subsequently compromised.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| FortiOS | 7.0.x – 7.0.17, 7.2.x – 7.2.11, 7.4.x – 7.4.8, 7.6.x – 7.6.3 | 7.0.18+, 7.2.12+, 7.4.9+, 7.6.4+ |
| FortiProxy | Similar 7.x ranges | Per FG-IR-25-647 |
| FortiWeb | Multiple 7.x branches | Per FG-IR-25-647 |
| FortiSwitchMaster | Multiple versions | Per FG-IR-25-647 |
| FortiOS 6.4 | Not affected | — |
Important: A patch bypass was subsequently discovered in FortiOS 7.4.9 in January 2026. Fortinet was preparing 7.4.11, 7.6.6, and 8.0 as full remediation. Consult the latest Fortinet advisory for current fixed versions.
Attack surface note: FortiCloud SSO is automatically enabled upon FortiCare registration — devices may be vulnerable without the administrator having explicitly configured SSO.
Technical Details
The vulnerability (CWE-347: Improper Verification of Cryptographic Signature) is in the FortiCloud SSO SAML flow. SAML authentication uses XML-signed assertions: the identity provider (FortiCloud) signs an XML assertion, and the service provider (FortiOS) verifies the signature before granting access. The flaw is in FortiOS's SAML signature validation logic: it accepts a crafted SAMLResponse at /remote/saml/login without properly verifying the XML digital signature, treating an unsigned or maliciously signed assertion as legitimate. An attacker can construct a SAML assertion claiming administrator identity and submit it without a valid signature — the device accepts it and grants full administrative access.
Because FortiCloud SSO is automatically activated on FortiCare registration, many appliances have this attack surface exposed without explicit administrator intent.
Discovery
Not publicly attributed to a specific external researcher. Arctic Wolf observed and reported active malicious logins on 12 December 2025.
Exploitation Context
Arctic Wolf observed active malicious FortiCloud SSO logins on FortiGate devices on 12 December 2025 — just three days after Fortinet's advisory — indicating extremely rapid weaponization. CISA added CVE-2025-59718 to the KEV catalog on 16 December 2025 with a 7-day federal remediation deadline (23 December), reflecting the urgency. In January 2026, a patch bypass was confirmed: FortiGate appliances running FortiOS 7.4.9 (the initially released fix) were found compromised, indicating attacker tooling evolved beyond the initial fix. No specific threat actor group has been publicly attributed.
Remediation
- Upgrade to the latest fixed FortiOS version per FG-IR-25-647 — as of January 2026, verify which versions contain the complete fix (not just the initial 7.4.9 release, which had a bypass). Consult the current Fortinet advisory.
- Immediately check if FortiCloud SSO is enabled: Admin Console → System → SSO/Identity → check if FortiCloud SSO is active. Disable it if not required for your environment.
- Review admin access logs for unusual SSO authentication events — particularly any authentication from unexpected IP addresses or geographic locations.
- Rotate all administrative credentials if compromise is suspected.
- Restrict admin interface access: apply firewall rules to limit HTTPS management access to the FortiGate admin interface to trusted IP ranges only. Disabling internet-reachable management access eliminates this attack vector entirely.
- Subscribe to Fortinet PSIRT advisories and re-verify your patch status — given the bypass discovery, additional updates may be required.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2025-59718 |
| Vendor / Product | Fortinet — Multiple Products |
| NVD Published | 2025-12-09 |
| NVD Last Modified | 2025-12-17 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-347 find similar ↗ |
| CISA KEV Added | 2025-12-16 |
| CISA KEV Deadline | 2025-12-23 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2025-12-09 | Fortinet publishes advisory FG-IR-25-647; CVE-2025-59718 and CVE-2025-59719 published |
| 2025-12-12 | Arctic Wolf observes active malicious FortiCloud SSO logins on FortiGate devices — 3 days after disclosure |
| 2025-12-16 | CISA adds to Known Exploited Vulnerabilities catalog with 7-day federal remediation deadline |
| 2025-12-23 | CISA BOD 22-01 remediation deadline |
| 2026-01-21 | Patch bypass confirmed: patched FortiGate appliances (FortiOS 7.4.9) found compromised via a bypass of the initial fix |
References
| Resource | Type |
|---|---|
| Fortinet PSIRT Advisory — FG-IR-25-647 (CVE-2025-59718 / CVE-2025-59719) | Vendor Advisory |
| Fortinet Upgrade Tool | Vendor Advisory |
| NVD — CVE-2025-59718 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Arctic Wolf — Malicious SSO Logins Following Disclosure | Security Research |
| Rapid7 — Fortinet SAML SSO Bypass Exploited in the Wild | Security Research |
| Help Net Security — Patched FortiGate Compromised via CVE-2025-59718 (Patch Bypass) | Security Research |