# CVE-2025-31104: OS command injection in FortiADC

- Vendor: Fortinet, FortiADC
- Severity: HIGH (CVSS 3.1 7)
- Exploited (CISA KEV): not listed
- EPSS: 1.1% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-25-099, https://fortiguard.fortinet.com/psirt/FG-IR-25-099
- Published: 2025-06-10; updated: 2026-08-31
- Page: https://patchtonight.com/cve/CVE-2025-31104/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiADC 7.6.0 to 7.6.1 | 7.6.2 or later |
| FortiADC 7.4.0 to 7.4.6 | 7.4.7 or later |
| FortiADC 7.2.0 to 7.2.7 | 7.2.8 or later |
| FortiADC 7.1.0 to 7.1.4 | 7.1.5 or later |
| FortiADC 7.0.0 to 7.0.6 | Upgrade past 7.0.6; see the advisory |
| FortiADC 6.2.0 to 6.2.6 | Upgrade past 6.2.6; see the advisory |
| FortiADC 6.1.0 to 6.1.6 | Upgrade past 6.1.6; see the advisory |
| FortiADC 6.0.0 to 6.0.4 | Upgrade past 6.0.4; see the advisory |
| FortiADC 5.4.0 to 5.4.5 | Upgrade past 5.4.5; see the advisory |
| FortiADC 5.3.0 to 5.3.7 | Upgrade past 5.3.7; see the advisory |
| FortiADC 5.2.0 to 5.2.8 | Upgrade past 5.2.8; see the advisory |
| FortiADC 5.1.0 to 5.1.7 | Upgrade past 5.1.7; see the advisory |
| FortiADC 5.0.0 to 5.0.4 | Upgrade past 5.0.4; see the advisory |
| FortiADC 4.8.3 to 4.8.8 | Upgrade past 4.8.8; see the advisory |
| FortiADC 4.8.0 to 4.8.1 | Upgrade past 4.8.1; see the advisory |
| FortiADC 4.7.0 to 4.7.3 | Upgrade past 4.7.3; see the advisory |
| FortiADC 4.6.0 to 4.6.2 | Upgrade past 4.6.2; see the advisory |
| FortiADC 4.5.0 to 4.5.4 | Upgrade past 4.5.4; see the advisory |
| FortiADC 4.4.0 to 4.4.1 | Upgrade past 4.4.1; see the advisory |
| FortiADC 4.3.0 to 4.3.2 | Upgrade past 4.3.2; see the advisory |
| FortiADC 4.2.0 to 4.2.3 | Upgrade past 4.2.3; see the advisory |
| FortiADC 4.1.0 to 4.1.1 | Upgrade past 4.1.1; see the advisory |
| FortiADC 4.0.0 to 4.0.2 | Upgrade past 4.0.2; see the advisory |
| FortiADC 3.2.0 to 3.2.2 | Upgrade past 3.2.2; see the advisory |
| FortiADC 3.1 | See the advisory |
| FortiADC 3.0 | See the advisory |

## The vendor's description

A improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiADC 7.6.0 through 7.6.1, FortiADC 7.4.0 through 7.4.6, FortiADC 7.2.0 through 7.2.7, FortiADC 7.1.0 through 7.1.4, FortiADC 7.0 all versions, FortiADC 6.2 all versions, FortiADC 6.1 all versions, FortiADC 6.0 all versions, FortiADC 5.4 all versions, FortiADC 5.3 all versions, FortiADC 5.2 all versions, FortiADC 5.1 all versions, FortiADC 5.0 all versions, FortiADC 4.8 all versions, FortiADC 4.7 all versions, FortiADC 4.6 all versions, FortiADC 4.5 all versions, FortiADC 4.4 all versions, FortiADC 4.3 all versions, FortiADC 4.2 all versions, FortiADC 4.1 all versions, FortiADC 4.0 all versions, FortiADC 3.2 all versions, FortiADC 3.1 all versions, FortiADC 3.0 all versions may allow attacker to execute unauthorized code or commands via <insert attack vector here>

## Sources

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

---

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.
