VORANT. Threat Intelligence Research Create a free account

Fortinet path traversal flaw CVE-2025-61624 exploited

Published Vorant ratinghigh vulnerability

Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

Fortinet disclosed dozens of vulnerabilities across its product line, including a CLI path traversal bug (CVE-2025-61624) that is being actively exploited in the wild.

Sourcecisecurity.org — open the original

What to check

Applies to
The 26 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
Exploitation
CISA lists CVE-2025-61624 and CVE-2026-39808 as exploited in the wild.

CISA/MS-ISAC issued an advisory covering a large batch of Fortinet vulnerabilities spanning FortiAnalyzer, FortiClientEMS, FortiDDoS, FortiManager, FortiNAC-F, FortiNDR, FortiOS, FortiPAM, FortiProxy, FortiSandbox, FortiSOAR, FortiSwitchManager, FortiVoice, and FortiWeb. The most severe issues include a heap-based buffer overflow in FortiAnalyzer Cloud's oftpd daemon, OS command injection in FortiSandbox, and SQL injection flaws in FortiClientEMS and FortiDDoS-F, several of which are remotely exploitable without authentication and could lead to arbitrary code execution.

Fortinet has confirmed that CVE-2025-61624, a path traversal vulnerability in the CLI of FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager, is being actively exploited in the wild, allowing a privileged attacker to arbitrarily write or delete files. The remaining vulnerabilities range from authentication bypass and hard-coded cryptographic keys to cross-site scripting, SSRF, and information disclosure issues, most requiring authenticated or privileged access. Given the breadth of affected products, the presence of at least one actively exploited CVE, and unauthenticated RCE-class bugs in FortiAnalyzer and FortiSandbox, organizations running these products should prioritize patching immediately.

MS-ISAC recommends applying Fortinet's stable channel updates without delay, enforcing least-privilege on service accounts, segmenting management interfaces from the internet, and conducting regular vulnerability scanning and penetration testing against externally exposed Fortinet assets.

Mentioned in this report

Vulnerabilities CVE-2024-23104CVE-2025-53847CVE-2025-59809CVE-2025-61624KEVCVE-2025-61848CVE-2025-61886CVE-2025-68649CVE-2026-21741CVE-2026-21742CVE-2026-22154CVE-2026-22155CVE-2026-22573CVE-2026-22574CVE-2026-22576CVE-2026-22828CVE-2026-23708CVE-2026-25691CVE-2026-27316CVE-2026-39808KEVCVE-2026-39809CVE-2026-39810CVE-2026-39811CVE-2026-39812CVE-2026-39813templatedCVE-2026-39814CVE-2026-39815

Detection guidance

Fortinet CLI Path Traversal File Write Attempt

ATT&CK T1190 · status experimental · needs windows process_creation logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

Detects suspicious file write operations via Fortinet CLI commands exploiting CVE-2025-61624 path traversal, using ../ or absolute path traversal patterns in file operation arguments. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

title: Fortinet CLI Path Traversal File Write Attempt
description: Detects path traversal attempts in Fortinet CLI (FortiOS, FortiPAM, FortiProxy,
  FortiSwitchManager) via file write commands with directory traversal sequences or
  absolute paths outside intended directories. Targets CVE-2025-61624 exploitation.
tags:
- attack.t1190
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith:
    - \fortios.exe
    - \fortipam.exe
    - \fortiproxy.exe
    - \fortiswitchmanager.exe
    CommandLine|contains:
    - ../
    - ..\\
    - write
    - copy
    - move
  path_traversal:
    CommandLine|re: (\.\.[\\/]){2,}|/etc/|/root/|C:\\Windows\\|C:\\Program Files
  condition: selection and path_traversal
falsepositives:
- Legitimate backup or migration scripts using relative paths in Fortinet CLI
level: high
id: e6d0922a-f6c0-5510-8cb7-d5049df1aa86
status: experimental
author: Vorant

Fortinet Daemon Unusual Network Activity Post-Exploitation

ATT&CK T1190 · status experimental · needs windows network_connection logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

Detects network connections from Fortinet daemon processes (oftpd, sandboxd, ndrd) to unexpected external hosts, potentially indicating post-exploitation command-and-control or data exfiltration following buffer overflow or injection attacks. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

title: Fortinet Daemon Unusual Network Activity Post-Exploitation
description: Detects network connections initiated by Fortinet background daemons
  (oftpd, sandboxd, ndrd from FortiAnalyzer, FortiSandbox, FortiNDR) to non-standard
  ports or external IPs, consistent with post-exploitation C2 or data exfiltration
  following RCE via CVE-2025-61624 or related heap-overflow/injection flaws.
tags:
- attack.t1190
- attack.execution
logsource:
  category: network_connection
  product: windows
detection:
  selection:
    Image|endswith:
    - \oftpd.exe
    - \sandboxd.exe
    - \ndrd.exe
  filter_internal:
    DestinationIp|cidr:
    - 10.0.0.0/8
    - 172.16.0.0/12
    - 192.168.0.0/16
    - 127.0.0.0/8
  filter_dns:
    DestinationPort: 53
  filter_ntp:
    DestinationPort: 123
  filter_fortinet_repo:
    DestinationHostname|contains:
    - fortinet.com
    - fortiupdate.com
  condition: selection and not (filter_internal or filter_dns or filter_ntp or filter_fortinet_repo)
falsepositives:
- Fortinet cloud-based analytics or telemetry connections to Fortinet infrastructure
- Legitimate third-party integration endpoints configured in Fortinet management console
level: medium
id: be86c95d-8c5b-5b9f-9a83-c76fde34a3e6
status: experimental
author: Vorant

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-fortinet-products-could-allow-for-arbitrary-code-execution_2026-035

Free public brief. The Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and KQL where they apply) are in the app with a free account, no card. Slack alerts on the vendors you run come with the paid plans, and a new account gets five days of them.

What this brief leaves out

This page is the free tier: the write-up, the severity, the names. In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries.

It sits in a corpus of 17,321 reports from 146 sources, 698 of them written in the last seven days, and it grows through the day.

A new account starts with five days of all of it, no card, then keeps the last 30 days of reporting free, the research and news included. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.

Create a free account   What it costs