CVE-2025-53870 Command injection in FortiAP

Medium 6.5 Published Updated

Authenticated attackers can execute unauthorized code via crafted CLI commands in Fortinet FortiAP devices.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-53870?

CVE-2025-53870 is a medium-severity command injection vulnerability in Fortinet FortiAP, published on 12 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2025-53870?

It affects 2 products.

Products include Fortinet Fortiap, Fortinet Fortiap-W2.

How do I fix CVE-2025-53870?

No fix has been published for CVE-2025-53870 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-53870 being exploited?

There is no known exploitation of CVE-2025-53870 in the wild and no public exploit code.

Sources

Also known as GHSA-rq62-f8qm-52r7.

Is CVE-2025-53870 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free