CVE-2026-59839 Path traversal in FortiOS
Attackers can execute unauthorized code or commands via path traversal in Fortinet FortiOS, FortiPAM, and FortiProxy.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59839?
CVE-2026-59839 is a medium-severity path traversal vulnerability in Fortinet Fortios, published on 14 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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>
Weakness: CWE-22
Which versions are affected by CVE-2026-59839?
It affects 3 products.
Products include Fortinet Fortios, Fortinet Fortipam, Fortinet Fortiproxy.
How do I fix CVE-2026-59839?
No fix has been published for CVE-2026-59839 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-59839 being exploited?
There is no known exploitation of CVE-2026-59839 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-c97x-2x9j-68c3.