CVE-2025-53870: OS command injection in CLI

Published May 12, 2026
·
Updated

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.

Other sources

An OS command injection vulnerabtility [CWE-78] in FortiAP and FortiAP-W2 cli may allow an authenticated attacker to execute unauthorized code or commands via a specifically crafted cli command.

FortiGuard

Affected Software

12 affected componentsFixes available
Fortinet FortiAP>=6.4.0<7.4.6
Fortinet FortiAP>=7.6.0<7.6.3
Fortinet FortiAP-W2>=7.2.0<7.2.6
Fortinet FortiAP-W2>=7.4.0<7.4.5
Fortinet FortiAP>=7.6.0<=7.6.2
Fortinet FortiAP>=7.4.0<=7.4.5
Fortinet FortiAP>=7.2
Fortinet FortiAP>=7.0
Fortinet FortiAP>=6.4
Fortinet FortiAP-W2>=7.4.0<=7.4.4
Fortinet FortiAP-W2>=7.2.0<=7.2.5
Fortinet FortiAP-W2>=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FortiAP to a version that resolves this vulnerability.

    Fixed in 7.4.6
  2. Upgrade

    Upgrade FortiAP to a version that resolves this vulnerability.

    Fixed in 7.6.3
  3. Upgrade

    Upgrade FortiAP-U to a version that resolves this vulnerability.

    Fixed in 7.0.6
  4. Upgrade

    Upgrade FortiAP-W2 to a version that resolves this vulnerability.

    Fixed in 7.4.5

Event History

May 12, 2026
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·04:54 PM
Data Sourced
via MITRE·04:54 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-53870?

CVE-2025-53870 is classified as a high severity vulnerability due to the potential for OS command injection.

2

How do I fix CVE-2025-53870?

To mitigate CVE-2025-53870, upgrade Fortinet FortiAP to version 7.6.3 or later, or 7.4.6 or later for versions 7.4.0 through 7.4.5.

3

Which products are affected by CVE-2025-53870?

CVE-2025-53870 affects Fortinet FortiAP versions 7.0 and earlier, as well as FortiAP-W2 versions 7.4.0 through 7.4.5.

4

Is there a workaround for CVE-2025-53870?

There are no known workarounds for CVE-2025-53870; patching is recommended.

5

What kind of attacks can CVE-2025-53870 allow?

CVE-2025-53870 can allow attackers to execute arbitrary OS commands, leading to a range of potential exploits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203