# CVE-2025-61624: Fortinet multiple products path traversal in CLI

Source: https://junglewise.ai/threats/cve-2025-61624-fortinet-multiple-products-path-traversal-in-cli  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-14. Updated: 2026-05-12  
License: CC BY 4.0 with a link back

CVE-2025-61624 · Severity: critical · CVSS 6 · Exploited in the wild · Published 2026-04-14

A path traversal vulnerability exists in several Fortinet networking and security products, including FortiOS and FortiPAM. This flaw allows an administrative user with existing read-write permissions to bypass directory restrictions and delete or modify system files. While it requires high-level access to exploit, it could be used by a malicious insider or a compromised administrator account to disrupt operations or damage the integrity of the security appliance.

Technologies: [Fortinet FortiOS](https://junglewise.ai/threats/technologies/fortios), [Fortinet Fortipam](https://junglewise.ai/threats/technologies/fortipam), [Fortinet FortiProxy](https://junglewise.ai/threats/technologies/fortiproxy), [Fortinet FortiSwitchManager](https://junglewise.ai/threats/technologies/fortiswitchmanager), [Siemens Ruggedcom Ape1808](https://junglewise.ai/threats/technologies/ruggedcom-ape1808). Vendors: [Fortinet](https://junglewise.ai/threats/vendors/fortinet), [Siemens](https://junglewise.ai/threats/vendors/siemens).

## Quick answers

**Is CVE-2025-61624 exploited in the wild?** Yes. CVE-2025-61624 is known to be exploited in the wild, first recorded on 16 October 2026. Treat it as urgent.

**How severe is CVE-2025-61624?** Critical severity, with a CVSS score of 6, published 14 April 2026.

**Which products and versions are affected?** Fortinet FortiOS 7.6.0 through 7.6.4, 7.4.0 through 7.4.9, 7.2 all versions, 7.0 all versions, 6.4 all versions; Fortinet Fortipam 1.7.0, 1.6 all versions, 1.5 all versions, 1.4 all versions, 1.3 all versions, 1.2 all versions, 1.1 all versions, 1.0 all versions; Fortinet FortiProxy 7.6.0 through 7.6.4, 7.4.0 through 7.4.11, 7.2 all versions, 7.0 all versions; Fortinet FortiSwitchManager 7.2.0 through 7.2.7, 7.0.0 through 7.0.6; and 1 more.

**Is there a fix for CVE-2025-61624?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-61624 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-2025-61624?** Check whether you run Fortinet FortiOS, Fortinet Fortipam, Fortinet FortiProxy or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A path traversal vulnerability (CWE-22) exists in the Command Line Interpreter (CLI) of multiple Fortinet products. The root cause is improper limitation of pathnames within specific CLI commands, allowing users to reference files outside of the intended directory. Exploitation requires the attacker to be authenticated with an administrative profile and possess at least read-write permissions. An attacker can leverage this to achieve arbitrary file write or deletion on the underlying filesystem. Fortinet has released updates for affected branches (e.g., FortiOS 7.6.5, 7.4.10) to remediate the issue.

## Affected products

- Fortinet FortiOS 7.6.0 through 7.6.4, 7.4.0 through 7.4.9, 7.2 all versions, 7.0 all versions, 6.4 all versions
- Fortinet FortiPAM 1.7.0, 1.6 all versions, 1.5 all versions, 1.4 all versions, 1.3 all versions, 1.2 all versions, 1.1 all versions, 1.0 all versions
- Fortinet FortiProxy 7.6.0 through 7.6.4, 7.4.0 through 7.4.11, 7.2 all versions, 7.0 all versions
- Fortinet FortiSwitchManager 7.2.0 through 7.2.7, 7.0.0 through 7.0.6
- Siemens RUGGEDCOM APE1808 (Fortinet NGFW) Versions with Fortinet NGFW < V7.4.10

## Identifiers

- CVE-2025-61624
- CVE-2026-102764

## Timeline

- 2026-03-10: advisory: Initial Siemens advisory published
- 2026-04-14: disclosed: Initial Fortinet publication
- 2026-05-12: other: Siemens advisory updated to include this CVE

## References

- [https://fortiguard.fortinet.com/psirt/FG-IR-26-122](https://fortiguard.fortinet.com/psirt/FG-IR-26-122)
- [https://cert-portal.siemens.com/productcert/html/ssa-975644.html](https://cert-portal.siemens.com/productcert/html/ssa-975644.html)

## Related threats

- [Fortinet FortiOS authentication bypass in HA command execution](https://junglewise.ai/threats/cve-2026-126259-a-missing-authentication-for-critical-function-vulnerability-in)
- [Fortinet FortiOS stack buffer overflow in WAD proxy](https://junglewise.ai/threats/cve-2026-126258-a-stack-based-buffer-overflow-vulnerability-in-fortinet-fortios)
- [Fortinet FortiOS out-of-bounds read in kernel](https://junglewise.ai/threats/cve-2026-126256-a-out-of-bounds-read-vulnerability-in-fortinet-fortios-8-0-0)
- [Fortinet FortiOS path traversal authentication bypass in SSH daemon](https://junglewise.ai/threats/cve-2026-126255-a-path-traversal-filedir-vulnerability-in-fortinet-fortios-8-0-0)
- [Fortinet FortiOS numeric truncation error in BGP daemon](https://junglewise.ai/threats/cve-2026-126254-a-numeric-truncation-error-vulnerability-in-fortinet-fortios-8-0)
