CVE-2021-26106 Command injection in Fortinet FortiAP-W2, FortiAP-S, FortiAP

High 7.8 Published Updated

Authenticated attackers can execute unauthorized OS commands on FortiAP devices via the kdbg CLI, requiring a software upgrade to mitigate.

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-26106?

CVE-2021-26106 is a high-severity command injection vulnerability in Fortinet FortiAP-W2, FortiAP-S, FortiAP, published on 9 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An improper neutralization of special elements used in an OS Command vulnerability in FortiAP's console 6.4.1 through 6.4.5 and 6.2.4 through 6.2.5 may allow an authenticated attacker to execute unauthorized commands by running the kdbg CLI command with specifically crafted arguments.

Weakness: CWE-78

Which versions are affected by CVE-2021-26106?

It affects 3 products.

Products include Fortinet Fortiap, Fortinet Fortiap-S, Fortinet Fortiap-W2.

How do I fix CVE-2021-26106?

No fix has been published for CVE-2021-26106 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-26106 being exploited?

There is no known exploitation of CVE-2021-26106 in the wild and no public exploit code.

Sources

Also known as GHSA-7wf6-r29p-wfx8.

Is CVE-2021-26106 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free