CVE-2025-61624: Fortinet Multiple Products Path Traversal Vulnerability
A path traversal flaw in the CLI of Fortinet FortiOS, FortiPAM, FortiProxy and FortiSwitchManager lets an authenticated administrator with read-write rights write or delete arbitrary files using crafted command arguments. Fortinet marks it as known exploited, and CISA added it to the KEV catalog on 16 October 2026. Fixed releases are listed below, for example FortiOS 7.6.5 and 7.4.10.
Published Apr 14, 2026 · Updated Oct 17, 2026 · Analysis Oct 25, 2026
What an attacker can do
Fortinet's bulletin FG-IR-26-122 describes a path traversal (CWE-22) in the CLI: crafted arguments to existing commands let a privileged user write or delete files outside the intended location. The attacker must already hold an admin profile with at least read-write permissions, which is why the vendor scores it medium (CVSS 6.0 in the bulletin, 6.5 in the data panel).
On a firewall or privileged access gateway, arbitrary file write and delete is a strong post-compromise tool. An attacker who has stolen or phished admin credentials, or who got in through another flaw, can use it to alter system files, remove logs and traces, or plant persistence. The bulletin gives no exploitation details, indicators or threat actor, so the way it is being used is not public.
The real risk is the chain: devices with an exposed management interface and weak admin credentials turn a medium bug into a full takeover of a network edge device.
Who is affected
Per the Fortinet bulletin:
- FortiOS 7.6.0 through 7.6.4, and 7.4.0 through 7.4.9; all versions of 7.2, 7.0 and 6.4.
- FortiPAM 1.7.0, and all versions of 1.0 through 1.6. FortiPAM 1.8 is not affected.
- FortiProxy 7.6.0 through 7.6.4, and 7.4.0 through 7.4.11; all versions of 7.2 and 7.0.
- FortiSwitchManager 7.2.0 through 7.2.7, and 7.0.0 through 7.0.6.
Check the firmware version your device reports and compare it with this list. The bulletin documents no command for this.
How to fix it
Upgrade to the fixed release for your branch:
- FortiOS: 7.6.5 or later, or 7.4.10 or later. For 7.2, 7.0 and 6.4, migrate to a fixed release.
- FortiPAM: 1.7.1 or later. For 1.0 through 1.6, migrate to a fixed release.
- FortiProxy: 7.6.5 or later, or 7.4.12 or later. For 7.2 and 7.0, migrate.
- FortiSwitchManager: 7.2.8 or later, or 7.0.7 or later.
Fortinet points to its upgrade tool at docs.fortinet.com/upgrade-tool for planning the path. The bulletin lists no workaround, but a virtual patch is available (FG-VD-59270.0day in FMWP database update 25.120).
CISA's required action: apply mitigations per vendor instructions under BOD 26-04 and its forensics triage requirements, or discontinue use of the product if mitigations are unavailable. The due date was 2026-10-19 and binds US federal agencies.
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
How to tell if you were hit
The bulletin publishes no indicators of compromise. Review administrator logins and CLI command history for unfamiliar accounts, source addresses or times, and for commands run by admins who do not normally use the CLI. Check configuration and file integrity for unexpected changes, and for missing logs, since the flaw also allows deletes. Restrict management access to trusted networks and, where compromise is suspected, follow CISA's forensics triage requirements.
Original advisory
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
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.
Questions
- Is CVE-2025-61624 exploited in the wild?
Yes. CISA added it to the KEV catalog on 16 October 2026, and Fortinet's bulletin marks it as known exploited. The bulletin gives no further details about the attacks.
- Does the attacker need to be logged in?
Yes. They need an admin profile with at least read-write permissions and use the CLI. The flaw is therefore most dangerous after credential theft or a separate compromise.
- Is FortiOS 7.2 fixed by an update?
No. All versions of FortiOS 7.2, 7.0 and 6.4 are affected and Fortinet says to migrate to a fixed release, such as 7.4.10 or later or 7.6.5 or later.
- Is there a workaround?
The bulletin lists none. A virtual patch exists: FG-VD-59270.0day in FMWP database update 25.120.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Fortinet vulnerabilities
All Fortinet entriesCVE-2026-104286
Fortinet FortiMail Path Traversal Vulnerability
critical9.8ExploitedOct 1, 2026CVE-2026-25089
Fortinet FortiSandbox OS Command Injection Vulnerability
critical9.8ExploitedJun 9, 2026CVE-2026-39808
Fortinet FortiSandbox OS Command Injection Vulnerability
critical9.8ExploitedApr 14, 2026CVE-2026-35616
Fortinet FortiClient EMS Improper Access Control Vulnerability
critical9.8ExploitedApr 4, 2026CVE-2025-68686
Fortinet FortiOS Exposure of Sensitive Information to an Unauthorized Actor Vulnerability
medium5.9ExploitedFeb 10, 2026CVE-2026-21643
Fortinet FortiClient EMS SQL Injection Vulnerability
critical9.8ExploitedFeb 6, 2026
