CVE-2025-53870: An improper neutralization of special elements used in an os command ('os command injection') vulnerability in
35
Routine
MEDIUM 6.7UPGRADEUPGRADE
CVE-2025-53870 is a medium-severity flaw (CVSS 6.7) affecting fortiap, fortiap-w2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-53870?
fortiap: upgrade to 7.4.6, 7.6.3; fortiap-w2: upgrade to 7.2.6, 7.4.5. Exact commands for each OS are on this page.
Is CVE-2025-53870 being exploited?
CVE-2025-53870 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-53870 affect?
CVE-2025-53870 affects fortiap, fortiap-w2. Severity is medium (CVSS 6.7). 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.