# Poweradmin: OIDC `sub` collation bypass in Poweradmin leading to account takeover

High severity, published 2026-07-24. Update poweradmin/poweradmin to the fixed version of your branch (4.2.5, 4.3.4): composer update poweradmin/poweradmin.

Canonical URL: https://buzzphp.com/security/ghsa-cmwh-g2h8-c222 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-07-24 |
| Updated | 2026-07-24 |
| GHSA | [GHSA-cmwh-g2h8-c222](https://github.com/advisories/GHSA-cmwh-g2h8-c222) |
| Weakness | CWE-287 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| poweradmin/poweradmin | >= 4.1.0, < 4.2.5 or >= 4.3.0, < 4.3.4 | 4.2.5, 4.3.4 |

## What to do

Update poweradmin/poweradmin to the fixed version of your branch (4.2.5, 4.3.4): composer update poweradmin/poweradmin.

Check which version you run with `composer show poweradmin/poweradmin`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-cmwh-g2h8-c222 on GitHub](https://github.com/advisories/GHSA-cmwh-g2h8-c222)
- [All Composer security advisories](https://buzzphp.com/security)
