Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-42560 EUVD-2026-28904GHSA-f6qq-3m3h-4g42GO-2026-5348

auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation

Published May 9, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
go-pkgz auth >= 1.18.0, < 1.25.2, >= 2.0.0, < 2.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/go-pkgz/auth >= 1.18.0, < 1.25.2 1.25.2 GHSA-f6qq-3m3h-4g42
Go github.com/go-pkgz/auth/v2 >= 2.0.0, < 2.1.2 2.1.2 GHSA-f6qq-3m3h-4g42

Advisories 1

References