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: 8.5 [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]
CVE-ID: CVE-2025-66178
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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. 


Affected software

FortiWeb

How to mitigate CVE-2025-66178

Install updates from vendor's website.

FortiWeb - addressed in versions 7.0.13, 7.2.13, 7.4.12, 7.6.7, 8.0.3

External References

Related Security Bulletins