# CVE-2025-47857: OS command injection in FortiWeb

- Vendor: Fortinet, FortiWeb
- Severity: MEDIUM (CVSS 3.1 6.5)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-25-253, https://fortiguard.fortinet.com/psirt/FG-IR-25-253
- Published: 2025-08-12; updated: 2025-08-12
- Page: https://patchtonight.com/cve/CVE-2025-47857/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiWeb 7.6.0 to 7.6.3 | 7.6.4 or later |
| FortiWeb 7.4.1 to 7.4.8 | 7.4.9 or later |

## The vendor's description

A improper neutralization of special elements used in an os command ('os command injection') vulnerability [CWE-78] in Fortinet FortiWeb CLI version 7.6.0 through 7.6.3 and before 7.4.8 allows a privileged attacker to execute arbitrary code or command via crafted CLI commands.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-25-253)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
