CVE-2025-64157
FortiOS vulnerability analysis and mitigation

Overview

CVE-2025-64157 is a Use of Externally-Controlled Format String vulnerability (CWE-134) in Fortinet FortiOS, specifically within the CAPWAP fast-failover mode component. It allows an authenticated administrator to execute unauthorized code or commands via specially crafted configuration. Affected versions include FortiOS 7.6.0–7.6.4, 7.4.0–7.4.9, 7.2.0–7.2.11, and all FortiOS 7.0 versions; FortiOS 6.4 is not affected. The vulnerability was internally discovered and reported by Yonghui Han of the Fortinet Product Security team, with initial publication on February 10, 2026. The CVSS v3.1 base score is 6.7 (Medium) per the vendor advisory, though some sources report 7.2 (High) (FortiGuard Advisory).

Technical details

The vulnerability is classified as CWE-134 (Use of Externally-Controlled Format String), located in the CLI component associated with CAPWAP fast-failover mode configuration in FortiOS. An attacker with authenticated administrator-level access can supply a maliciously crafted configuration string that is passed unsanitized to a format string function, enabling arbitrary code or command execution. Exploitation requires network access and high privileges (authenticated admin), with no user interaction needed. A virtual patch named "FG-VD-59445.0day" is available in FMWP database update 26.010 as an interim mitigation (FortiGuard Advisory).

Impact

Successful exploitation allows an authenticated administrator to execute unauthorized code or commands on the affected FortiOS system, resulting in complete system compromise. The impact spans all three security dimensions: confidentiality (unauthorized information disclosure), integrity (unauthorized modification of system data and configuration), and availability (potential system disruption). Given that FortiGate devices are typically deployed as network security perimeter controls, compromise could enable an attacker to pivot into protected network segments or disable security enforcement (FortiGuard Advisory).

Exploitability

As of the publication date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (FortiGuard Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.006% (0.000060), indicating a very low probability of exploitation in the near term (Feedly). Exploitation requires authenticated administrator access, which significantly limits the attack surface compared to unauthenticated vulnerabilities.

Mitigation and workarounds

Fortinet recommends upgrading to the following fixed releases: FortiOS 7.6.5 or above (for 7.6.x), FortiOS 7.4.10 or above (for 7.4.x), and migrating to a fixed release for FortiOS 7.2.x and 7.0.x. Administrators should use the Fortinet upgrade path tool at https://docs.fortinet.com/upgrade-tool to plan their upgrade. As an interim measure, a virtual patch ("FG-VD-59445.0day") is available in FMWP database update 26.010. Additionally, restricting administrative access to trusted personnel, reviewing and disabling unnecessary admin accounts, and monitoring configuration changes are recommended compensating controls (FortiGuard Advisory).

Community reactions

The Center for Internet Security (CIS) published an advisory noting multiple vulnerabilities in Fortinet products that could allow arbitrary code execution, referencing this CVE among others (CIS Advisory). Belgium's Centre for Cybersecurity (CCB) also issued a warning urging immediate patching of affected Fortinet products. No significant independent researcher commentary or social media discussion has been identified for this specific CVE, consistent with its medium severity rating and the requirement for authenticated admin access.

Additional resources


SourceThis report was generated using AI

Related FortiOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84393HIGH8.1
  • FortiOS logoFortiOS
  • cpe:2.3:a:fortinet:fortiproxy
NoYesSep 08, 2026
CVE-2026-71407HIGH8.1
  • FortiOS logoFortiOS
  • cpe:2.3:o:fortinet:fortios
NoYesAug 12, 2026
CVE-2026-71408MEDIUM5.3
  • FortiOS logoFortiOS
  • cpe:2.3:o:fortinet:fortios
NoYesAug 12, 2026
CVE-2026-70466MEDIUM5.3
  • FortiOS logoFortiOS
  • cpe:2.3:a:fortinet:fortiweb
NoYesAug 12, 2026
CVE-2026-84392LOW2.7
  • FortiOS logoFortiOS
  • cpe:2.3:a:fortinet:fortiproxy
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management