Fortinet FortiOS/FortiProxy Path Traversal Vulnerability Advisory (CVE-2025-61624)
Executive & SecOps Summary
SECOPS ASSESSMENTMajor Fortinet solutions including FortiOS (6.4-7.6), FortiPAM (1.0-1.7), FortiProxy (7.0-7.6), and FortiSwitchManager (7.0-7.2).
Authenticated attackers with administrative privileges can write or delete arbitrary system files via specific CLI commands, leading to system compromise or persistence.
Immediately upgrade to the latest patched firmware versions and strictly enforce IP-based access control for administrative CLI access.
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUNDThe primary remediation is to upgrade the firmware to the following secure versions:
1. Firmware Upgrade Paths
- FortiOS: Update to 7.6.5, 7.4.10 or higher.
- FortiProxy: Update to 7.6.5, 7.4.12 or higher.
- FortiPAM: Update to 1.7.1 or higher.
- FortiSwitchManager: Update to 7.2.8 or higher.
2. Temporary Mitigation (If patching is delayed)
Restrict administrative access to the CLI using Trusted Hosts (ACLs) to ensure only authorized IP addresses can manage the device.
config system admin
edit <admin_user>
set trusthost1 <trusted_ip_address> <netmask>
next
endAdditionally, audit administrative logs for unusual CLI command execution related to file system operations.
Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access
Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.
Technical Root Cause & Exploitation Mechanics
CVE-2025-61624 is a Path Traversal vulnerability (CWE-22) residing in the CLI of various Fortinet products. It stems from improper limitation of pathnames to restricted directories. While the exploit requires an authenticated session with high privileges (admin profile with read-write permissions), its inclusion in the CISA KEV catalog and an EPSS score of 0.94 indicate high real-world exploitation activity. Attackers typically leverage this flaw in post-exploitation phases to modify system configurations, plant backdoors, or delete forensic evidence (logs) by manipulating arbitrary files on the underlying filesystem.
Official Vendor Advisories & References
An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') [CWE-22] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.4, FortiOS 7.4.0 through 7.4.9, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiPAM 1.7.0, FortiPAM 1.6 all versions, FortiPAM 1.5 all versions, FortiPAM 1.4 all versions, FortiPAM 1.3 all versions, FortiPAM 1.2 all versions, FortiPAM 1.1 all versions, FortiPAM 1.0 all versions, FortiProxy 7.6.0 through 7.6.4, FortiProxy 7.4.0 through 7.4.11, FortiProxy 7.2 all versions, FortiProxy 7.0 all versions, FortiSwitchManager 7.2.0 through 7.2.7, FortiSwitchManager 7.0.0 through 7.0.6 may allow an authenticated attacker with admin profile and at least read-write permissions to write or delete arbitrary files via specific CLI commands.
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.