Path Traversal in Fortinet CLI Components
CVE-2025-61624 is a path traversal vulnerability in CLI components of multiple Fortinet products, including FortiOS 7.6.0 through 7.6.4, 7.4.0 through 7.4.9, all 7.2, 7.0, and 6.4 versions; FortiPAM 1.7.0 and all 1.6 through 1.0 versions; FortiProxy 7.6.0 through 7.6.4, 7.4.0 through 7.4.11, and all 7.2 and 7.0 versions; and FortiSwitchManager 7.2.0 through 7.2.7 and 7.0.0 through 7.0.6. The flaw is classified as Improper Limitation of a Pathname to a Restricted Directory (CWE-22). According to the provided content, an authenticated attacker with an admin profile and at least read-write permissions can exploit specific CLI commands to write or delete arbitrary files outside intended directories. The content also notes Fortinet tracked this issue as FG-IR-26-122 and that it has been reported as exploited in the wild.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A medium-severity path traversal vulnerability in Fortinet products that can let authenticated attackers escalate privileges and was reported as exploited in the wild.
A medium-severity path traversal vulnerability affecting CLI components in FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager, requiring authenticated internal access.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.