Fortinet Fortigate Restricted CLI escape using Lua (FG-IR-26-143)

medium Nessus Plugin ID 320143

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-143 advisory.

- An Internal Asset Exposed to Unsafe Debug Access Level or State vulnerability [CWE-1244] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.0 through 7.2.10, FortiOS 7.0.0 through 7.0.16, FortiOS 6.4 all versions, FortiProxy 7.6.0 through 7.6.3, FortiProxy 7.4.0 through 7.4.10, FortiProxy 7.2.0 through 7.2.14, FortiProxy 7.0 all versions may allow an authenticated admin to execute lua scripts via crafted CLI commands. (CVE-2025-67862)

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

Solution

For 7.2.x, upgrade to Fortigate version 7.2.11 or later. For 7.4.x, upgrade to Fortigate version 7.4.8 or later. For 7.6.x, upgrade to Fortigate version 7.6.3 or later.

See Also

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

Plugin Details

Severity: Medium

ID: 320143

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

Version: 1.1

Type: Local

Family: Firewalls

Published: 6/9/2026

Updated: 6/9/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2025-67862

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/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: 6/9/2026

Vulnerability Publication Date: 6/9/2026

Reference Information

CVE: CVE-2025-67862