CVE-2021-26091 Weak cryptography in FortiMail

Medium 6.9 Published Updated

An unauthenticated attacker can infer authentication tokens due to weak randomness, allowing them to reset user credentials and take over accounts.

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

What is CVE-2021-26091?

CVE-2021-26091 is a medium-severity vulnerability in Fortinet FortiMail, published on 24 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A use of a cryptographically weak pseudo-random number generator vulnerability in the authenticator of the Identity Based Encryption service of FortiMail 6.4.0 through 6.4.4, and 6.2.0 through 6.2.7 may allow an unauthenticated attacker to infer parts of users authentication tokens and reset their credentials.

Weakness: CWE-338

Which versions are affected by CVE-2021-26091?

It affects 1 product.

Products include Fortinet Fortimail.

How do I fix CVE-2021-26091?

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

Is CVE-2021-26091 being exploited?

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

Sources

Also known as GHSA-pmxq-4hqc-9hr4.

Is CVE-2021-26091 in your software?

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

Check your SBOMs for free