Fortinet FortiOS, FortiProxy, and FortiSwitchManager Authentication Bypass via Improper Verification of SAML Cryptographic Signature (CVE-2025-59718)
Executive & SecOps Summary
SECOPS ASSESSMENTFortiOS 7.0.0-7.0.17 / 7.2.0-7.2.11 / 7.4.0-7.4.8 / 7.6.0-7.6.3, FortiProxy 7.0.0-7.0.21 / 7.2.0-7.2.14 / 7.4.0-7.4.10 / 7.6.0-7.6.3, FortiSwitchManager 7.0.0-7.0.5 / 7.2.0-7.2.6.
An unauthenticated remote attacker can bypass FortiCloud SSO authentication via a crafted SAML response message, gaining full administrative access to the affected device.
Immediately upgrade to the patched firmware versions, or disable FortiCloud SSO login and restrict administrative access to trusted IP addresses as a temporary workaround.
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
Upgrade to the following patched versions or higher immediately:
- FortiOS: 7.6.4, 7.4.9, 7.2.12, 7.0.18
- FortiProxy: 7.6.4, 7.4.11, 7.2.15, 7.0.22
- FortiSwitchManager: 7.2.7, 7.0.6
To perform a firmware upgrade via the CLI:
# Download and restore image via TFTP
execute restore image tftp fortios.out 192.168.1.99
# Enable automatic reboot after upgrade if upgrading via FortiGuard
execute upgrade-control reboot-after-upgrade enable2. Temporary Workaround & Hardening Configuration
If patching cannot be applied immediately, disable FortiCloud SSO login and restrict administrative access to trusted management subnets.
# Disable FortiCloud SSO login
config system admin setting
set forticloud-sso disable
end
# Restrict administrative access on the external interface
config system interface
edit 'port1'
set allowaccess ping ssh
next
end3. Log Audit & IoC Verification Commands
Verify the current firmware version and inspect system logs for anomalous SAML authentication events.
# Check current system version and build details
get system status
# Filter and display logs related to SAML SSO authentication
show log eventfilter
execute log filter category event
execute log filter field subtype system
execute log filter field msg 'SAML'
execute log displayBlock Exploits Instantly with Managed Virtual Patching Rules
Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2025-59718) stems from an improper verification of cryptographic signatures (CWE-347) within Fortinet's authentication framework. When FortiOS, FortiProxy, or FortiSwitchManager processes FortiCloud Single Sign-On (SSO) login requests, it fails to properly validate the cryptographic signature of incoming SAML Response messages from the Identity Provider (IdP). This allows the system to trust unauthenticated, arbitrarily forged SAML assertions.
2. Exploitation Mechanics & Attack Scenario
An attacker targets the FortiCloud SSO login endpoint of an exposed device. By constructing a malicious SAML Response XML document containing arbitrary administrator identity claims—either omitting the signature entirely or signing it with an untrusted key—and sending it to the target, the attacker exploits the lack of signature verification. The vulnerable device accepts the forged assertion as valid, granting the attacker an active administrative session without requiring legitimate credentials.
3. Infrastructure & Business Impact
With a CVSS score of 9.8 (Critical) and active exploitation confirmed by its inclusion in the CISA KEV catalog, this vulnerability poses an extreme risk. Successful exploitation grants full administrative control over critical network security infrastructure (firewalls, proxies, and switch managers). This can lead to complete network compromise, unauthorized traffic interception, VPN session hijacking, and lateral movement into the internal corporate network.
Official Vendor Advisories & References
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.
Frequently Asked SecOps Questions (CVE-2025-59718)
FAQQ1. How critical is CVE-2025-59718 and is it actively exploited in the wild?
CVE-2025-59718 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 68.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2025-59718?
Primary impacted vendors include fortinet across fortios, fortiproxy, fortiswitchmanager. Scope summary: FortiOS (7.6.0-7.6.3, 7.4.0-7.4.8, 7.2.0-7.2.11, 7.0.0-7.0.17), FortiProxy (7.6.0-7.6.3, 7.4.0-7.4.10, 7.2.0-7.2.14, 7.0.0-7.0.21), FortiSwitchManager (7.2.0-7.2.6, 7.0.0-7.0.5)
Q3. What temporary mitigations or workarounds exist for CVE-2025-59718 before patching?
[Mitigation] Immediately upgrade to the patched firmware versions, or disable FortiCloud SSO login and restrict administrative access to trusted IP addresses as a temporary workaround. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2025-59718
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (fortinet)
View Category →Fortinet FortiOS/FortiProxy Path Traversal Vulnerability Advisory (CVE-2025-61624)
[Affected Scope] Major Fortinet solutions including FortiOS (6.4-7.6), FortiPAM (1.0-1.7), FortiProxy (7.0-7.6), and FortiSwitchManager (7.0-7.2).
Fortinet FortiOS Sensitive Information Exposure and Symbolic Link Patch Bypass (CVE-2025-68686)
[Affected Scope] Fortinet FortiOS versions 7.6.0 through 7.6.1, 7.4.0 through 7.4.6, and all versions of 7.2, 7.0, and 6.4
Fortinet FortiMail Path Traversal Vulnerability (CVE-2026-104286) - Unauthenticated Arbitrary File Write
[Affected Scope] FortiMail versions 8.0.0-8.0.1, 7.6.0-7.6.6, 7.4.0-7.4.8, 7.2.0-7.2.9, and all 7.0 versions.
Fortinet FortiSandbox OS Command Injection Vulnerability (CVE-2026-25089) Security Advisory
[Affected Scope] Fortinet FortiSandbox (5.0.0 to 5.0.5, 4.4.0 to 4.4.8, 4.2 all versions), FortiSandbox Cloud and PaaS (5.0.4 to 5.0.5)
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.