CVE-2025-58034: Fortinet FortiWeb OS Command Injection Vulnerability
High severity, CVSS 7.2. Actively exploited: in CISA KEV since 2025-11-18. EPSS: 5.7% probability of exploitation activity in the next 30 days.
An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.1, FortiWeb 7.6.0 through 7.6.5, FortiWeb 7.4.0 through 7.4.10, FortiWeb 7.2.0 through 7.2.11, FortiWeb 7.0.0 through 7.0.11 may allow an authenticated attacker to execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.
What to do
CISA's required action (US federal agencies, by 2025-11-25): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Fortinet FortiWeb, from 7.0.0, before 7.0.12: fixed in 7.0.12
- Fortinet FortiWeb, from 7.2.0, before 7.2.12: fixed in 7.2.12
- Fortinet FortiWeb, from 7.4.0, before 7.4.11: fixed in 7.4.11
- Fortinet FortiWeb, from 7.6.0, before 7.6.6: fixed in 7.6.6
- Fortinet FortiWeb, from 8.0.0, before 8.0.2: fixed in 8.0.2
Affected products
- Fortinet FortiWeb: from 7.0.0, before 7.0.12 (fixed in 7.0.12); from 7.2.0, before 7.2.12 (fixed in 7.2.12); from 7.4.0, before 7.4.11 (fixed in 7.4.11); from 7.6.0, before 7.6.6 (fixed in 7.6.6); from 8.0.0, before 8.0.2 (fixed in 8.0.2)
Published 2025-11-18. Last modified 2026-10-18.