Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid admin credentials
-
DeliveryEstablish CLI session (SSH/telnet/console)
-
ExploitCraft CLI command with shell metacharacters
-
InstallSubmit malicious CLI request
-
C2Parser fails to neutralize special characters
-
ExecuteShell interprets injected commands
-
ImpactArbitrary code executes with admin privileges
-
Step 8Full system compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) valid administrative or high-privilege account credentials on the FortiAP system with CLI access permissions, (2) network or local access to the CLI interface (typically SSH, telnet, or local console), (3) the ability to craft and submit special CLI requests containing shell metacharacters or command substitution operators. The vulnerability does NOT require user interaction (UI:N) and is not dependent on non-default configurations - any FortiAP device with administrative CLI access exposed is vulnerable if running an unpatched version. However, real-world exploitation is constrained by the requirement for authenticated high-privilege access: neither unauthenticated remote users nor low-privilege users can trigger this vulnerability. Organizations with strong access controls (limiting CLI access to few trusted admins, enforcing SSH key-based auth, using bastion hosts) significantly reduce their attack surface. |
| Impact | The CVSS vector (AV:L/AC:L/PR:H/UI:N/S:U) indicates local-only access requiring high privileges (likely system administrator or equivalent), which significantly constrains real-world risk. The local attack vector (AV:L) and high-privilege requirement (PR:H) mean this is not remotely exploitable via network access alone - an attacker must either have local CLI access to the device or compromise an administrative account with CLI permissions. The unbounded scope impact (C:H/I:H/A:H) confirms full system compromise is possible. However, the Fortinet advisory status and lack of CISA KEV listing suggest this is not yet confirmed as actively exploited in the wild, though the authenticated privileged prerequisite makes it a credible insider threat vector. Organizations with strong CLI access controls and multi-factor authentication on administrative accounts face reduced risk. The moderate CVSS score (6.1) accurately reflects the tension between critical impact and limited attack surface. |
| Exploit ScenarioDerived | A disgruntled system administrator with CLI access connects to a FortiAP device via SSH and enters a maliciously crafted CLI command such as 'config system admin; set command-injection && /bin/malicious-payload' which injects shell metacharacters past input validation. The FortiAP system executes the injected payload with administrative privileges, granting the attacker full control of the access point including the ability to exfiltrate configuration data, modify network settings, or pivot to downstream devices. Alternatively, an attacker who has compromised a Fortinet administrative account through phishing or credential theft could exploit this vulnerability remotely via the management interface. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
OS command injection in Fortinet FortiAP, FortiAP-U, and FortiAP-W2 allows authenticated privileged attackers to execute arbitrary code via maliciously crafted CLI requests. Affected versions span FortiAP 6.4 through 7.6.2, FortiAP-U 6.2 through 7.0.5, and FortiAP-W2 7.0 through 7.4.4. The vulnerability requires high-privilege administrative access and local CLI interaction, limiting exposure to trusted insider threats or compromised management interfaces. CVSS 6.1 reflects the high impact (code execution with full system privileges) constrained by authentication and local access requirements.
RemediationAI
Fortinet has released patched versions; consult FG-IR-26-131 at https://fortiguard.fortinet.com/psirt/FG-IR-26-131 for exact fixed versions for each product line (FortiAP, FortiAP-U, FortiAP-W2). Upgrade immediately to the patched firmware version recommended for your model. As an interim compensating control, restrict CLI access to trusted administrators only and implement network segmentation to limit who can reach the management interface (SSH/telnet). Disable remote CLI access if not operationally required and enforce multi-factor authentication on all administrative accounts. Audit CLI command history and activity logs for signs of injected commands (unusual shell metacharacters or multi-statement commands). Monitor for unexpected process execution or outbound connections initiated from the FortiAP device. These controls reduce exposure but do not eliminate risk; patching is the definitive remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic OS command injection vulnerability (CWE-78) in the CLI (command-line interface) subsystem of Fortinet's wireless access point platform. The vulnerability stems from improper neutralization of special shell metacharacters (such as pipe, semicolon, backtick, or command substitution operators) when processing CLI arguments. Affected products include FortiAP (unified campus/branch APs), FortiAP-U (cloud-managed unified APs), and FortiAP-W2 (WiFi 6 APs). The injection occurs when crafted CLI requests are parsed without adequate input validation or escaping before being passed to underlying shell execution functions. This allows an authenticated privileged user to break out of the intended command context and inject arbitrary shell commands that execute with the privileges of the FortiAP system service.
Know when Fortiap gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (fortinet) · only source for this CVE.
CVSS VectorVendor: fortinet
Lifecycle Timeline
2DescriptionCVE.org
An improper neutralization of special elements used in an OS command ("OS Command Injection") vulnerability [CWE-78] 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-U 7.0.0 through 7.0.5, FortiAP-U 6.2 all versions, FortiAP-W2 7.4.0 through 7.4.4, FortiAP-W2 7.2 all versions, FortiAP-W2 7.0 all versions allows an authenticated privileged attacker to execute unauthorized code or commands via crafted CLI requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An improper neutralization of special elements [CWE-89] used in an OS command vulnerability [CWE-78] in the command line
An improper neutralization of special elements used in an OS Command vulnerability in FortiAP's console 6.4.1 through 6.
OS command injection in Fortinet FortiAP and FortiAP-W2 access points allows authenticated administrators to execute arb
An incomplete filtering of one or more instances of special elements vulnerability [CWE-792] in the command line interpr
A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiAP-S 6.2 a
EUVD-2025-209800
GHSA-82qf-px4x-x2w7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB