CVE-2021-26104 Command injection in Fortinet FortiManager, FortiAnalyzer, FortiPortal
Local unprivileged users can execute arbitrary shell commands as root via crafted CLI parameters in Fortinet management products.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-26104?
CVE-2021-26104 is a high-severity command injection vulnerability in Fortinet Fortianalyzer, published on 6 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Multiple OS command injection (CWE-78) vulnerabilities in the command line interface of FortiManager 6.2.7 and below, 6.4.5 and below and all versions of 6.2.x, 6.0.x and 5.6.x, FortiAnalyzer 6.2.7 and below, 6.4.5 and below and all versions of 6.2.x, 6.0.x and 5.6.x, and FortiPortal 5.2.5 and below, 5.3.5 and below and 6.0.4 and below may allow a local authenticated and unprivileged user to execute arbitrary shell commands as root via specifically crafted CLI command parameters.
Weakness: CWE-78
Which versions are affected by CVE-2021-26104?
It affects 3 products.
Products include Fortinet Fortianalyzer, Fortinet Fortimanager, Fortinet Fortiportal.
How do I fix CVE-2021-26104?
No fix has been published for CVE-2021-26104 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-26104 being exploited?
There is no known exploitation of CVE-2021-26104 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortianalyzer
- CVE-2026-24858 Fortinet Multiple Products Authentication Bypass Using an Alternate Path or Channel
- CVE-2023-25610 Memory corruption in FortiAnalyzer
- CVE-2021-32603 Server-side request forgery in Fortinet FortiAnalyzer, FortiManager
- CVE-2020-12817 Cross-site scripting in Fortinet FortiAnalyzer
- CVE-2024-48886 Auth bypass in FortiOS