Skip to main content
Mallory
MediumExploited in the wildCISA KEVVulnerability

CVE-2025-61624: Authenticated CLI Path Traversal in Fortinet Products

Published Apr 14, 2026 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days8 mentions · peak 2 in a dayToday
CVSS6.5Medium · v3.1
EPSS1.4%73rd percentile
CISA KEVYesAdded Oct 16, 2026
In the wildActivePer CISA KEV
Vendors
FortinetSiemens
IdentifiersCVE-2025-61624CWE-22 · Improper Limitation of a Pathname…

CVE-2025-61624 is a path traversal vulnerability in the command-line interpreters of Fortinet FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager. An authenticated attacker with an administrator profile and at least read-write permissions can supply specially crafted arguments to existing CLI commands to write or delete files outside the intended restricted directory. Affected releases include FortiOS 7.6.0–7.6.4, 7.4.0–7.4.9, and all 7.2, 7.0, and 6.4 releases; FortiProxy 7.6.0–7.6.4, 7.4.0–7.4.11, and all 7.2 and 7.0 releases; FortiPAM 1.7.0 and all 1.0–1.6 releases; and FortiSwitchManager 7.2.0–7.2.7 and 7.0.0–7.0.6. Observed FortiOS exploitation abused insufficiently sanitized auto-script object names to place scripts outside the intended directory and execute them with root privileges. CL-STA-0954, also tracked as UNC5820, exploited the vulnerability to deploy the PEERSTITCH implant.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Arbitrary file creation, modification, or deletion can compromise appliance integrity, bypass administrative restrictions, and disrupt services. On FortiOS, demonstrated exploitation escalates restricted administrative access to root-level operating-system control, enabling command execution and implant deployment. Observed attackers used this access to deploy PEERSTITCH, which modifies legitimate processes in memory to bypass security checks for selected VPN sessions. These post-exploitation capabilities extend beyond the vulnerability's immediate arbitrary-file-manipulation primitive.

Mitigation

If you can’t patch tonight, do this now.

Restrict HTTPS, SSH, and other administrative access to dedicated management networks and explicitly trusted hosts; disable public administrative access. Minimize accounts with read-write administrative permissions, enforce least privilege, and enable multifactor authentication. Review auto-script objects, administrative accounts, VPN sessions, and configuration changes for unauthorized activity. Where FortiManager compromise is suspected, treat credentials and trust material for its managed devices as exposed. Inspect live appliance memory during compromise assessment because PEERSTITCH can evade disk-only integrity checks.

Remediation

Patch, then assume compromise.

Upgrade FortiOS 7.6 to 7.6.5 or later and FortiOS 7.4 to 7.4.10 or later; FortiProxy 7.6 to 7.6.5 or later and FortiProxy 7.4 to 7.4.12 or later; FortiPAM 1.7 to 1.7.1 or later; and FortiSwitchManager 7.2 to 7.2.8 or later and 7.0 to 7.0.7 or later. Migrate affected FortiOS 6.4, 7.0, and 7.2, FortiProxy 7.0 and 7.2, and FortiPAM 1.0–1.6 installations to corrected release trains using Fortinet's supported upgrade paths. For Siemens RUGGEDCOM APE1808 deployments running FortiGate NGFW, version 7.4.10 is the minimum fix for this vulnerability. Patching does not remove existing implants or invalidate stolen credentials. If compromise is suspected, preserve volatile memory before restarting or upgrading, investigate unauthorized auto-scripts and administrative changes, and rotate exposed credentials, certificates, and cryptographic trust material.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
FortinetFortiosoperating_system
FortinetFortipamoperating_system
FortinetFortiproxyapplication
FortinetFortiswitchmanagerapplication
SiemensRuggedcom Ape1808 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2025-61624 exploited in the wild?
Yes. As of Nov 18, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 16, 2026.
Is there a public exploit for CVE-2025-61624?
As of Nov 18, 2026, Mallory has found no public exploit for CVE-2025-61624.
Is there a patch for CVE-2025-61624?
Upgrade FortiOS 7.6 to 7.6.5 or later and FortiOS 7.4 to 7.4.10 or later; FortiProxy 7.6 to 7.6.5 or later and FortiProxy 7.4 to 7.4.12 or later; FortiPAM 1.7 to 1.7.1 or later; and FortiSwitchManager 7.2 to 7.2.8 or later and 7.0 to 7.0.7 or later. Migrate affected FortiOS 6.4, 7.0, and 7.2, FortiProxy 7.0 and 7.2, and FortiPAM 1.0–1.6 installations to corrected release trains using Fortinet's supported upgrade paths.
What products are affected by CVE-2025-61624?
Fortinet Fortios, Fortinet Fortipam, Fortinet Fortiproxy, Fortinet Fortiswitchmanager, and Siemens Ruggedcom Ape1808 Firmware.
How severe is CVE-2025-61624?
CVE-2025-61624 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 1.4% (73rd percentile) as of Nov 18, 2026.
Activity feed

Recent activity

73 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+16 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence19Every report linking this CVE to a named adversary.
Associated malware12Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity50Community discussion across Reddit, Mastodon, and other social sources.