Command injection in FortiAP-W2 and FortiAP - CVE-2025-53870

 

Command injection in FortiAP-W2 and FortiAP - CVE-2025-53870

Published: May 12, 2026


Vulnerability identifier: #VU131201
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-53870
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local privileged user to execute unauthorized code or commands.

The vulnerability exists due to command injection in the CLI when processing a specifically crafted cli command. A local privileged user can send a specifically crafted cli command to execute unauthorized code or commands.


Affected software

FortiAP-W2
FortiAP

How to mitigate CVE-2025-53870

Install security update from vendor's website.

FortiAP-W2 - addressed in versions 7.2.6, 7.4.5
FortiAP - addressed in versions 7.4.6, 7.6.3

External References

Related Security Bulletins