All vulnerabilities

Packagist

CVE-2026-115463

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

Severity
High 7.4
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.2.6, 4.3.5, 4.4.1
Exploit chance
0.9% in the next 30 daysHigher than 60% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
No limit on authentication attempts (CWE-307)CWE-338
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-9657-8vc2-7g2p
Sources
OSV.dev and GitHub

Description

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

The email second factor is a six-digit code drawn from mt_rand() 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 mt_rand() is a Mersenne Twister rather than a CSPRNG, so it is not appropriate for a security token in the first place. PHP provides random_int() for exactly this.

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

and on failure the only action taken is:

I grepped that controller for any counter, lockout, throttle or rate limit and found nothing beyond log statements. So an attacker holding valid credentials submits codes until one lands.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
poweradmin/poweradminPackagist · osv:Packagist:poweradmin/poweradmin
  • From 4.0.0 before 4.2.6
  • From 4.3.0 before 4.3.5
  • From 4.4.0 before 4.4.1

About poweradmin/poweradmin

Monthly downloads (Packagist)
238Packagist, 24 Nov 2026
Total downloads (Packagist)
707Packagist, 24 Nov 2026

This is the only vulnerability in poweradmin/poweradmin in our list.

References