Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain FortiAP admin credentials
-
DeliveryAuthenticate via management interface
-
ExploitCraft CLI command with shell metacharacters
-
ExecutionSubmit injected command
-
PersistOS parser executes payload
-
ImpactAttacker gains unauthorized code execution
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 authentication as a high-privilege (administrative) user on the Fortinet FortiAP or FortiAP-W2 device. The attacker must have direct access to the device's CLI interface via SSH, HTTPS web console, or local serial connection (local attack vector). No special FortiAP configuration or feature enablement is documented as a prerequisite; the vulnerability exists in the default CLI command processing. Exploitation is limited to authenticated users with high administrative privileges (PR:H) and does not affect unauthenticated users or users with lower privilege levels. Non-default configurations such as role-based access control (RBAC) that restrict CLI access could limit the pool of users who can exploit this, but do not eliminate the vulnerability itself. |
| Impact | This vulnerability presents moderate real-world risk constrained by strict exploitation conditions. The CVSS 6.7 score reflects the severity: local attack vector (AV:L), low complexity (AC:L), and high-impact outcomes (C:H/I:H/A:H). However, the PR:H (high privilege required) requirement significantly limits the attack surface - exploitation requires an authenticated administrator account or lateral movement to such an account. The absence of network accessibility (AV:L) further restricts remote exploitation paths; an attacker cannot directly trigger this from the network and instead must either compromise an admin account or conduct insider abuse. The scope is unchanged (S:U), indicating impact is limited to the affected system. No KEV listing, no public POC, and no EPSS score data are available, suggesting this is not currently being actively exploited at scale. Organizations with strong administrative access controls and credential hygiene face lower risk; those with weak admin account practices or shared credentials face higher risk. The real-world priority depends on deployment context: FortiAP access points in enterprise environments typically have restricted admin access, but in smaller deployments or managed service environments where credentials are shared, risk increases. |
| Exploit ScenarioDerived | A malicious insider or attacker who has compromised administrative credentials logs into the FortiAP device via SSH or HTTPS management interface. The attacker crafts a CLI command that includes shell metacharacters (such as semicolons, pipes, or backticks) to inject additional OS commands, such as executing a reverse shell, modifying system files, or disabling security features. The FortiAP parser fails to sanitize the input, passes the crafted command directly to the OS shell, and the injected commands execute with the privileges of the FortiAP daemon, allowing the attacker to gain unauthorized control of the access point. |
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 and FortiAP-W2 access points allows authenticated administrators to execute arbitrary code or commands via specially crafted CLI commands. Affected versions span FortiAP 6.4 through 7.6.2 and FortiAP-W2 7.0 through 7.4.4. The vulnerability requires high-privilege administrative access and does not require user interaction, making it exploitable by rogue administrators or accounts with compromised credentials. No public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Fortinet has released patched versions for FortiAP and FortiAP-W2; administrators must upgrade to FortiAP 7.6.3 or later for the 7.6 branch, 7.4.6 or later for the 7.4 branch, or verify latest patched versions in the 7.2 and 7.0 branches via the Fortinet advisory. Until patches can be deployed, implement the following compensating controls: restrict CLI access to FortiAP devices only to trusted network segments and disable remote CLI access if not required for operations. Enforce strong, unique administrative credentials and implement multi-factor authentication for administrative accounts if the FortiAP platform supports it. Monitor CLI command logs for unusual or suspicious commands, particularly those containing shell metacharacters or escape sequences. Limit the number of administrator accounts with full CLI privileges using the principle of least privilege - create role-based access controls that grant only necessary permissions. These controls introduce operational friction (monitoring overhead, potential latency from MFA) but substantially reduce the likelihood of unauthorized command injection exploitation. Consult the Fortinet PSIRT advisory at https://fortiguard.fortinet.com/psirt/FG-IR-26-133 for the most current patch versions and detailed upgrade procedures.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper neutralization of special elements in OS command construction (CWE-78), a classic command injection flaw where user-supplied input from CLI commands is not properly sanitized before being passed to system shell execution. The affected products are Fortinet's FortiAP series (wireless access points) and FortiAP-W2 variant, which process administrative CLI input. The flaw exists in the command parser that accepts CLI operations from authenticated users with high privilege levels (PR:H in CVSS), allowing injection of shell metacharacters or command separators to break out of intended command context and execute arbitrary OS-level operations with the privileges of the FortiAP process.
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 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.
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, FortiAP-U, and FortiAP-W2 allows authenticated privileged attackers to execute
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-209803
GHSA-rq62-f8qm-52r7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB