All vulnerabilities

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
Weakness
Authentication bypass by spoofing (CWE-290)
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.

From the CVE Program.

Affected software

SoftwareAffected versions
mfc/oauth2Packagist · osv:Packagist:mfc/oauth2
  • Every version before 4.4.1

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
Search the list for mfc/oauth2

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-125167