CVE-2026-126221 Code injection in FortiAnalyzer

High 7.2 Published Updated

Authenticated administrators can inject content via GUI requests to read or write files or execute code on FortiAnalyzer and FortiManager.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126221?

CVE-2026-126221 is a high-severity code injection vulnerability in Fortinet FortiAnalyzer, published on 11 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A improper neutralization of special elements in output used by a downstream component ('injection') vulnerability in Fortinet FortiAnalyzer 8.0.0, FortiAnalyzer 7.6.0 through 7.6.7, FortiAnalyzer 7.4.0 through 7.4.11, FortiAnalyzer Cloud 8.0.0, FortiAnalyzer Cloud 7.6.0 through 7.6.7, FortiAnalyzer Cloud 7.4.1 through 7.4.11, FortiManager 8.0.0, FortiManager 7.6.0 through 7.6.7, FortiManager 7.4.0 through 7.4.11, FortiManager Cloud 8.0.0, FortiManager Cloud 7.6.0 through 7.6.7, FortiManager Cloud 7.4.1 through 7.4.11 may allow an authenticated administrator to read or write arbitrary files or execute unauthorized code or commands via specially crafted requests to the GUI.

Weakness: CWE-74

Which versions are affected by CVE-2026-126221?

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

How do I fix CVE-2026-126221?

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

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

Sources

Also known as GHSA-2fj8-mgmh-6p6v.

Is CVE-2026-126221 in your software?

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

Check your SBOMs for free