CVE-2025-31365

Medium

Description

An Improper Control of Generation of Code ('Code Injection') vulnerability [CWE-94] in FortiClientMac 7.4.0 through 7.4.3, 7.2.1 through 7.2.8 may allow an unauthenticated attacker to execute arbitrary code on the victim's host via tricking the user into visiting a malicious website.

SeverityMedium
CVSS5.8
Exploit probability—
ProductFortinet Forticlient
PublishedOct 14, 2025
First seenOct 14, 2025

How to fix

Update
  • fortinet forticlient7.2.9, 7.4.4 or later

Affected products

ProductAffected versionsFixed in
fortinet forticlient7.2.1 ≤ v < 7.2.9, 7.4.0 ≤ v < 7.4.47.2.9, 7.4.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.