OS command injection in FortiWeb - CVE-2025-66178

 

OS command injection in FortiWeb - CVE-2025-66178

Published: March 10, 2026


Vulnerability identifier: #VU123720
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-66178
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Fortinet, Inc
Affected software:
FortiWeb

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to improper input validation in the API. A remote privileged user can send a specially crafted HTTP request and execute arbitrary OS commands with elevated privileges. 


How to mitigate CVE-2025-66178

Install updates from vendor's website.

Sources