Skip to main content
CVE-2023-46718VulnerabilityPublished Updated

CVE-2023-46718: Fortinet FortiOS · Execute unauthorized code or commands

Affects Fortinet FortiOSSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:X

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Fortinet FortiOSAffected
  • =7.4.0
  • =7.2.0
  • =7.0.0
  • =6.4.6
  • =6.2.9
  • =6.0.13
Fixed in–

AI-suggested

1. Apply official patches from Fortinet as soon as they become available for all affected FortiOS versions. 2. Restrict CLI access strictly to trusted administrators and use multi-factor authentication to reduce the risk of privilege escalation. 3. Implement network segmentation to limit access to FortiOS management interfaces, ensuring they are not exposed to untrusted networks. 4. Monitor logs and system behavior for unusual CLI command activity or signs of exploitation attempts. 5. Conduct regular security audits and vulnerability assessments on FortiOS devices to identify and remediate misconfigurations. 6. Employ strict access control policies and least privilege principles for all users with administrative access to FortiOS devices. 7. Consider deploying intrusion detection/prevention systems (IDS/IPS) that can detect anomalous CLI command patterns. 8. Maintain an incident response plan that includes procedures for FortiOS device compromise scenarios. These measures go beyond generic advice by focusing on access control hardening, monitoring, and proactive patch management tailored to the nature of this vulnerability.

Description

A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.0 through 7.0.12 and 6.4.6 through 6.4.15 and 6.2.9 through 6.2.16 and 6.0.13 through 6.0.18 allows attacker to execute unauthorized code or commands via specially crafted CLI commands.

References

Community reviews

Loading reviews…