CVE-2026-42560
Published:May 09, 2026
Updated:May 16, 2026
auth provides authentication via oauth2, direct and email. From versions 1.18.0 to before 1.25.2 and 2.0.0 to before 2.1.2, the Patreon OAuth provider maps every authenticated Patreon account to the same local user.ID, instead of deriving a unique ID from the Patreon account returned by Patreon. In practice, this means all Patreon-authenticated users of an application using this library are collapsed into a single local identity. Any application that trusts token.User.ID as the stable account key can end up mixing or fully merging unrelated Patreon users, which can lead to cross-account access, privilege confusion, and subscription-state leakage. This issue has been patched in versions 1.25.2 and 2.1.2.
Affected Packages
https://github.com/go-pkgz/auth.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.25.2Fix Suggestion:
Update to version v1.25.2https://github.com/go-pkgz/auth.git (GITHUB):
Affected version(s) >=v2.1.0 <v2.1.2Fix Suggestion:
Update to version v2.1.2github.com/go-pkgz/auth/v2 (GO):
Affected version(s) >=v2.0.0 <v2.1.2Fix Suggestion:
Update to version v2.1.2github.com/go-pkgz/auth (GO):
Affected version(s) >=v1.18.0 <v1.25.2Fix Suggestion:
Update to version v1.25.2github.com/go-pkgz/auth/v2 (GO):
Affected version(s) >=v2.0.0 <v2.1.2Fix Suggestion:
Update to version v2.1.2github.com/go-pkgz/auth (GO):
Affected version(s) >=v1.18.0 <v1.25.2Fix Suggestion:
Update to version v1.25.2Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Authentication
EPSS
Base Score:
0.08