---
id: CVE-2025-53870
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: fortinet
product: fortiap
affected:
  - 'fortiap >= 6.4.0, < 7.4.6'
  - 'fortiap >= 7.6.0, < 7.6.3'
  - 'fortiap-w2 >= 7.2.0, < 7.2.6'
  - 'fortiap-w2 >= 7.4.0, < 7.4.5'
patched:
  - fortiap 7.6.3
  - fortiap-w2 7.4.5
published: '2026-05-12'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-53870'
references:
  - url: 'https://fortiguard.fortinet.com/psirt/FG-IR-26-133'
    label: psirt@fortinet.com
tags:
  - nvd
epss: 0.00561
epssPercentile: 0.45122
ingestedAt: '2026-10-14T13:30:58.497Z'
---

## Overview

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.

## Affected

- `fortiap >= 6.4.0, < 7.4.6`
- `fortiap >= 7.6.0, < 7.6.3`
- `fortiap-w2 >= 7.2.0, < 7.2.6`
- `fortiap-w2 >= 7.4.0, < 7.4.5`

## Remediation

Upgrade past the affected range:

- `fortiap 7.6.3`
- `fortiap-w2 7.4.5`
