Fortinet Fortigate Path traversal in CLI command allows deletion of root file system (FG-IR-26-151)

medium Nessus Plugin ID 326772

Synopsis

Fortinet Firewall is missing one or more security-related updates.

Description

The version of Fortigate installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the FG-IR-26-151 advisory.

- A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiOS 7.6.0 through 7.6.6, FortiOS 7.4.0 through 7.4.9, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiPAM 1.8.0, FortiPAM 1.7.0 through 1.7.2, FortiPAM 1.6 all versions, FortiPAM 1.5 all versions, FortiPAM 1.4 all versions, FortiPAM 1.3 all versions, FortiPAM 1.2 all versions, FortiPAM 1.1 all versions, FortiPAM 1.0 all versions, FortiProxy 7.6.0 through 7.6.5, FortiProxy 7.4 through 7.4.13, FortiProxy 7.2 all versions, FortiProxy 7.0 all versions may allow attacker to execute unauthorized code or commands via <insert attack vector here> (CVE-2026-59839)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

For 6.4.x / 7.0.x / 7.2.x, see vendor advisory. For 7.4.x, upgrade to Fortigate version 7.4.10 or later. For 7.6.x, upgrade to Fortigate version 7.6.7 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-26-151

Plugin Details

Severity: Medium

ID: 326772

File Name: fortigate_FG-IR-26-151.nasl

Version: 1.1

Type: Local

Family: Firewalls

Published: 7/14/2026

Updated: 7/14/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.69

CVSS v2

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 4.4

Vector: CVSS2#AV:L/AC:L/Au:M/C:N/I:C/A:C

CVSS Score Source: CVE-2026-59839

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:P/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

Required KB Items: Host/Fortigate/model, Host/Fortigate/version

Exploit Ease: No known exploits are available

Patch Publication Date: 7/14/2026

Vulnerability Publication Date: 7/14/2026

Reference Information

CVE: CVE-2026-59839