CVE-2021-26115 Command injection in FortiWAN

High 7.6 Published Updated

A local authenticated attacker can escalate privileges to root on FortiWAN devices by exploiting a command injection vulnerability in the CLI.

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

CVE-2021-26115 is a high-severity command injection vulnerability in Fortinet FortiWAN, published on 19 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An OS command injection (CWE-78) vulnerability in FortiWAN version 4.5.7 and below Command Line Interface may allow a local, authenticated and unprivileged attacker to escalate their privileges to root via executing a specially-crafted command.An OS command injection (CWE-78) vulnerability in FortiWAN Command Line Interface may allow a local, authenticated and unprivileged attacker to escalate their privileges to root via executing a specially-crafted command.

Weakness: CWE-78

Which versions are affected by CVE-2021-26115?

It affects 1 product.

Products include Fortinet Fortiwan.

How do I fix CVE-2021-26115?

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

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

Sources

Also known as GHSA-f6w7-3cg5-fhr8.

Is CVE-2021-26115 in your software?

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

Check your SBOMs for free