Security Advisory

CVE-2025-61624: Fortinet FortiOS/FortiProxy/FortiPAM CLI Path Traversal (KEV)

Last updated:
  • CVE-2025-61624

CVE-2025-61624 is a path traversal in the CLI of Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager that lets an authenticated administrator with read-write permissions write or delete arbitrary files via crafted CLI arguments; Fortinet's own advisory marks it as known exploited and CISA added it to KEV in October 2026.

Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.

How severe is CVE-2025-61624?

CVSS base score

6.5

Medium severity

EPSS score (FIRST)

1.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2025-61624 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Which products and versions does CVE-2025-61624 affect?

ComponentCPEVersion range
Fortinet FortiOScpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*6.4.0 through 6.4.16; 7.0.0 through 7.0.19; 7.2 all versions through 7.2.13; 7.4.0 through 7.4.9 (fixed in 7.4.10); 7.6.0 through 7.6.4 (fixed in 7.6.5)
Fortinet FortiProxycpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*7.0.0 through 7.0.23; 7.2 all versions through 7.2.16; 7.4.0 through 7.4.11 (fixed in 7.4.12); 7.6.0 through 7.6.4 (fixed in 7.6.5)
Fortinet FortiPAMcpe:2.3:a:fortinet:fortipam:*:*:*:*:*:*:*:*1.0.0 through 1.7.0 (fixed in 1.7.1)
Fortinet FortiSwitchManagercpe:2.3:a:fortinet:fortiswitchmanager:*:*:*:*:*:*:*:*7.0.0 through 7.0.6 (fixed in 7.0.7); 7.2.0 through 7.2.7 (fixed in 7.2.8)

What does CVE-2025-61624 mean for affected devices?

CVE-2025-61624 is an improper limitation of a pathname to a restricted directory (CWE-22) in the command line interpreter of Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager. NVD's description states the flaw "may allow an authenticated attacker with admin profile and at least read-write permissions to write or delete arbitrary files via specific CLI commands" (NVD).

NVD lists the CVE as "Analyzed" with an NVD-published CVSS v3.1 base score of 6.5 (medium), vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H; Fortinet's own CNA submission scores it slightly lower at 6.0, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H — the two sources disagree on attack vector (NVD treats it as network-reachable, Fortinet as local) but agree the impact requires an already-authenticated, privileged admin session (NVD).

Fortinet's PSIRT advisory FG-IR-26-122 lists the affected builds above, states the status as "Known Exploited: Yes," and offers a virtual patch — FortiGuard IPS signature "FG-VD-59270.0day," available from FMWP database update 25.120 — for devices pending upgrade (Fortinet PSIRT Advisory FG-IR-26-122).

CISA added CVE-2025-61624 to the Known Exploited Vulnerabilities (KEV) catalog on 2026-10-16, with a required-action due date of 2026-10-19 and ransomware campaign use recorded as "Unknown" (CISA KEV).

As of 2026-10-26, FIRST scores the probability of exploitation at 0.0134 (71.162th percentile) (FIRST EPSS).

Because this is a confirmed, actively exploited file-tampering path that only requires an already-authenticated admin session, operators of affected FortiOS, FortiProxy, FortiPAM or FortiSwitchManager builds should upgrade to the fixed versions and apply the FMWP virtual patch in the interim, and review admin-account hygiene given the CLI-level write/delete capability this flaw grants.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.

How do the CVSS, EPSS and KEV signals for CVE-2025-61624 compare?

CVE-2025-61624 signals as recorded on this page, last checked .
SignalValue for CVE-2025-61624SourceWhat it tells you
CVSS base score6.5 (Medium)NVDHow severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it.
EPSS probability1.3%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingListedCISA KEV catalogA listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies.
Published2026-04-14NVDThe date the CVE record was first published in NVD.

How does the CVE-2025-61624 score change on your network?

A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.

Starting vector (matches the CVSS score above): CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Quoted vector: 6.5 (Medium)

Your re-score: 6.5 (Medium)

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

How to fix this class of issueThis advisory's weakness class is Path traversal. Our practical guide covers how to detect, fix, verify and disclose it: How to fix path traversal in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

How do you check CVE-2025-61624 status from the command line?

These commands re-read the three public signals for CVE-2025-61624 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.

# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-61624" \
  | jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'

# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2025-61624" | jq '.data[0]'

# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
  | jq --arg id CVE-2025-61624 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2025-61624 claim?

  • Path traversal in the Fortinet CLI lets an authenticated admin with read-write permissions write or delete arbitrary files via specific CLI commands. — NVD
  • NVD-published CVSS v3.1 base score is 6.5 (medium), vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H; Fortinet's own CNA score is 6.0 with a local attack vector, status Analyzed. — NVD
  • Affects FortiOS 6.4.0-6.4.16/7.0.0-7.0.19/7.2.x/7.4.0-7.4.9 (fixed 7.4.10)/7.6.0-7.6.4 (fixed 7.6.5); FortiProxy, FortiPAM 1.0.0-1.7.0 (fixed 1.7.1), FortiSwitchManager similarly; status 'Known Exploited: Yes'; virtual patch FG-VD-59270.0day available via FMWP update 25.120. — Fortinet PSIRT Advisory FG-IR-26-122
  • Added to the CISA Known Exploited Vulnerabilities catalog on 2026-10-16, due date 2026-10-19, ransomware campaign use Unknown. — CISA KEV
  • EPSS score is 0.0134 (71.162th percentile) as of 2026-10-26. — FIRST EPSS

Is your firmware affected by CVE-2025-61624?

Advisories in the same weakness class as CVE-2025-61624

Sources for CVE-2025-61624

  1. NVD
  2. Fortinet PSIRT Advisory FG-IR-26-122
  3. CISA KEV
  4. FIRST EPSS

CVE-2025-61624: frequently asked questions

Does exploiting CVE-2025-61624 require any special access, or is it reachable by anyone?

It requires an already-authenticated administrator session with an admin profile and at least read-write permissions; the attacker then sends specific crafted CLI commands to write or delete arbitrary files (per NVD).

Why do NVD and Fortinet disagree on the CVSS score for CVE-2025-61624?

NVD's own CVSS v3.1 score is 6.5, treating the attack vector as network-reachable, while Fortinet's CNA submission scores it slightly lower at 6.0, treating the attack vector as local — the two sources agree on everything else, including that an already-authenticated, privileged admin session is required (per NVD).

Is there a temporary fix for devices that can't be patched right away?

Yes — Fortinet's advisory FG-IR-26-122 offers a virtual patch, FortiGuard IPS signature "FG-VD-59270.0day," available from FMWP database update 25.120, for devices pending upgrade (per Fortinet PSIRT Advisory FG-IR-26-122).

Which Fortinet products and versions does CVE-2025-61624 affect?

It affects FortiOS, FortiProxy, FortiPAM and FortiSwitchManager across multiple branches, with fixes available in FortiOS 7.4.10/7.6.5, FortiProxy 7.4.12/7.6.5, FortiPAM 1.7.1 and FortiSwitchManager 7.0.7/7.2.8 (per Fortinet PSIRT Advisory FG-IR-26-122).