CVE-2025-31365: fortinet forticlient Improper Control of Generation of Code
Vulnerability summary
CVE-2025-31365 is a high (CVSS 7.1) Improper Control of Generation of Code vulnerability in fortinet forticlient. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.6% of scored vulnerabilities.
Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 14-10-2025PublishedVulnerability first disclosed.
- 03-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA5.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L/E:P/RL:X/RC:CDiffers
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 0.27% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Fortinet2 products
- forticlient≥ 7.2.1, < 7.2.9 | ≥ 7.4.0, < 7.4.4
- forticlientmac≥ 7.4.0, ≤ 7.4.3 | ≥ 7.2.1, ≤ 7.2.8
1 vendor · 2 products
References
1 links- fortiguard.fortinet.com/psirt/FG-IR-25-037Vendor Advisory