# CVE-2025-53870: OS command injection in FortiAP, FortiAP-W2

- Vendor: Fortinet, FortiAP, FortiAP-W2
- Severity: MEDIUM (CVSS 3.1 6.5)
- Exploited (CISA KEV): not listed
- EPSS: 0.6% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-133, https://fortiguard.fortinet.com/psirt/FG-IR-26-133
- Published: 2026-05-12; updated: 2026-07-08
- Page: https://patchtonight.com/cve/CVE-2025-53870/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiAP 7.6.0 to 7.6.2 | 7.6.3 or later |
| FortiAP 7.4.0 to 7.4.5 | 7.4.6 or later |
| FortiAP 7.2.0 to 7.2.6 | Upgrade past 7.2.6; see the advisory |
| FortiAP 7.0.0 to 7.0.7 | Upgrade past 7.0.7; see the advisory |
| FortiAP 6.4.3 to 6.4.9 | Upgrade past 6.4.9; see the advisory |
| FortiAP-W2 7.4.0 to 7.4.4 | 7.4.5 or later |
| FortiAP-W2 7.2.0 to 7.2.5 | Upgrade past 7.2.5; see the advisory |
| FortiAP-W2 7.0.0 to 7.0.8 | Upgrade past 7.0.8; see the advisory |

## The vendor's description

An improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiAP 7.6.0 through 7.6.2, FortiAP 7.4.0 through 7.4.5, FortiAP 7.2 all versions, FortiAP 7.0 all versions, FortiAP 6.4 all versions, FortiAP-W2 7.4.0 through 7.4.4, FortiAP-W2 7.2 all versions, FortiAP-W2 7.0 all versions may allow  an authenticated attacker to execute unauthorized code or commands via a specifically crafted cli command.

## Sources

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

---

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.
