cve.bz

CVE-2026-42560

9.1 criticalEPSS 0.4%

Critical (9.1). EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/go-pkgz/auth 1.25.2.

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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 35% of CVEs (scores of 2026-10-31)
CWE
CWE-287
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f6qq-3m3h-4g42Gogithub.com/go-pkgz/auth>=1.18.0 <1.25.21.25.2
GHSA-f6qq-3m3h-4g42Gogithub.com/go-pkgz/auth/v2>=2.0.0 <2.1.22.1.2
GO-2026-5348Gogithub.com/go-pkgz/auth>=1.18.0 <1.25.21.25.2
GO-2026-5348Gogithub.com/go-pkgz/auth/v2>=2.0.0 <2.1.22.1.2

References

Check your stackJSON