Critical FortiOS Flaw Allows Unauthenticated Command Execution via HA
Fortinet has disclosed a critical vulnerability in FortiOS that allows unauthenticated attackers to execute commands with super admin privileges in specific High Availability configurations.

Fortinet has issued a security advisory detailing a critical vulnerability, identified as FG-IR-26-273, within its FortiOS operating system. The flaw, classified under CWE-306, permits unauthenticated attackers to execute arbitrary commands with the highest level of privilege on affected systems. This severe security risk is specifically present in environments utilizing High Availability (HA) configurations, particularly those employing FGSP (Fortinet High Availability) in conjunction with standalone-config-sync, or those using autoscale.
The vulnerability stems from a missing authentication check within the critical function responsible for handling HA packets. Attackers can leverage this weakness by crafting and sending malicious HA packets to a vulnerable FortiOS device. Successful exploitation allows the attacker to bypass authentication mechanisms entirely and issue commands as if they were a super administrator, granting them complete control over the compromised device.
The potential impact of this vulnerability is significant. With super admin privileges, an attacker could reconfigure the device, disable security features, exfiltrate sensitive data, or use the compromised device as a pivot point to attack other systems within the network. The CVSSv3 score for this vulnerability is rated at a critical 9.0, underscoring the urgency for remediation.
Fortinet has identified a broad range of FortiOS versions affected by this vulnerability. This includes versions 8.0.0, all versions from 7.6.0 through 7.6.7, all versions from 7.4.0 through 7.4.12, all versions from 7.2.0 through 7.2.13, and all versions from 7.0.0 through 7.0.19. This extensive list highlights the widespread potential exposure across many deployments.
While the advisory does not explicitly mention if this vulnerability is being actively exploited in the wild, the critical severity and the nature of unauthenticated command execution strongly suggest a high likelihood of exploitation attempts by malicious actors. The discovery was made internally by Theo Leleu of the Fortinet Product Security team, with assistance from an AI model named Claude Mythos.
Fortinet has released patches and updates to address this vulnerability. Users are strongly advised to consult the official Fortinet PSIRT advisory for FG-IR-26-273 and apply the necessary updates to their FortiOS installations as soon as possible. Maintaining up-to-date firmware is crucial for mitigating such critical security risks and protecting network infrastructure.
This vulnerability underscores the ongoing challenges in securing complex network appliances, especially those with sophisticated HA and synchronization features. The ability for an unauthenticated adjacent attacker to gain full administrative control highlights the critical need for continuous security auditing and prompt patching of all network infrastructure components.