CVE-2025-66178: Fortinet FortiWeb command injection
This Fortinet advisory covers CVE-2025-66178 in FortiWeb.
- CVE-2025-66178
Am I affected by CVE-2025-66178?
You are affected if you run FortiWeb at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| FortiWeb 8.0: 8.0.0 through 8.0.1 | FortiWeb 8.0: 8.0.3 |
| FortiWeb 7.6: 7.6.0 through 7.6.5 | FortiWeb 7.6: 7.6.7 |
| FortiWeb 7.4: 7.4.0 through 7.4.11 | No fixed release on this branch listed by the vendor |
| FortiWeb 7.2: 7.2.0 through 7.2.12 | No fixed release on this branch listed by the vendor |
| FortiWeb 7.0: 7.0.0 through 7.0.12 | No fixed release on this branch listed by the vendor |
Also listed as fixed: FortiWeb 7.4: 7.4.12, FortiWeb 7.2: 7.2.13, FortiWeb 7.0: 7.0.13
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 6.7
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C· base score 6.7, scored by fortinetAttack vector: network. Attack complexity: low. Privileges required: high. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-78 Execute unauthorized code or commands
- EPSS
- 2.15% chance of exploitation in the next 30 days (82nd percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.1, FortiWeb 7.6.0 through 7.6.5, 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.
Text from the source record.
How to fix CVE-2025-66178
Upgrade to a fixed release named by Fortinet:
- FortiWeb 8.0: 8.0.3
- FortiWeb 7.6: 7.6.7
- FortiWeb 7.4: 7.4.12
- FortiWeb 7.2: 7.2.13
- FortiWeb 7.0: 7.0.13
Vendor guidance
- Upgrade per the Affected/Solution table: FortiWeb 8.0: 8.0.3; FortiWeb 7.6: 7.6.7; FortiWeb 7.4: 7.4.12; FortiWeb 7.2: 7.2.13; FortiWeb 7.0: 7.0.13.
CVE-2025-66178 questions
Is CVE-2025-66178 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Fortinet advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2025-66178?
You are affected if you run FortiWeb at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2025-66178?
Upgrade to a fixed release Fortinet lists for your version: FortiWeb 8.0: 8.0.3, FortiWeb 7.6: 7.6.7, FortiWeb 7.4: 7.4.12, FortiWeb 7.2: 7.2.13 and 1 more. The advisory's own guidance is above.
How likely is CVE-2025-66178 to be exploited?
FIRST's EPSS model gives it a 2.15% chance of exploitation in the next 30 days (82nd percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2025-66178?
Fortinet rates it medium, CVSS 6.7 out of 10.
More Fortinet advisories
CVE-2026-26035Aug 12, 2026FortiWeb authentication bypassCVE-2026-26035Aug 12, 2026Broken access control in the RADIUS type admin groupCVE-2026-24017Mar 10, 2026Improper Control of Interaction Frequency vulnerability [CWE-799]CVE-2026-24858Jan 27, 2026FortiOS: Authentication Bypass Using an Alternate Path or Channel vulnerability [CWE-288]CVE-2025-59718Dec 9, 2025FortiOS signature bypassCVE-2025-59719Dec 9, 2025FortiOS: improper verification of cryptographic signature vulnerability in Fortinet
Get an email when Fortinet FortiWeb publishes the next one.
See Fortinet FortiWeb's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).