CVE-2026-59839: Path traversal in CLI command allows deletion of root file system
A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiOS 7.6.0 through 7.6.6, 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.8.0, FortiPAM 1.7.0 through 1.7.2, 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.5, FortiProxy 7.4 through 7.4.13, FortiProxy 7.2 all versions, FortiProxy 7.0 all versions may allow attacker to execute unauthorized code or commands via <insert attack vector here>
Other sources
An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability [CWE-22] in FortiOS, FortiPAM, FortiProxy and FortiSwitch Manager may allow a privileged authenticated attacker with physical access to the device to delete the file system via crafted CLI commands.
— FortiGuard
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.4.10 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 7.6.7 - Upgrade
Upgrade
FortiOSto a version that resolves this vulnerability.Fixed in 8.0.0 - Upgrade
Upgrade
FortiPAMto a version that resolves this vulnerability.Fixed in 1.8.1 - Upgrade
Upgrade
FortiPAMto a version that resolves this vulnerability.Fixed in 1.9.0 - Upgrade
Upgrade
FortiProxyto a version that resolves this vulnerability.Fixed in 7.6.6 - Upgrade
Upgrade
FortiSwitchManagerto a version that resolves this vulnerability.Fixed in 7.2.8
Event History
Frequently Asked Questions
What is the severity of CVE-2026-59839?
CVE-2026-59839 has a medium severity rating of 5.5.
How do I fix CVE-2026-59839?
To fix CVE-2026-59839, upgrade to Fortinet FortiOS or FortiPAM versions that are not affected by the vulnerability.
What systems are impacted by CVE-2026-59839?
CVE-2026-59839 affects various versions of Fortinet FortiOS and FortiPAM, specifically versions 7.0 through 7.6.6 and FortiPAM 1.7.0 through 1.8.0.
What type of vulnerability is CVE-2026-59839?
CVE-2026-59839 is classified as a path traversal vulnerability.
What potential risks are associated with CVE-2026-59839?
CVE-2026-59839 could allow an attacker to delete critical files from the root file system.