CVE-2026-42560
CRITICAL 9.1CVSS 3.1auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation
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.
- Published
- 9 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-287
- Also known as
- GHSA-f6qq-3m3h-4g42GO-2026-5348
- Sources
- NVDJSONOSV GHSA-f6qq-3m3h-4g42JSONOSV GO-2026-5348JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/go-pkgz/auth | >= 1.18.0, < 1.25.2 | 1.25.2 |
| OSV | Go | github.com/go-pkgz/auth/v2 | >= 2.0.0, < 2.1.2 | 2.1.2 |
References
- https://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698 · WEB, FIX
- https://github.com/go-pkgz/auth/releases/tag/v1.25.2 · WEB
- https://github.com/go-pkgz/auth/releases/tag/v2.1.2 · WEB
- https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42560 · ADVISORY
- https://github.com/go-pkgz/auth · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Apr 2026)