CVE-2025-66178: Fortinet FortiWeb · Execute Unauthorized Code or Commands
Affects Fortinet FortiWebSource CVE Database V5
Public exploit available · CVSS 6.7 Medium · patch available : patch Fortinet FortiWeb as a priority.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 1.7% chance of exploitation in 30 days – higher than 77% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 10 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FortinetFortiWeb | Affected
| Fixed in– |
CPE configurations (48)
cpe:2.3:a:fortinet:fortiweb:8.0.2:*:*:*:*:*:*:*cpe:2.3:a:fortinet:fortiweb:8.0.1:*:*:*:*:*:*:*cpe:2.3:a:fortinet:fortiweb:8.0.0:*:*:*:*:*:*:*cpe:2.3:a:fortinet:fortiweb:7.6.6:*:*:*:*:*:*:*cpe:2.3:a:fortinet:fortiweb:7.6.5:*:*:*:*:*:*:*cpe:2.3:a:fortinet:fortiweb:7.6.4:*:*:*:*:*:*:*
AI-suggested
1. 2. Restrict administrative and management interface access to trusted networks and IP addresses using network segmentation and firewall rules. 3. Enforce strong authentication mechanisms, including multi-factor authentication, for all FortiWeb administrative accounts to reduce the risk of credential compromise. 4. Regularly audit and monitor logs for unusual HTTP requests or command execution attempts targeting the FortiWeb device. 5. Disable or limit unnecessary services and interfaces on FortiWeb appliances to reduce the attack surface. 6. Implement strict input validation and web application firewall policies to detect and block suspicious payloads that could exploit command injection. 7. Conduct regular security assessments and penetration testing focused on FortiWeb management interfaces. 8. Educate administrators on secure configuration best practices and the importance of timely patching. 9. Consider deploying additional network intrusion detection systems to alert on anomalous activity related to FortiWeb devices. These measures collectively reduce the likelihood of exploitation and limit potential damage if an attacker gains authenticated access.
Description
A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2, FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4.0 through 7.4.11, FortiWeb 7.2.0 through 7.2.12, FortiWeb 7.0.0 through 7.0.12 may allow an authenticated attacked to execute arbitrary commands via a specialy crafted HTTP request.