FortiOS
CVE-2025-61624: Path traversal in FortiOS, FortiProxy and others
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.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiOS 7.6.0 to 7.6.4 | 7.6.5 or later |
| FortiOS 7.4.0 to 7.4.9 | 7.4.10 or later |
| FortiOS 7.2.0 to 7.2.13 | Upgrade past 7.2.13; see the advisory |
| FortiOS 7.0.0 to 7.0.19 | Upgrade past 7.0.19; see the advisory |
| FortiOS 6.4.0 to 6.4.16 | Upgrade past 6.4.16; see the advisory |
| FortiProxy 7.6.0 to 7.6.4 | 7.6.5 or later |
| FortiProxy 7.4.0 to 7.4.11 | 7.4.12 or later |
| FortiProxy 7.2.0 to 7.2.16 | Upgrade past 7.2.16; see the advisory |
| FortiProxy 7.0.0 to 7.0.23 | Upgrade past 7.0.23; see the advisory |
| FortiSwitchManager 7.2.0 to 7.2.7 | 7.2.8 or later |
| FortiSwitchManager 7.0.0 to 7.0.6 | 7.0.7 or later |
| FortiPAM 1.7 | 1.7.1 or later |
| FortiPAM 1.6.0 to 1.6.2 | Upgrade past 1.6.2; see the advisory |
| FortiPAM 1.5.0 to 1.5.1 | Upgrade past 1.5.1; see the advisory |
| FortiPAM 1.4.0 to 1.4.3 | Upgrade past 1.4.3; see the advisory |
| FortiPAM 1.3.0 to 1.3.1 | Upgrade past 1.3.1; see the advisory |
| FortiPAM 1.2 | See the advisory |
| FortiPAM 1.1.0 to 1.1.2 | Upgrade past 1.1.2; see the advisory |
| FortiPAM 1.0.0 to 1.0.3 | Upgrade past 1.0.3; see the advisory |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
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.
Sources
KEV status, EPSS score and vendor data refreshed automatically, last on 10 Oct 2026.