CVE-2025-58034: Authenticated OS Command Injection in Fortinet FortiWeb
- Vendor
- Fortinet
CVE-2025-58034 is an authenticated OS command injection vulnerability in the API and CLI of Fortinet FortiWeb. Improper neutralization of special elements in operating-system commands allows crafted HTTP requests or CLI commands to execute unauthorized code on the underlying system. Affected releases are 8.0.0–8.0.1, 7.6.0–7.6.5, 7.4.0–7.4.10, 7.2.0–7.2.11, and 7.0.0–7.0.11. Fortinet disclosed the vulnerability on November 18, 2025, and confirmed exploitation in the wild. It has also been chained with the separate authentication-bypass vulnerability CVE-2025-64446 to enable unauthenticated remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary operating-system command or code execution on an affected FortiWeb appliance, potentially leading to complete device compromise and loss of confidentiality, integrity, and availability. Chaining with CVE-2025-64446 can remove the initial authentication barrier. A specific resulting execution identity or guaranteed root privilege is not established.
Mitigation
If you can’t patch tonight, do this now.
Remove public internet access to FortiWeb management interfaces and restrict management access to trusted users and networks. Monitor for suspicious management activity and anomalous authentication, and investigate unauthorized administrative accounts. These measures reduce exposure but do not correct the flaw; no vulnerability-specific workaround replacing the firmware update is documented.
Remediation
Patch, then assume compromise.
Upgrade to a fixed release in the applicable FortiWeb branch: 8.0.2 or later, 7.6.6 or later, 7.4.11 or later, 7.2.12 or later, or 7.0.12 or later. Because exploitation has occurred in the wild, also review system and authentication logs and audit administrative accounts for evidence of compromise.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 7 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-58034 exploited in the wild?
- Yes. As of Nov 20, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 18, 2025.
- Is there a public exploit for CVE-2025-58034?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2025-58034, the earliest disclosed Nov 14, 2025.
- Is there a patch for CVE-2025-58034?
- Upgrade to a fixed release in the applicable FortiWeb branch: 8.0.2 or later, 7.6.6 or later, 7.4.11 or later, 7.2.12 or later, or 7.0.12 or later. Because exploitation has occurred in the wild, also review system and authentication logs and audit administrative accounts for evidence of compromise.
- What products are affected by CVE-2025-58034?
- Fortinet Fortiweb.
- How severe is CVE-2025-58034?
- CVE-2025-58034 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 5.7% (94th percentile) as of Nov 20, 2026.
Recent activity
124 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.