CVE-2025-47857 Command injection in FortiWeb

Medium 6.5 Published Updated

Privileged attackers can execute arbitrary commands via crafted CLI inputs in FortiWeb, requiring an upgrade to secure the system.

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-2025-47857?

CVE-2025-47857 is a medium-severity command injection vulnerability in Fortinet Fortiweb, published on 12 Aug 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') vulnerability [CWE-78] in Fortinet FortiWeb CLI version 7.6.0 through 7.6.3 and before 7.4.8 allows a privileged attacker to execute arbitrary code or command via crafted CLI commands.

Weakness: CWE-78

Which versions are affected by CVE-2025-47857?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2025-47857?

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

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

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-9wp6-c53h-c89m.

Is CVE-2025-47857 in your software?

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

Check your SBOMs for free