high Cve 2025 61624 · Exploits

Admin-Only Fortinet Flaw CVE-2025-61624 Used to Gain Root, Now on CISA KEV

Data graphic: a Known exploited seal over Fortinet CVE-2025-61624, rated CVSS 6.0 Medium and admin-only, yet used to go from FortiOS admin to root.
AK

Threat intelligence editor · Published Oct 27, 2026, 1:56 PM EDT

Unit 42 says attackers used Fortinet's admin-only CLI path traversal CVE-2025-61624 to reach root. CISA added it to KEV on 16 October 2026.

CISA added CVE-2025-61624 to its Known Exploited Vulnerabilities catalog on 16 October 2026, with a federal deadline of 19 October. The flaw is a path traversal in the command-line interface of FortiOS, FortiPAM, FortiProxy and FortiSwitchManager. Fortinet published it on 14 April 2026 as FG-IR-26-122 and rates it Medium, CVSS 6.0. The advisory now marks the bug as known exploited. Unpatched devices on any of the four products are affected, and the risk is highest where administrator credentials may already have leaked.

Why a medium bug made the list

The score reflects what an attacker needs first. Fortinet's vector is local, with high privileges required, and CISA's entry says the attacker needs an admin profile with at least read-write permissions. Fortinet says crafted arguments to existing CLI commands let such an attacker write or delete arbitrary files. Fortinet found the flaw internally.

Palo Alto Networks Unit 42 showed what that is worth once an attacker is already in. In its 14 October report on the PEERSTITCH implant, Unit 42 says the attackers used CVE-2025-61624 to go from FortiOS administrator access to root on the firewall.

Data graphic: timeline of CVE-2025-61624 from Fortinet's advisory on 14 April 2026 to the Unit 42 report on 14 October, the KEV addition on 16 October and the KEV deadline on 19 October.

Fortinet published the advisory in April 2026; Unit 42 tied the flaw to PEERSTITCH and CISA added it to KEV in October.

How it was used

According to Unit 42, the name of an auto-script object in the system.auto-script engine is not sanitized. A name containing traversal sequences places the script body at an arbitrary path, and the script runs with the engine's privileges. The attackers used two such objects:

  • ../../../../setup to drop the PEERSTITCH initial-stage loader.
  • ../../tmp/apache2/conf/md-acme.conf to set up a reverse-shell channel through Apache mod_md.

Afterwards they deleted the rogue admin accounts, VPN groups and auto-script objects.

Unit 42 tracks the campaign as CL-STA-0954 (also UNC5820). It began in September 2024 at a telecom managed service provider, through the FortiManager flaw CVE-2024-47575, and the attackers stole configurations, credentials and certificates for more than 500 managed FortiGates.

Unit 42 does not say when CVE-2025-61624 was exploited, and it does not say how the attackers obtained the admin access the traversal needs. Separately, Unit 42 documents the attackers recovering admin and SSL VPN passwords by brute-forcing reversible ciphertext in stolen configurations, but it does not connect that to this flaw. The implant itself is covered in our earlier article, PEERSTITCH: A Memory-Only FortiGate Implant Built on the 2024 FortiManager Breach.

Affected and fixed versions

Per FG-IR-26-122:

ProductAffectedFix
FortiOS 7.67.6.0 to 7.6.47.6.5 or above
FortiOS 7.47.4.0 to 7.4.97.4.10 or above
FortiOS 7.2, 7.0, 6.4All versionsMigrate to a fixed release
FortiProxy 7.67.6.0 to 7.6.47.6.5 or above
FortiProxy 7.47.4.0 to 7.4.117.4.12 or above
FortiProxy 7.2, 7.0All versionsMigrate to a fixed release
FortiPAM 1.71.7.01.7.1 or above
FortiPAM 1.6 to 1.0All versionsMigrate to a fixed release
FortiPAM 1.8Not affectedNone
FortiSwitchManager 7.27.2.0 to 7.2.77.2.8 or above
FortiSwitchManager 7.07.0.0 to 7.0.67.0.7 or above

Fortinet lists no workaround. It offers a virtual patch, FG-VD-59270.0day, in FMWP database update 25.120. HKCERT's 20 October bulletin gives the same affected products.

What defenders should do

  • Upgrade to the fixed builds above. Where the branch has no fix (FortiOS 7.2, 7.0 and 6.4), plan a migration; the virtual patch is the only stopgap Fortinet names.
  • Patching does not remove an implant that is already in place. CISA flags this entry for forensic triage, and its required action cites BOD 26-04.
  • Hunt for signs of use. Unit 42 advises checking FortiOS configuration revisions for system.auto-script objects whose names contain ../../, and checking crash logs for segmentation faults in miglogd, iked or syslogd.
  • If a FortiManager or other management platform was exposed, treat the credentials and certificates it held as compromised and rotate them, as Unit 42 advises.
  • Review who holds read-write admin profiles, since that is the entry condition.

CISA lists ransomware use as unknown.

Sources

Keep reading

All latest →
  1. criticalExploitsQilin and Inc Ransomware Walk Through a Patched GlobalProtect Hole, CVE-2026-0257, Straight Past MFA5 min
  2. highExploitsCisco Expressway Clusters Carry a Hard-Coded Credential Flaw: Unauthenticated Root RCE, No Workaround4 min
  3. criticalExploitsNextcloud's Built-in Collabora Server Is Being Used to Plant Webshells, and Disabling the App Does Not Fix It5 min
  4. criticalExploitsArista VeloCloud Orchestrator SQL Injection CVE-2026-114625 Is Under Active Attack, and Any Read-Only Login Is Enough5 min
  5. criticalExploitsPHP2Shell: Two Pre-Auth PHP RCEs Are Patched, but PAN-OS, Panorama and Cisco Expressway Still Wait9 min
  6. criticalExploitsPlex Media Server Exploit Chain Lands in CISA KEV: Patch to 1.43.3.10861 Now3 min