CVE-2026-115463: Poweradmin Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-9657-8vc2-7g2p
CVSS 7.4
CWE-307 CWE-338
Published
Advisory Summary

CVE-2026-115463 is a HIGH (CVSS 7.4) remote code execution vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Poweradmin libraries in the Packagist ecosystem. The issue involves 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. Remediation is available by upgrading affected packages to version 4.2.6, 4.3.5, 4.4.1.

CVE-2026-115463 at a Glance

CVE Identifier CVE-2026-115463
GHSA Identifier GHSA-9657-8vc2-7g2p
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Poweradmin
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-115463

To remediate this vulnerability, upgrade all affected Poweradmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

poweradmin/poweradmin fixed: 4.2.6
Upgrade poweradmin/poweradmin to 4.2.6
poweradmin/poweradmin fixed: 4.3.5
Upgrade poweradmin/poweradmin to 4.3.5
poweradmin/poweradmin fixed: 4.4.1
Upgrade poweradmin/poweradmin to 4.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for poweradmin/poweradmin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-115463, inspect your project dependencies for Poweradmin:

inspect dependencies for poweradmin/poweradmin

Analyze the terminal output to locate any version of Poweradmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Poweradmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary 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()`: ```php $numericCode = mt_rand(100000, 999999); ``` 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: ```php $isValid = $this->mfaService->verifyCode($userId, $code); ``` and on failure the only action taken is: ```php $this->logger->warning('[MfaVerifyController] Verification failed for user ID: {user_id}', ['user_id' => $userId]); ``` 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. Against 900,000 values with no ceiling on attempts, the only thing standing in the way is the code's validity window and however fast requests can be issued. That defeats the purpose of the second factor: it is meant to hold even when the password is known, and here it reduces to a race the attacker is likely to win with sustained requests. Two separate fixes, and I would treat the second as the urgent one: 1. Generate the code with `random_int(100000, 999999)` so it is not predictable from RNG state. 2. Enforce a failed-attempt counter tied to the user and the pending MFA session, invalidating the code and requiring a fresh one after a small number of wrong guesses, plus a per-account and per-IP rate limit on the verify endpoint. Scope: source-verified at `master`. I confirmed the generator, the verify call site, the log-only failure handling and the absence of any throttling construct in that controller. I did not stand up a Poweradmin instance and run a brute-force against a live code, so the rate at which the space can be covered in practice is not something I measured. If throttling is applied at a layer I did not look at, such as a web-server or reverse-proxy rule shipped with your deployment docs, then the second half of this weakens considerably and I would want to know that. I used AI assistance while reading the code and preparing this report. --- Confirmed, and thanks for the detail. I've widened the affected range: this reaches back to 4.0.0, where MFA was first added, and 4.4.0 still ships it, so the original <= 4.3.4 was too narrow. The 3.x line has no MFA at all and is unaffected. Fixes are in for 4.2.x, 4.3.x, 4.4.x and the development branch. To answer your question about other layers, there is nothing. No middleware runs in front of that controller, so what you found missing in the controller is the whole picture. I've adjusted the score down from 9.1 to 7.4. Walking 900,000 values inside the code's ten minute life needs sustained request rates, and MFA is off by default, so there are real preconditions beyond knowing the password. It is still a second factor that does not hold, which is the point of the report. The mt_rand swap is in as well, though I would treat that as hardening rather than the bug. Recovering the generator state from these codes is not practical in this setup. The missing attempt limit was the actual problem.

CVE-2026-115463 Affected Poweradmin Versions

3 component(s)
Fixed Versions:
4.2.64.3.54.4.1
Product / Package Ecosystem Affected Versions Fixed Version
poweradmin/poweradmin
Packagist
≥ 4.0.0
< 4.2.6
4.2.6
poweradmin/poweradmin
Packagist
≥ 4.3.0
< 4.3.5
4.3.5
poweradmin/poweradmin
Packagist
≥ 4.4.0
< 4.4.1
4.4.1

References

Frequently Asked Questions

What is CVE-2026-115463?
CVE-2026-115463 is a security vulnerability in Poweradmin involving 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 under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Poweradmin versions are affected?
Affected versions include releases prior to 4.2.6, 4.3.5, 4.4.1 across affected packages: poweradmin/poweradmin.
What version fixes CVE-2026-115463?
Upgrading to 4.2.6, 4.3.5, 4.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is poweradmin/poweradmin affected?
Yes, poweradmin/poweradmin is affected in releases prior to 4.2.6, 4.3.5, 4.4.1. Upgrade your dependency to 4.2.6, 4.3.5, 4.4.1 or later.
What is the CVSS score of CVE-2026-115463?
CVE-2026-115463 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-115463?
CVE-2026-115463 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check Packagist dependencies for CVE-2026-115463?
Run the dependency tree command: 'inspect dependencies for poweradmin/poweradmin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9657-8vc2-7g2p",
  "modified" : "2026-11-20T14:52:33Z",
  "published" : "2026-11-20T14:52:33Z",
  "aliases" : [ "CVE-2026-115463" ],
  "summary" : "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",
  "details" : "### Summary\n\nThe email second factor is an mt_rand() six-digit code verified with no attempt limit or lockout\n\nThe 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.\n\n`lib/Domain/Service/MfaService.php`, in `generateEmailVerificationCode()`:\n\n```php\n$numericCode = mt_rand(100000, 999999);\n```\n\nThat 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.\n\nThe bigger problem is that nothing limits guesses. `lib/Application/Controller/MfaVerifyController.php` calls:\n\n```php\n$isValid = $this->mfaService->verifyCode($userId, $code);\n```\n\nand on failure the only action taken is:\n\n```php\n$this->logger->warning('[MfaVerifyController] Verification failed for user ID: {user_id}', ['user_id' => $userId]);\n```\n\nI 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. Against 900,000 values with no ceiling on attempts, the only thing standing in the way is the code's validity window and however fast requests can be issued.\n\nThat defeats the purpose of the second factor: it is meant to hold even when the password is known, and here it reduces to a race the attacker is likely to win with sustained requests.\n\nTwo separate fixes, and I would treat the second as the urgent one:\n\n1. Generate the code with `random_int(100000, 999999)` so it is not predictable from RNG state.\n2. Enforce a failed-attempt counter tied to the user and the pending MFA session, invalidating the code and requiring a fresh one after a small number of wrong guesses, plus a per-account and per-IP rate limit on the verify endpoint.\n\nScope: source-verified at `master`. I confirmed the generator, the verify call site, the log-only failure handling and the absence of any throttling construct in that controller. I did not stand up a Poweradmin instance and run a brute-force against a live code, so the rate at which the space can be covered in practice is not something I measured. If throttling is applied at a layer I did not look at, such as a web-server or reverse-proxy rule shipped with your deployment docs, then the second half of this weakens considerably and I would want to know that.\n\nI used AI assistance while reading the code and preparing this report.\n\n---\n\nConfirmed, and thanks for the detail. I've widened the affected range: this reaches back to 4.0.0, where MFA was first added, and 4.4.0 still ships it, so the original <= 4.3.4 was too narrow. The 3.x line has no MFA at all and is unaffected. Fixes are in for 4.2.x, 4.3.x, 4.4.x and the development branch.\n\nTo answer your question about other layers, there is nothing. No middleware runs in front of that controller, so what you found missing in the controller is the whole picture.\n\nI've adjusted the score down from 9.1 to 7.4. Walking 900,000 values inside the code's ten minute life needs sustained request rates, and MFA is off by default, so there are real preconditions beyond knowing the password. It is still a second factor that does not hold, which is the point of the report.\n\nThe mt_rand swap is in as well, though I would treat that as hardening rather than the bug. Recovering the generator state from these codes is not practical in this setup. The missing attempt limit was the actual problem.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "poweradmin/poweradmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "poweradmin/poweradmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.3.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "poweradmin/poweradmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/security/advisories/GHSA-9657-8vc2-7g2p"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-115463"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/commit/021e5fea029cf8787247517cde752f9a6af1647c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/commit/541e31fec32f0eae0d93a13de125a06ee19ecd92"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/commit/ce3ccace7e80f1c1424f1bb1d9ce63a33ee90f19"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/commit/d1c1f23ee27d4607efb616e2d935158b4fc21b61"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/poweradmin/poweradmin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/releases/tag/v4.2.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/releases/tag/v4.3.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/releases/tag/v4.4.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/poweradmin/poweradmin/releases/tag/v4.5.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307", "CWE-338" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-20T14:52:33Z",
    "nvd_published_at" : "2026-11-19T20:17:19Z"
  }
}