Skip to content
Server Security Center
KEVmedium6.7

CVE-2025-58034: Fortinet FortiWeb OS Command Injection

Fortinet FortiWeb · listed in the CISA catalog of actively exploited vulnerabilities since 2025-11-18.

CVSS v3.1 (CVE record)
6.7
medium
EPSS (exploit probability, 30 days)
55%
higher than 99% of all CVEs
Added to CISA KEV
2025-11-18
US federal due date 2025-11-25
Automatable (CISA SSVC)
no
technical impact: total

CVE-2025-58034 explained

CVE-2025-58034 is an OS command injection vulnerability (CWE-78) in Fortinet FortiWeb. An authenticated attacker can run unauthorized code on the underlying system through crafted HTTP requests or CLI commands. CISA lists it as known to be exploited, so affected FortiWeb devices should be updated promptly.

Impact

An attacker who already has high-privileged access can execute code on the underlying system over the network, with no user interaction needed. Confidentiality, integrity and availability impacts are all high. CISA rates the technical impact as total, meaning full control of the affected device. CISA does not consider it automatable, so each attack needs manual steps. Attackers are known to exploit it. Ransomware use is listed as unknown.

Who is affected

The CVE record lists Fortinet FortiWeb ≥ 7.0.2, ≤ 7.0.11, ≥ 7.2.0, ≤ 7.2.11, ≥ 7.4.0, ≤ 7.4.8 and ≥ 7.6.0, ≤ 7.6.4 as affected. The description names a wider set: 8.0.0 through 8.0.1, 7.6.0 through 7.6.5, 7.4.0 through 7.4.10, 7.2.0 through 7.2.11 and 7.0.0 through 7.0.11. Fixed versions are 7.0.12, 7.2.12, 7.4.11, 7.6.6 and 8.0.2.

Written with AI from the data on this page and checked against it automatically.

Official description

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.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Fortinet FortiWeb
    Affected
    • ≥ 7.0.2, ≤ 7.0.11
    • ≥ 7.2.0, ≤ 7.2.11
    • ≥ 7.4.0, ≤ 7.4.8
    • ≥ 7.6.0, ≤ 7.6.4
    Fixed in
    • 7.0.12
    • 7.2.12
    • 7.4.11
    • 7.6.6
    • 8.0.2

    Fixed versions taken from the CNA solution text.

How to fix it

  • Update to a fixed version: 7.0.12, 7.2.12, 7.4.11, 7.6.6, 8.0.2.
  • Vendor advisory: fortiguard.fortinet.com/psirt/FG-IR-25-513
  • CISA's deadline for US federal agencies: 2025-11-25 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Upgrade FortiWeb to a fixed version: 7.0.12, 7.2.12, 7.4.11, 7.6.6 or 8.0.2, matching your release line.
  2. Follow the Fortinet advisory and apply any mitigations it describes if you cannot upgrade immediately.
  3. Keep the FortiWeb management interface and CLI off the internet. Allow access only from trusted administrative networks.
  4. Review administrator accounts, remove unneeded ones and rotate credentials for privileged users.
  5. Check devices for signs of compromise, such as unexpected administrative activity or unknown commands in logs.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-78 Execute unauthorized code or commands

Questions about CVE-2025-58034

Can this be exploited without logging in?
No. The facts state the attacker must be authenticated, and the CVSS vector requires high privileges. Because CISA lists it as known to be exploited, protecting and reviewing administrative access is still important.
Which version should I install?
Install the fixed version for your release line: 7.0.12, 7.2.12, 7.4.11, 7.6.6 or 8.0.2. Check the Fortinet advisory for details.
Is there a deadline for US federal agencies?
Yes. CISA added CVE-2025-58034 to its Known Exploited Vulnerabilities catalog on 2025-11-18 with a due date of 2025-11-25. Agencies must apply vendor mitigations or stop using the product if mitigations are unavailable.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.