# CVE-2025-66178: OS command injection in FortiWeb

- Vendor: Fortinet, FortiWeb
- Severity: MEDIUM (CVSS 3.1 6.7)
- Exploited (CISA KEV): not listed
- EPSS: 1.9% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-088, https://fortiguard.fortinet.com/psirt/FG-IR-26-088
- Published: 2026-03-10; updated: 2026-10-21
- Page: https://patchtonight.com/cve/CVE-2025-66178/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiWeb 8.0.0 to 8.0.2 | 8.0.3 or later |
| FortiWeb 7.6.0 to 7.6.6 | 7.6.7 or later |
| FortiWeb 7.4.0 to 7.4.11 | 7.4.12 or later |
| FortiWeb 7.2.0 to 7.2.12 | 7.2.13 or later |
| FortiWeb 7.0.0 to 7.0.12 | 7.0.13 (upcoming) or later |

## The vendor's 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.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-088)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
