Arbitrary Command Execution Vulnerability in Fortinet FortiWan

Check todayFull system takeover over the network by a logged-in user.
8.8HIGH

Key Information:

Vendor

Fortinet

Status
CVE ID
CVE ID:
CVE-2016-4965
Vendor
CVE Published:
21 September 2016

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Fortiwan. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2016-4965?

Fortinet FortiWan, prior to version 4.2.5, is susceptible to an arbitrary command execution vulnerability. This issue arises when remote authenticated users, who have access to the nslookup functionality, exploit the graph parameter in diagnosis_control.php to execute commands with root privileges. This could potentially allow an attacker to perform unauthorized actions on the system, highlighting the importance of updating to the latest version to mitigate associated risks.

References

Output Encoding Issue in Fortinet Products

CVE-2026-126170
FortinetFortimanagerπŸ‘Ύ9.8CRITICAL

Improper Authorization in Fortinet FortiManager Products

CVE-2026-126261
FortinetFortimanager9CRITICAL

Origin Validation Error in Fortinet's FortiClient for Mac and Windows

CVE-2026-121529
FortinetForticlientmacπŸ˜„πŸ‘Ύ9.1CRITICAL
View more Fortinet vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.