CVE-2025-61624: Fortinet FortiOS + 3 more · Path traversal
Exploitation: In the wild · CVSS 5.4 Medium · Local access · Published 2026-04-14
Description
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.
Enclave's analysis
Path traversal in the CLI of FortiOS, FortiProxy, FortiPAM and FortiSwitchManager. An admin with read-write rights can write or delete arbitrary files, and in a real intrusion that became root on the appliance. It's on CISA KEV and used by a suspected nation-state actor against a telecom provider. No public PoC turned up. Patch to a fixed release, lock down management access, and preserve evidence before upgrading.
Fix
Upgrade Fortinet FortiOS to 7.6.5+, 7.4.10+; migrate to a fixed branch from 7.2, 7.0, 6.4; Fortinet FortiProxy to 7.6.5+, 7.4.12+; migrate to a fixed branch from 7.2, 7.0; Fortinet FortiPAM to 1.7.1+ (1.8 not affected). See the affected versions for other product fixes. No fixed version is listed for FortiOS, FortiProxy; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| FortiOS | 7.6.0 through 7.6.4 | Not listed |
| FortiOS | 7.4.0 through 7.4.9 | Not listed |
| FortiOS | 7.2.0 through 7.2.13 | Not listed |
| FortiOS | 7.0.0 through 7.0.19 | Not listed |
| FortiOS | 6.4.0 through 6.4.16 | Not listed |
| FortiProxy | 7.6.0 through 7.6.4 | Not listed |
| FortiProxy | 7.4.0 through 7.4.11 | Not listed |
| FortiProxy | 7.2.0 through 7.2.16 | Not listed |
| Fortinet FortiOS | 7.6.0-7.6.4, 7.4.0-7.4.9, and all of 7.2, 7.0, 6.4 | 7.6.5+, 7.4.10+; migrate to a fixed branch from 7.2, 7.0, 6.4 |
| Fortinet FortiProxy | 7.6.0-7.6.4, 7.4.0-7.4.11, and all of 7.2, 7.0 | 7.6.5+, 7.4.12+; migrate to a fixed branch from 7.2, 7.0 |
| Fortinet FortiPAM | 1.7.0 and all of 1.0-1.6 | 1.7.1+ (1.8 not affected) |
| Fortinet FortiSwitchManager | 7.2.0-7.2.7 and 7.0.0-7.0.6 | 7.2.8+, 7.0.7+ |
| Siemens RUGGEDCOM APE1808 (embedded FortiGate NGFW) | Versions with embedded FortiGate NGFW below the fix | NGFW 7.4.10 |