Packagist
CVE-2026-125167
Authentication Bypass in extension "OAuth2 authentication and authorization" (oauth2)
- Severity
- High 7.7
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 4.4.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 1 Dec 2026
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
mfc/oauth2Packagist · osv:Packagist:mfc/oauth2 |
|
About mfc/oauth2
- Monthly downloads (Packagist)
- 9,455Packagist, 1 Dec 2026
- Total downloads (Packagist)
- 351,241Packagist, 1 Dec 2026
Vulnerabilities in mfc/oauth2
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-125168Privilege Escalation in extension "OAuth2 authentication and authorization" (oauth2)High 7.7 1 Dec 2026
- CVE-2026-125169Broken Access Control in extension "OAuth2 authentication and authorization" (oauth2)High 7.7 1 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-125167