Fortinet has published an advisory for CVE-2025-58034, an OS command injection vulnerability in its FortiWeb web application firewall that attackers are already exploiting. It is the second exploited FortiWeb zero-day Fortinet has disclosed in less than a week, coming four days after the critical CVE-2025-64446 path traversal flaw.
What happened
On 18 November 2025 Fortinet released advisory FG-IR-25-513 as part of a batch of fixes for 17 vulnerabilities. Jason McFadyen of Trend Micro’s Trend Research team reported the bug, and Trend Micro said it had already recorded roughly 2,000 exploitation detections. CISA added the flaw to its Known Exploited Vulnerabilities (KEV) catalog the same day. It gave US federal agencies only until 25 November to remediate, which is shorter than its usual deadlines.
The disclosure added to criticism of Fortinet’s handling of the earlier bug. CVE-2025-64446 had been fixed quietly in FortiWeb 8.0.2 at the end of October, weeks before customers were told it was being exploited. According to CSO Online, Fortinet’s advisory shows the command injection bug was also addressed in that same release.
Technical details
- CVE-2025-58034: authenticated OS command injection through crafted HTTP requests or CLI commands. Vendors list it as high severity (CVSS 6.7 to 7.2 depending on source).
- CVE-2025-64446: critical path traversal that lets unauthenticated attackers run administrative commands and create admin accounts.
- Researchers consider it highly likely that the two are being used together. The authentication bypass provides the access that the command injection bug normally requires, which would amount to unauthenticated remote code execution on the appliance.
Who is affected
Affected releases include FortiWeb 8.0.0 to 8.0.1, 7.6.0 to 7.6.5 and 7.4.0 to 7.4.10, as well as older branches. Internet-exposed management interfaces are at greatest risk.
Recommendations
- Upgrade FortiWeb to the latest fixed build for your branch (8.0.2 or later on the 8.0 train), as listed in FG-IR-25-513 and the CVE-2025-64446 advisory.
- Do not expose the FortiWeb management interface to the internet. Restrict it to a dedicated management network.
- Audit for unexpected local administrator accounts and configuration changes made since early October 2025.
- If compromise is suspected, revoke active sessions, rotate credentials for any LDAP or directory service accounts the appliance uses, and review downstream systems.