CVE-2026-126180 Code injection in FortiManager

High 8.4 Published Updated

A low-privileged Device Manager admin can inject template commands to gain super admin on managed FortiGates; FortiManager administrators should care.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126180?

CVE-2026-126180 is a high-severity code injection vulnerability in Fortinet FortiManager, published on 11 Nov 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A improper neutralization of special elements used in a template engine vulnerability in Fortinet FortiManager 8.0.0 through 8.0.1, FortiManager 7.6.0 through 7.6.7, FortiManager 7.4.0 through 7.4.11, FortiManager 7.2 all versions, FortiManager Cloud 8.0.0 through 8.0.1, FortiManager Cloud 7.6.0 through 7.6.7, FortiManager Cloud 7.4.1 through 7.4.11, FortiManager Cloud 7.2 all versions may allow a low privileged Device Manager admin to obtain super admin privilege on managed FortiGates via injecting malicious commands.

Weakness: CWE-1336

Which versions are affected by CVE-2026-126180?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126180?

No fix has been published for CVE-2026-126180 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-126180 being exploited?

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

Sources

Also known as GHSA-p5xc-69mw-v3hr.

Is CVE-2026-126180 in your software?

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

Check your SBOMs for free