Poweradmin: OIDC `sub` collation bypass in Poweradmin leading to account takeover
Poweradmin contains a vulnerability in its handling of OpenID Connect (OIDC) subject identifiers due to the use of a case- and accent-insensitive collation (utf8mb4_unicode_ci) in the MySQL database schema. This causes distinct OIDC subjects that differ only by accents to be treated as identical, allowing an attacker controlling an OIDC account with an accent-variant subject to impersonate a victim's local account. The attacker authenticates with their own OIDC credentials but gains access to the victim's Poweradmin session without knowing the victim's password.
AI Analysis
Technical Summary
Poweradmin maps OIDC identities to local users using the oidc_user_links table, which stores the OIDC subject identifier (sub) with a utf8mb4_unicode_ci collation in MySQL. This collation is accent- and case-insensitive, causing different subjects such as 'victim-login' and 'victím-login' to be treated as equal. During authentication, Poweradmin performs a SQL equality lookup on the OIDC subject, which returns the victim's user ID when the attacker authenticates with the accent-variant subject. Consequently, the attacker obtains a session authenticated as the victim without needing the victim's password. The vulnerability affects Poweradmin versions >=4.1.0 <4.2.5 and >=4.3.0 <4.3.4. No official patch or remediation is indicated in the provided data.
Potential Impact
An attacker who can create or control an OIDC account with a subject identifier that collides under the utf8mb4_unicode_ci collation with a victim's subject can authenticate to Poweradmin as the victim. This results in account takeover without requiring the victim's credentials. The attacker gains full access to the victim's Poweradmin session, potentially compromising sensitive data and administrative capabilities. The vulnerability does not affect availability but has high confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider mitigating the risk by configuring the database to use a binary or accent-sensitive collation for the oidc_subject column or implementing application-level checks to enforce exact byte-for-byte matching of OIDC subjects. Additionally, restricting or monitoring OIDC provider registrations to prevent creation of colliding subjects may reduce risk.
Poweradmin: OIDC `sub` collation bypass in Poweradmin leading to account takeover
Description
Poweradmin contains a vulnerability in its handling of OpenID Connect (OIDC) subject identifiers due to the use of a case- and accent-insensitive collation (utf8mb4_unicode_ci) in the MySQL database schema. This causes distinct OIDC subjects that differ only by accents to be treated as identical, allowing an attacker controlling an OIDC account with an accent-variant subject to impersonate a victim's local account. The attacker authenticates with their own OIDC credentials but gains access to the victim's Poweradmin session without knowing the victim's password.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Poweradmin maps OIDC identities to local users using the oidc_user_links table, which stores the OIDC subject identifier (sub) with a utf8mb4_unicode_ci collation in MySQL. This collation is accent- and case-insensitive, causing different subjects such as 'victim-login' and 'victím-login' to be treated as equal. During authentication, Poweradmin performs a SQL equality lookup on the OIDC subject, which returns the victim's user ID when the attacker authenticates with the accent-variant subject. Consequently, the attacker obtains a session authenticated as the victim without needing the victim's password. The vulnerability affects Poweradmin versions >=4.1.0 <4.2.5 and >=4.3.0 <4.3.4. No official patch or remediation is indicated in the provided data.
Potential Impact
An attacker who can create or control an OIDC account with a subject identifier that collides under the utf8mb4_unicode_ci collation with a victim's subject can authenticate to Poweradmin as the victim. This results in account takeover without requiring the victim's credentials. The attacker gains full access to the victim's Poweradmin session, potentially compromising sensitive data and administrative capabilities. The vulnerability does not affect availability but has high confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider mitigating the risk by configuring the database to use a binary or accent-sensitive collation for the oidc_subject column or implementing application-level checks to enforce exact byte-for-byte matching of OIDC subjects. Additionally, restricting or monitoring OIDC provider registrations to prevent creation of colliding subjects may reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cmwh-g2h8-c222
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a65421f9c2644c7f808816b
Added to database: 07/25/2026, 23:09:19 UTC
Last enriched: 07/25/2026, 23:51:03 UTC
Last updated: 07/26/2026, 06:08:03 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.