BuzzPHP
LightDarkSystem

Poweradmin: The email second factor is an mt_rand() six-digit code verified with no attempt limit or lockout, so an attacker holding the password can brute-force it within the validity window

High severity. Published 20 November 2026. Update poweradmin/poweradmin to the fixed version of your branch (4.2.6, 4.3.5, 4.4.1): composer update poweradmin/poweradmin.

Which versions are affected?

PackageAffected versionsFixed in
poweradmin/poweradmin (opens in a new tab)>= 4.0.0, < 4.2.6 | >= 4.3.0, < 4.3.5 | >= 4.4.0, < 4.4.14.2.6, 4.3.5, 4.4.1

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show poweradmin/poweradmin
composer audit

Advisory details

SeverityHighCVSS 7.4
Published
Updated
CVECVE-2026-115463 (opens in a new tab)
GHSAGHSA-9657-8vc2-7g2p (opens in a new tab)
WeaknessCWE-307, CWE-338

What the advisory says

Summary

The email second factor is an mtrand() six-digit code verified with no attempt limit or lockout

The email second factor is a six-digit code drawn from mtrand() and verified with no attempt limit, so an attacker who already has the password can brute-force it inside its validity window.

lib/Domain/Service/MfaService.php, in generateEmailVerificationCode():

That is a 900,000-value space, and mtrand() is a Mersenne Twister rather than a CSPRNG, so it is not appropriate for a security token in the first place. PHP provides randomint() for exactly this.

The bigger problem is that nothing limits guesses. lib/Application/Controller/MfaVerifyController.php calls:

Source: GHSA-9657-8vc2-7g2p (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories