Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Medium

OS Command Injection in Fortinet FortiAP / FortiAP-W2 CLI

IdentifiersCVE-2025-53870CWE-78· Improper Neutralization of Special…

CVE-2025-53870 is an OS command injection vulnerability in the FortiAP CLI affecting Fortinet FortiAP 7.6.0 through 7.6.2, 7.4.0 through 7.4.5, all versions of 7.2, 7.0, and 6.4, as well as FortiAP-W2 7.4.0 through 7.4.4 and all versions of 7.2 and 7.0. The flaw is caused by improper neutralization of special elements used in OS commands in CLI processing. An authenticated attacker can supply a specifically crafted CLI command to inject and execute unintended OS-level commands on the access point device.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows unauthorized execution of OS-level commands on the affected FortiAP or FortiAP-W2 hardware. This can enable privilege escalation beyond intended CLI restrictions, compromise of the device, alteration of configuration or system state, and use of the access point as a foothold within the local network.

Mitigation

If you can’t patch tonight, do this now.

Restrict CLI access to trusted administrators only, limit management-plane exposure to dedicated internal management networks, enforce strong authentication for administrative access, and monitor for anomalous or unexpected CLI activity on FortiAP devices. Because exploitation requires authenticated internal access, reducing the number of users and systems with CLI reach materially lowers exposure until patches are applied.

Remediation

Patch, then assume compromise.

Upgrade affected FortiAP and FortiAP-W2 devices to vendor-fixed releases referenced in Fortinet advisory FG-IR-26-133. The provided content identifies the affected ranges but does not enumerate the exact fixed versions beyond those ranges; Fortinet PSIRT guidance should be used as the authoritative source for target upgrade versions.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FortinetFortiapapplication
FortinetFortiap-W2application

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.