---
id: CVE-2025-66178
title: >-
  A improper neutralization of special elements used in an os command ('os
  command injection') vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2,
  FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4.0 through 7.4.11, FortiWeb 7.2.0
  through 7.2.…
summary: >-
  A improper neutralization of special elements used in an os command ('os
  command injection') vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2,
  FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4.0 through 7.4.11, FortiWeb 7.2.0
  through 7.2.…
severity: medium
cvss: 6.7
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-78
vendor: Fortinet
product: FortiWeb
affected:
  - FortiWeb >= 8.0.0 <= 8.0.2
  - FortiWeb >= 7.6.0 <= 7.6.6
  - FortiWeb >= 7.4.0 <= 7.4.11
  - FortiWeb >= 7.2.0 <= 7.2.12
  - FortiWeb >= 7.0.0 <= 7.0.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-03-10T00:00:00+00:00'
published: '2026-03-10'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T09:25:51.351Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-66178'
references:
  - url: 'https://fortiguard.fortinet.com/psirt/FG-IR-26-088'
    label: 'https://fortiguard.fortinet.com/psirt/FG-IR-26-088'
tags:
  - cve.org
epss: 0.01697
epssPercentile: 0.76845
ingestedAt: '2026-10-21T09:46:15.390Z'
---

## Overview

A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2, FortiWeb 7.6.0 through 7.6.6, 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.

## Affected

- `FortiWeb >= 8.0.0 <= 8.0.2`
- `FortiWeb >= 7.6.0 <= 7.6.6`
- `FortiWeb >= 7.4.0 <= 7.4.11`
- `FortiWeb >= 7.2.0 <= 7.2.12`
- `FortiWeb >= 7.0.0 <= 7.0.12`

## Remediation

Upgrade to FortiWeb version 8.0.3 or above
Upgrade to FortiWeb version 7.6.7 or above
Upgrade to FortiWeb version 7.4.12 or above
Upgrade to FortiWeb version 7.2.13 or above
Upgrade to upcoming  FortiWeb version 7.0.13 or above
