Skip to main navigation Skip to main content Skip to page footer

TYPO3-EXT-SA-2026-041: Multiple vulnerabilities in extension "OAuth2 authentication and authorization" (oauth2)

It has been discovered that the extension "OAuth2 authentication and authorization" (oauth2) is vulnerable to Authentication Bypass, Privilege Escalation and Broken Access Control.



Problem Description

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. (CVE-2026-125167)

The Keycloak resource server grants administrator rights to every new user, and with "overrideUser" enabled also to existing users on each login, unless the site defines a rule for administrators. Any user of the Keycloak realm who may sign in to the TYPO3 client can therefore obtain a backend administrator account. (CVE-2026-125168)

Disabled resource servers are only hidden from the login screen. Logins started directly with the request parameter "resource-server-identifier" are still accepted, including the automatic creation of backend users. An attacker with an account at a disabled identity provider can therefore still log in to the backend. (CVE-2026-125169)

Solution

Update to version 4.4.1 of the extension that fixes the problem described:

https://extensions.typo3.org/extension/download/oauth2/4.4.1/zip

Users of the extension are advised to update the extension as soon as possible.
 

Manual actions required: The update changes the behaviour of the extension. Users must read the release notes of the fixed version for breaking changes before updating.

Credits

Thanks to Christian Kuhn and Ief Falot for reporting CVE-2026-125167, to Ief Falot for reporting CVE-2026-125168 and CVE-2026-125169, and to Christian Spoo for providing an updated version of the extension.

General Advice

Follow the recommendations that are given in the TYPO3 Security Guide.