CVE-2024-26012 Command injection in FortiAP

Medium 6.3 Published Updated

A local authenticated attacker can execute unauthorized code via the CLI due to improper neutralization of special elements in OS commands.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-26012?

CVE-2024-26012 is a medium-severity command injection vulnerability in Fortinet FortiAP, published on 14 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiAP-S 6.2 all verisons, and 6.4.0 through 6.4.9, FortiAP-W2 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2, FortiAP 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2 allow a local authenticated attacker to execute unauthorized code via the CLI.

Weakness: CWE-78

Which versions are affected by CVE-2024-26012?

It affects 3 products.

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

How do I fix CVE-2024-26012?

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

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

Sources

Also known as GHSA-gpr9-gqg8-xj7v.

Is CVE-2024-26012 in your software?

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

Check your SBOMs for free