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—
Product
Fortinet Forticlient
PublishedOct 14, 2025
First seenOct 14, 2025
Weakness typeCWE-94Code injection
How to fix
Update
- fortinet forticlient7.2.9, 7.4.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fortinet forticlient | 7.2.1 ≤ v < 7.2.9, 7.4.0 ≤ v < 7.4.4 | 7.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.