What is CVE-2025-61624?

FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager contain a path traversal vulnerability that may allow an authenticated attacker with admin profile and at least read-write permissions to write or delete arbitrary files via specific CLI commands.

CISA added this issue to its exploited-vulnerability catalog on 2026-10-16. This is the catalog date, not this article’s publication date.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2025-61624 — NVD, CVE-2025-61624 — CVE Program record

First, confirm where the vulnerable product is running

CVE-2025-61624 is a path traversal vulnerability (CWE-22) affecting FortiOS, FortiProxy, FortiSwitchManager, and FortiPAM. An authenticated attacker with admin profile and read-write permissions can write or delete arbitrary files via specific CLI commands. The vendor advisory FG-IR-26-122 lists affected versions across multiple major releases. Fixed versions are not established by the supplied catalog entry; customers must consult the vendor advisory for the exact patched firmware per product line. Because these are vendor appliances, remediation follows the vendor-supported upgrade path—do not attempt host-level package installs or OS modifications unless explicitly supported by Fortinet. Cloud deployment models and managed-service exposure are not established by the sources; do not assume marketplace images, Kubernetes deployments, or managed-service impact. Apply mitigations per vendor instructions and align with CISA BOD 26-04 patching timelines based on asset exposure. A patch does not prove absence of prior compromise; plan forensics triage accordingly.

The named vulnerable product is Fortinet Multiple Products. Deployment on a cloud platform does not by itself establish that a managed AWS, Azure or GCP service is vulnerable. Confirm the product, version, vendor-supported deployment and remediation owner.

Vendor remediation comes first

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Use the current vendor advisory for affected versions and fixed builds. This catalog entry does not establish a universal fixed version or a cloud-specific hotfix.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2025-61624 — NVD

AWS: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Identify any EC2 instances or AWS Marketplace deployments running customer-managed FortiOS, FortiProxy, FortiSwitchManager, or FortiPAM; verify the firmware version against the vendor advisory FG-IR-26-122.
  2. For customer-managed appliances, apply the vendor-supported firmware upgrade; do not rely on Systems Manager Patch Manager for these proprietary firmware images.
  3. Review Security Groups, NACLs, and VPN attachments to confirm admin CLI access is restricted to authorized management networks only.
  4. Enable CloudTrail data events for relevant APIs and VPC Flow Logs to detect anomalous admin CLI usage or unexpected file writes on attached storage.

Sources: AWS Systems Manager Patch Manager

Azure: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Inventory Azure VMs, VM Scale Sets, or Marketplace solutions running customer-managed FortiOS, FortiProxy, FortiSwitchManager, or FortiPAM; cross-reference firmware versions with vendor advisory FG-IR-26-122.
  2. Apply vendor-provided firmware upgrades through the appliance management plane; Azure Update Manager handles OS packages, not vendor appliance firmware.
  3. Restrict management-plane access via NSGs, Azure Firewall, or Bastion to approved admin sources; enforce Conditional Access and PIM for privileged identities.
  4. Configure Microsoft Defender for Cloud and Microsoft Sentinel to alert on suspicious administrative CLI activity or file-system anomalies on managed disks.

Sources: Azure Update Manager overview

GCP: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. List Compute Engine VMs or Marketplace deployments hosting customer-managed FortiOS, FortiProxy, FortiSwitchManager, or FortiPAM; validate firmware against vendor advisory FG-IR-26-122.
  2. Upgrade using the vendor-supported firmware mechanism; VM Manager Patch manages OS packages, not vendor appliance firmware.
  3. Limit admin CLI exposure with VPC firewall rules, IAP, and Identity-Aware Proxy; require OS Login and IAM conditions for privileged access.
  4. Enable Cloud Audit Logs for admin activity and VPC Flow Logs; create detection rules for unusual CLI command patterns or file modifications on persistent disks.

Sources: Google Cloud VM Manager — About Patch

How to verify the fix

  1. Log into each appliance management GUI or CLI and confirm the running firmware version matches the patched release listed in FG-IR-26-122 for that product.
  2. Execute the vendor-recommended integrity or diagnostic command (per advisory) to verify no unexpected files were written or deleted prior to patching.
  3. Validate that management-plane network controls (security groups, NSGs, firewall rules, IAP) enforce least-privilege admin access from approved sources only.
  4. Review centralized logs (CloudTrail, Microsoft Sentinel, Cloud Audit Logs) for the period before patching to identify any exploitation indicators.

Questions teams ask

What is the exact fixed firmware version for my FortiOS/FortiProxy/FortiSwitchManager/FortiPAM appliance?

The supplied catalog entry does not list fixed versions. Consult the vendor advisory FG-IR-26-122 for the precise patched firmware per product and version train.

Can I use AWS Systems Manager Patch Manager, Azure Update Manager, or GCP VM Manager Patch to update these Fortinet appliances?

No. These services manage OS-level packages on supported operating systems. Fortinet appliances require the vendor-supported firmware upgrade process; do not attempt host-agent or OS-package installation unless explicitly documented by Fortinet.

Are Fortinet managed cloud services (e.g., FortiGate Cloud, FortiSASE) affected by this CVE?

Managed-service exposure is not established by the supplied sources. Do not assume affected or unaffected status; contact Fortinet or your managed-service provider for a definitive statement.

Does applying the firmware upgrade guarantee the appliance was not previously compromised?

No. A patch remediates the vulnerability but does not prove absence of prior exploitation. Follow CISA’s Forensics Triage Requirements and review logs for indicators of compromise before and after upgrade.

Sources & further reading

This brief summarizes public source material. Confirm affected versions and the current vendor instructions before changing production. No original exploit validation is claimed.