CVE-2026-125167: Authentication Bypass in extension "OAuth2 authentication and authorization" (oauth2)
The extension links an existing backend user to an OAuth account when the username or e-mail address reported by the identity provider matches. An empty e-mail address matched every backend user without one. The login check also did not verify that the backend user is linked to the OAuth account that is signing in. An attacker with an account at the identity provider can therefore log in as an existing backend user, including an administrator. Exploitation requires an identity provider that lets users choose or change their username or e-mail address without verification, or that reports an empty e-mail address.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
The attacker needs an account at the configured identity provider. Exploitation also requires that the identity provider permits users to choose or change their username or e-mail address without verification, or that it reports an empty e-mail address.
Can this lead to administrator account compromise?
Yes. An attacker can log in as an existing backend user, including an administrator, when the reported identity data matches under the affected logic.
Which existing backend accounts are particularly exposed?
Backend users without an e-mail address are especially exposed because an empty e-mail address from the identity provider matched every backend user without one. Usernames and e-mail addresses that an identity-provider user can select or change without verification can also be used for account matching.
Is a pre-existing OAuth link to the targeted backend account required?
No. The login check did not verify that the backend user was linked to the OAuth account currently signing in.