CVE-2024-54018 Command injection in FortiSandbox

Medium 6.5 Published Updated

A privileged attacker can execute unauthorized commands on FortiSandbox via crafted requests due to improper neutralization of OS command elements.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-54018?

CVE-2024-54018 is a medium-severity command injection vulnerability in Fortinet Fortisandbox, published on 11 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Multiple improper neutralization of special elements used in an OS Command vulnerabilities [CWE-78] in FortiSandbox before 4.4.5 allows a privileged attacker to execute unauthorized commands via crafted requests.

Weakness: CWE-78

Which versions are affected by CVE-2024-54018?

It affects 1 product.

Products include Fortinet Fortisandbox.

How do I fix CVE-2024-54018?

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

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

All Fortinet Fortisandbox vulnerabilities

Sources

Also known as GHSA-j2cq-g9qm-4pcv.

Is CVE-2024-54018 in your software?

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

Check your SBOMs for free