Poweradmin: OIDC `sub` collation bypass in Poweradmin leading to account takeover
High severity. Published 24 July 2026. Update poweradmin/poweradmin to the fixed version of your branch (4.2.5, 4.3.4): composer update poweradmin/poweradmin.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| poweradmin/poweradmin (opens in a new tab) | >= 4.1.0, < 4.2.5 | >= 4.3.0, < 4.3.4 | 4.2.5, 4.3.4 |
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 auditAdvisory details
| Severity | HighCVSS 8.1 |
|---|---|
| Published | |
| Updated | |
| GHSA | GHSA-cmwh-g2h8-c222 (opens in a new tab) |
| Weakness | CWE-287 |
What the advisory says
Preface
Poweradmin maps OIDC identities into local users through oidcuserlinks.oidcsubject plus providerid. In the MySQL schema, the OIDC link table explicitly uses utf8mb4unicodeci, which is case-insensitive and accent-insensitive. OIDC sub is a stable external subject identifier and should be matched byte-for-byte within the issuer/provider scope.
The confirmed local PoC used two different OIDC users:
- Victim subject: victim-login - Attacker subject: victím-login (í, U+00ED)
MySQL reported those two subjects as equal under utf8mb4unicodeci.
Source: GHSA-cmwh-g2h8-c222 (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
- 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, 20 November 2026)
- Poweradmin has Host Header Injection in OIDC redirect_uri, SAML ACS/SLO URL, and Logout Redirect Construction. (critical, 28 July 2026)
- Poweradmin: Broken access control (IDOR): any zone owner can modify DNS records in zones they do not own (high, 24 July 2026)
- Poweradmin: API user-update endpoint leads to a non-admin reset any user's password and take over the superuser account (high, 24 July 2026)