CVE-2026-42560
Published: Sat, 09 May 2026 06:16
Summary
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 s
Details
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.
Are YOU affected by CVE-2026-42560?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether CVE-2026-42560 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
References
- https://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698
- https://github.com/go-pkgz/auth/releases/tag/v1.25.2
- https://github.com/go-pkgz/auth/releases/tag/v2.1.2
- https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42
- https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.