CVE-2021-22126 Hardcoded credentials in FortiWLC

Medium 6.5 Published Updated

A local authenticated attacker can use hard-coded credentials to gain root access on managed access points in FortiWLC systems.

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-2021-22126?

CVE-2021-22126 is a medium-severity vulnerability in Fortinet FortiWLC, published on 17 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use of hard-coded password vulnerability in FortiWLC version 8.5.2 and below, version 8.4.8 and below, version 8.3.3 to 8.3.2, version 8.2.7 to 8.2.6 may allow a local, authenticated attacker to connect to the managed Access Point (Meru AP and FortiAP-U) as root using the default hard-coded username and password.

Weakness: CWE-798, CWE-284

Which versions are affected by CVE-2021-22126?

It affects 1 product.

Products include Fortinet Fortiwlc.

How do I fix CVE-2021-22126?

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

Is CVE-2021-22126 being exploited?

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

Sources

Also known as GHSA-6qvm-8hqf-vwf3.

Is CVE-2021-22126 in your software?

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

Check your SBOMs for free